Bike-X  0.8
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
device.scripts.device.Device Class Reference
Inheritance diagram for device.scripts.device.Device:
Inheritance graph
Collaboration diagram for device.scripts.device.Device:
Collaboration graph

Public Member Functions

def __init__
 
def enable
 
def desable
 
def flush
 

Data Fields

 serial
 

Static Public Attributes

string type = ''
 
string name = 'base'
 
string data = '-----'
 
 live = False
 

Detailed Description

docstring for Device

Definition at line 12 of file device.py.

Constructor & Destructor Documentation

def device.scripts.device.Device.__init__ (   self,
  terminal 
)

Definition at line 21 of file device.py.

Member Function Documentation

def device.scripts.device.Device.desable (   self)
Desable the sensor 

Definition at line 32 of file device.py.

def device.scripts.device.Device.enable (   self)
Enable the sensor 

Definition at line 27 of file device.py.

def device.scripts.device.Device.flush (   self)
Read data 

Definition at line 37 of file device.py.

Field Documentation

string device.scripts.device.Device.data = '-----'
static

Definition at line 18 of file device.py.

device.scripts.device.Device.live = False
static

Definition at line 19 of file device.py.

string device.scripts.device.Device.name = 'base'
static

Definition at line 17 of file device.py.

device.scripts.device.Device.serial

Definition at line 23 of file device.py.

string device.scripts.device.Device.type = ''
static

Definition at line 16 of file device.py.


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