Bike-X  0.8
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Device.h
Go to the documentation of this file.
1 #ifndef DEVICE_H
2 #define DEVICE_H
3 
4 #include <DeviceType.h>
5 
6 #define BUFFER_SIZE 256
7 #define PYTHON_PROGRAM "device/scripts/main.py"
8 
9 class Device
10 {
11 public:
16  static int pythonPid;
17 
21  static void init();
22 
26  static void destroy();
27 
28 protected:
29  static unsigned char buffer[BUFFER_SIZE];
30 };
31 
32 #endif
static void destroy()
Definition: Device.cpp:57
static void init()
Definition: Device.cpp:51
Definition: Device.h:9
static unsigned char buffer[BUFFER_SIZE]
Definition: Device.h:29
static int pythonPid
Definition: Device.h:16
#define BUFFER_SIZE
Definition: Device.h:6