Public Member Functions | Private Member Functions | Static Private Attributes
include.genpy.message.Message Class Reference

List of all members.

Public Member Functions

def __eq__
def __getstate__
def __init__
def __repr__
def __setstate__
def __str__
def deserialize
def serialize

Private Member Functions

def _check_types
def _get_types

Static Private Attributes

list __slots__ = ['_connection_header']

Detailed Description

Base class of Message data classes auto-generated from msg files. 

Definition at line 269 of file message.py.


Constructor & Destructor Documentation

def include.genpy.message.Message.__init__ (   self,
  args,
  kwds 
)
Create a new Message instance. There are multiple ways of
initializing Message instances, either using a 1-to-1
correspondence between constructor arguments and message
fields (*args), or using Python "keyword" arguments (**kwds) to initialize named field
and leave the rest with default values.

Definition at line 279 of file message.py.


Member Function Documentation

def include.genpy.message.Message.__eq__ (   self,
  other 
)

Definition at line 352 of file message.py.

support for Python pickling

Definition at line 308 of file message.py.

Definition at line 347 of file message.py.

def include.genpy.message.Message.__setstate__ (   self,
  state 
)
support for Python pickling

Definition at line 314 of file message.py.

Definition at line 349 of file message.py.

def include.genpy.message.Message._check_types (   self,
  exc = None 
) [private]
Perform dynamic type-checking of Message fields. This is performance intensive
and is meant for post-error diagnosis
:param exc: underlying exception that gave cause for type check, ``Exception``
:raises: exc:`genpy.SerializationError` If typecheck fails

Definition at line 323 of file message.py.

def include.genpy.message.Message._get_types (   self) [private]

Definition at line 321 of file message.py.

def include.genpy.message.Message.deserialize (   self,
  str 
)
Deserialize data in str into this instance
:param str: serialized data, ``str``

Definition at line 341 of file message.py.

def include.genpy.message.Message.serialize (   self,
  buff 
)
Serialize data into buffer
:param buff: buffer, ``StringIO``

Definition at line 335 of file message.py.


Member Data Documentation

list include::genpy::message.Message::__slots__ = ['_connection_header'] [static, private]

Definition at line 277 of file message.py.


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


firos
Author(s): IƱigo Gonzalez, igonzalez@ikergune.com
autogenerated on Thu Jun 6 2019 17:51:04