wiimote::msg::_TimedSwitch::TimedSwitch Class Reference

List of all members.

Public Member Functions

def __init__
def deserialize
def deserialize_numpy
def serialize
def serialize_numpy

Public Attributes

 num_cycles
 pulse_pattern
 switch_mode

Static Public Attributes

int FOREVER = 1
int NO_CHANGE = 2
int OFF = 0
int ON = 1
int REPEAT = 1

Private Member Functions

def _get_types

Static Private Attributes

list __slots__ = ['switch_mode','num_cycles','pulse_pattern']
string _full_text
 _has_header = False
string _md5sum = "e4c8d9327409cef6066fa6c368032c1e"
list _slot_types = ['int8','int32','float32[]']
string _type = "wiimote/TimedSwitch"

Detailed Description

Definition at line 6 of file _TimedSwitch.py.


Member Function Documentation

def wiimote::msg::_TimedSwitch::TimedSwitch::__init__ (   self,
  args,
  kwds 
)
Constructor. Any message fields that are implicitly/explicitly
set to None will be assigned a default value. The recommend
use is keyword arguments as this is more robust to future message
changes.  You cannot mix in-order arguments and keyword arguments.

The available fields are:
   switch_mode,num_cycles,pulse_pattern

@param args: complete set of field values, in .msg order
@param kwds: use keyword arguments corresponding to message field names
to set specific fields. 

Definition at line 60 of file _TimedSwitch.py.

def wiimote::msg::_TimedSwitch::TimedSwitch::_get_types (   self  )  [private]
internal API method

Definition at line 88 of file _TimedSwitch.py.

def wiimote::msg::_TimedSwitch::TimedSwitch::deserialize (   self,
  str 
)
unpack serialized message in str into this message instance
@param str: byte array of serialized message
@type  str: str

Definition at line 110 of file _TimedSwitch.py.

def wiimote::msg::_TimedSwitch::TimedSwitch::deserialize_numpy (   self,
  str,
  numpy 
)
unpack serialized message in str into this message instance using numpy for array types
@param str: byte array of serialized message
@type  str: str
@param numpy: numpy python module
@type  numpy: module

Definition at line 152 of file _TimedSwitch.py.

def wiimote::msg::_TimedSwitch::TimedSwitch::serialize (   self,
  buff 
)
serialize message into buffer
@param buff: buffer
@type  buff: StringIO

Definition at line 94 of file _TimedSwitch.py.

def wiimote::msg::_TimedSwitch::TimedSwitch::serialize_numpy (   self,
  buff,
  numpy 
)
serialize message with numpy array types into buffer
@param buff: buffer
@type  buff: StringIO
@param numpy: numpy python module
@type  numpy module

Definition at line 134 of file _TimedSwitch.py.


Member Data Documentation

Definition at line 57 of file _TimedSwitch.py.

Definition at line 10 of file _TimedSwitch.py.

Definition at line 9 of file _TimedSwitch.py.

string wiimote::msg::_TimedSwitch::TimedSwitch::_md5sum = "e4c8d9327409cef6066fa6c368032c1e" [static, private]

Definition at line 7 of file _TimedSwitch.py.

list wiimote::msg::_TimedSwitch::TimedSwitch::_slot_types = ['int8','int32','float32[]'] [static, private]

Definition at line 58 of file _TimedSwitch.py.

string wiimote::msg::_TimedSwitch::TimedSwitch::_type = "wiimote/TimedSwitch" [static, private]

Definition at line 8 of file _TimedSwitch.py.

Definition at line 55 of file _TimedSwitch.py.

Definition at line 53 of file _TimedSwitch.py.

Definition at line 80 of file _TimedSwitch.py.

Definition at line 52 of file _TimedSwitch.py.

Definition at line 51 of file _TimedSwitch.py.

Definition at line 82 of file _TimedSwitch.py.

Definition at line 54 of file _TimedSwitch.py.

Definition at line 78 of file _TimedSwitch.py.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerator


wiimote
Author(s): Andreas Paepcke
autogenerated on Fri Jan 11 09:15:27 2013