Public Member Functions | Public Attributes | Private Member Functions | Static Private Attributes
rosapi.msg._TypeDef.TypeDef Class Reference

List of all members.

Public Member Functions

def __init__
def deserialize
def deserialize_numpy
def serialize
def serialize_numpy

Public Attributes

 examples
 fieldarraylen
 fieldnames
 fieldtypes
 type

Private Member Functions

def _get_types

Static Private Attributes

list __slots__ = ['type','fieldnames','fieldtypes','fieldarraylen','examples']
string _full_text
 _has_header = False
string _md5sum = "bd8529b0edb168fde8dd58032743f1f7"
list _slot_types = ['string','string[]','string[]','int32[]','string[]']
string _type = "rosapi/TypeDef"

Detailed Description

Definition at line 8 of file _TypeDef.py.


Constructor & Destructor Documentation

def rosapi.msg._TypeDef.TypeDef.__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:
   type,fieldnames,fieldtypes,fieldarraylen,examples

: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 22 of file _TypeDef.py.


Member Function Documentation

def rosapi.msg._TypeDef.TypeDef._get_types (   self) [private]
internal API method

Definition at line 56 of file _TypeDef.py.

def rosapi.msg._TypeDef.TypeDef.deserialize (   self,
  str 
)
unpack serialized message in str into this message instance
:param str: byte array of serialized message, ``str``

Definition at line 105 of file _TypeDef.py.

def rosapi.msg._TypeDef.TypeDef.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 222 of file _TypeDef.py.

def rosapi.msg._TypeDef.TypeDef.serialize (   self,
  buff 
)
serialize message into buffer
:param buff: buffer, ``StringIO``

Definition at line 62 of file _TypeDef.py.

def rosapi.msg._TypeDef.TypeDef.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 178 of file _TypeDef.py.


Member Data Documentation

Definition at line 19 of file _TypeDef.py.

Initial value:
"""string type
string[] fieldnames
string[] fieldtypes
int32[] fieldarraylen
string[] examples

"""

Definition at line 12 of file _TypeDef.py.

rosapi::msg::_TypeDef.TypeDef::_has_header = False [static, private]

Definition at line 11 of file _TypeDef.py.

string rosapi::msg::_TypeDef.TypeDef::_md5sum = "bd8529b0edb168fde8dd58032743f1f7" [static, private]

Definition at line 9 of file _TypeDef.py.

list rosapi::msg::_TypeDef.TypeDef::_slot_types = ['string','string[]','string[]','int32[]','string[]'] [static, private]

Definition at line 20 of file _TypeDef.py.

string rosapi::msg::_TypeDef.TypeDef::_type = "rosapi/TypeDef" [static, private]

Definition at line 10 of file _TypeDef.py.

Definition at line 34 of file _TypeDef.py.

Definition at line 34 of file _TypeDef.py.

Definition at line 34 of file _TypeDef.py.

Definition at line 34 of file _TypeDef.py.

Definition at line 34 of file _TypeDef.py.


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


rosapi
Author(s): Jon
autogenerated on Thu Jan 2 2014 11:53:40