Bike-X
0.8
Main Page
Namespaces
Data Structures
Files
File List
Globals
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
Device::destroy
static void destroy()
Definition:
Device.cpp:57
Device::init
static void init()
Definition:
Device.cpp:51
Device
Definition:
Device.h:9
Device::buffer
static unsigned char buffer[BUFFER_SIZE]
Definition:
Device.h:29
Device::pythonPid
static int pythonPid
Definition:
Device.h:16
BUFFER_SIZE
#define BUFFER_SIZE
Definition:
Device.h:6
DeviceType.h
device
Device.h
Generated on Wed Oct 1 2014 00:45:20 for Bike-X by
1.8.6