class documentation
Base class of Message data classes auto-generated from msg files.
Method | __eq__ |
Undocumented |
Method | __getstate__ |
Support for Python pickling. |
Method | __init__ |
Create a new Message instance. |
Method | __ne__ |
Undocumented |
Method | __repr__ |
Undocumented |
Method | __setstate__ |
Support for Python pickling. |
Method | __str__ |
Undocumented |
Method | deserialize |
Deserialize data in str into this instance. |
Method | serialize |
Serialize data into buffer. |
Class Variable | __slots__ |
Undocumented |
Method | _check |
Perform dynamic type-checking of Message fields. |
Method | _get |
Undocumented |
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.
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