clearpath_base::msg::_PowerSource::PowerSource Class Reference

List of all members.

Public Member Functions

def __init__
def deserialize
def deserialize_numpy
def serialize
def serialize_numpy

Public Attributes

 capacity
 charge
 description
 in_use
 present

Private Member Functions

def _get_types

Static Private Attributes

list __slots__ = ['charge','capacity','present','in_use','description']
string _full_text
 _has_header = False
string _md5sum = "adbe384d7d69a337a7f2b6bf1d0139cb"
list _slot_types = ['float32','int16','bool','bool','uint8']
string _type = "clearpath_base/PowerSource"

Detailed Description

Definition at line 6 of file _PowerSource.py.


Member Function Documentation

def clearpath_base::msg::_PowerSource::PowerSource::__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:
   charge,capacity,present,in_use,description

@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 20 of file _PowerSource.py.

def clearpath_base::msg::_PowerSource::PowerSource::_get_types (   self  )  [private]
internal API method

Definition at line 54 of file _PowerSource.py.

def clearpath_base::msg::_PowerSource::PowerSource::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 72 of file _PowerSource.py.

def clearpath_base::msg::_PowerSource::PowerSource::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 105 of file _PowerSource.py.

def clearpath_base::msg::_PowerSource::PowerSource::serialize (   self,
  buff 
)
serialize message into buffer
@param buff: buffer
@type  buff: StringIO

Definition at line 60 of file _PowerSource.py.

def clearpath_base::msg::_PowerSource::PowerSource::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 91 of file _PowerSource.py.


Member Data Documentation

Definition at line 17 of file _PowerSource.py.

Initial value:
"""float32 charge
int16 capacity
bool present
bool in_use
uint8 description

"""

Definition at line 10 of file _PowerSource.py.

Definition at line 9 of file _PowerSource.py.

string clearpath_base::msg::_PowerSource::PowerSource::_md5sum = "adbe384d7d69a337a7f2b6bf1d0139cb" [static, private]

Definition at line 7 of file _PowerSource.py.

list clearpath_base::msg::_PowerSource::PowerSource::_slot_types = ['float32','int16','bool','bool','uint8'] [static, private]

Definition at line 18 of file _PowerSource.py.

string clearpath_base::msg::_PowerSource::PowerSource::_type = "clearpath_base/PowerSource" [static, private]

Definition at line 8 of file _PowerSource.py.

Definition at line 40 of file _PowerSource.py.

Definition at line 38 of file _PowerSource.py.

Definition at line 46 of file _PowerSource.py.

Definition at line 44 of file _PowerSource.py.

Definition at line 42 of file _PowerSource.py.


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


clearpath_base
Author(s): Mike Purvis
autogenerated on Fri Jan 11 10:11:36 2013