Bike-X  0.8
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Device Class Reference

#include "Device.h"

Inheritance diagram for Device:
Inheritance graph
Collaboration diagram for Device:
Collaboration graph

Static Public Member Functions

static void init ()
 
static void destroy ()
 

Static Public Attributes

static int pythonPid
 

Static Protected Attributes

static unsigned char buffer [BUFFER_SIZE]
 

Detailed Description

Definition at line 9 of file Device.h.

Member Function Documentation

void Device::destroy ( )
static

Disconnect devices and ends python program

Definition at line 57 of file Device.cpp.

void Device::init ( )
static

Make proper device initialization

Definition at line 51 of file Device.cpp.

Field Documentation

unsigned char Device::buffer
staticprotected

Definition at line 29 of file Device.h.

int Device::pythonPid
static

In order to have the python program working, we need to create a whole new process for it, and this is its pid

Definition at line 16 of file Device.h.


The documentation for this class was generated from the following files: