Public Member Functions | Public Attributes | Private Member Functions | Static Private Attributes
r2_msgs.srv._Power.PowerRequest Class Reference

List of all members.

Public Member Functions

def __init__
def deserialize
def deserialize_numpy
def serialize
def serialize_numpy

Public Attributes

 channel
 state

Private Member Functions

def _get_types

Static Private Attributes

list __slots__ = ['channel','state']
string _full_text
 _has_header = False
string _md5sum = "1045ad41f2608d96980e5002751cdcee"
list _slot_types = ['string','bool']
string _type = "r2_msgs/PowerRequest"

Detailed Description

Definition at line 8 of file _Power.py.


Constructor & Destructor Documentation

def r2_msgs.srv._Power.PowerRequest.__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:
   channel,state

: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 19 of file _Power.py.


Member Function Documentation

internal API method

Definition at line 44 of file _Power.py.

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

Definition at line 66 of file _Power.py.

def r2_msgs.srv._Power.PowerRequest.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 108 of file _Power.py.

def r2_msgs.srv._Power.PowerRequest.serialize (   self,
  buff 
)
serialize message into buffer
:param buff: buffer, ``StringIO``

Definition at line 50 of file _Power.py.

def r2_msgs.srv._Power.PowerRequest.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 91 of file _Power.py.


Member Data Documentation

Definition at line 16 of file _Power.py.

Initial value:
"""string channel
bool state

"""

Definition at line 12 of file _Power.py.

Definition at line 11 of file _Power.py.

string r2_msgs::srv::_Power.PowerRequest::_md5sum = "1045ad41f2608d96980e5002751cdcee" [static, private]

Definition at line 9 of file _Power.py.

list r2_msgs::srv::_Power.PowerRequest::_slot_types = ['string','bool'] [static, private]

Definition at line 17 of file _Power.py.

string r2_msgs::srv::_Power.PowerRequest::_type = "r2_msgs/PowerRequest" [static, private]

Definition at line 10 of file _Power.py.

Definition at line 31 of file _Power.py.

Definition at line 31 of file _Power.py.


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


r2_msgs
Author(s): Paul Dinh
autogenerated on Sat Jul 26 2014 06:34:21