Public Member Functions | Public Attributes | Private Member Functions | Static Private Attributes
bz2_transport.msg._BZ2Packet.BZ2Packet Class Reference

List of all members.

Public Member Functions

def __init__
def deserialize
def deserialize_numpy
def serialize
def serialize_numpy

Public Attributes

 buffer
 original_length

Private Member Functions

def _get_types

Static Private Attributes

list __slots__ = ['original_length','buffer']
string _full_text
 _has_header = False
string _md5sum = "37a209db6e0c11cc6c12601cdd2e4aef"
list _slot_types = ['uint32','uint8[]']
string _type = "bz2_transport/BZ2Packet"

Detailed Description

Definition at line 8 of file _BZ2Packet.py.


Constructor & Destructor Documentation

def bz2_transport.msg._BZ2Packet.BZ2Packet.__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:
   original_length,buffer

: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 _BZ2Packet.py.


Member Function Documentation

internal API method

Definition at line 44 of file _BZ2Packet.py.

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

Definition at line 67 of file _BZ2Packet.py.

def bz2_transport.msg._BZ2Packet.BZ2Packet.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 106 of file _BZ2Packet.py.

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

Definition at line 50 of file _BZ2Packet.py.

def bz2_transport.msg._BZ2Packet.BZ2Packet.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 88 of file _BZ2Packet.py.


Member Data Documentation

Definition at line 16 of file _BZ2Packet.py.

Initial value:
"""uint32 original_length
uint8[] buffer

"""

Definition at line 12 of file _BZ2Packet.py.

Definition at line 11 of file _BZ2Packet.py.

string bz2_transport::msg::_BZ2Packet.BZ2Packet::_md5sum = "37a209db6e0c11cc6c12601cdd2e4aef" [static, private]

Definition at line 9 of file _BZ2Packet.py.

list bz2_transport::msg::_BZ2Packet.BZ2Packet::_slot_types = ['uint32','uint8[]'] [static, private]

Definition at line 17 of file _BZ2Packet.py.

string bz2_transport::msg::_BZ2Packet.BZ2Packet::_type = "bz2_transport/BZ2Packet" [static, private]

Definition at line 10 of file _BZ2Packet.py.

Definition at line 31 of file _BZ2Packet.py.

Definition at line 31 of file _BZ2Packet.py.


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


bz2_transport
Author(s): Cedric Pradalier
autogenerated on Sun Oct 5 2014 23:48:58