Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Static Private Attributes
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 8 of file _TimedSwitch.py.


Constructor & Destructor 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 62 of file _TimedSwitch.py.


Member Function Documentation

internal API method

Definition at line 90 of file _TimedSwitch.py.

unpack serialized message in str into this message instance
:param str: byte array of serialized message, ``str``

Definition at line 111 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, ``str``
:param numpy: numpy python module

Definition at line 150 of file _TimedSwitch.py.

serialize message into buffer
:param buff: buffer, ``StringIO``

Definition at line 96 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, ``StringIO``
:param numpy: numpy python module

Definition at line 134 of file _TimedSwitch.py.


Member Data Documentation

Definition at line 59 of file _TimedSwitch.py.

Definition at line 12 of file _TimedSwitch.py.

Definition at line 11 of file _TimedSwitch.py.

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

Definition at line 9 of file _TimedSwitch.py.

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

Definition at line 60 of file _TimedSwitch.py.

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

Definition at line 10 of file _TimedSwitch.py.

Definition at line 57 of file _TimedSwitch.py.

Definition at line 55 of file _TimedSwitch.py.

Definition at line 74 of file _TimedSwitch.py.

Definition at line 54 of file _TimedSwitch.py.

Definition at line 53 of file _TimedSwitch.py.

Definition at line 74 of file _TimedSwitch.py.

Definition at line 56 of file _TimedSwitch.py.

Definition at line 74 of file _TimedSwitch.py.


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


wiimote
Author(s): Andreas Paepcke and Melonee Wise
autogenerated on Sat Dec 28 2013 17:06:51