Public Member Functions | |
def | __init__ |
def | deserialize |
def | deserialize_numpy |
def | serialize |
def | serialize_numpy |
Public Attributes | |
buffer_size | |
md5sum | |
message_type | |
topic_id | |
topic_name | |
Static Public Attributes | |
int | ID_LOG = 7 |
int | ID_PARAMETER_REQUEST = 6 |
int | ID_PUBLISHER = 0 |
int | ID_SERVICE_CLIENT = 4 |
int | ID_SERVICE_SERVER = 2 |
int | ID_SUBSCRIBER = 1 |
int | ID_TIME = 10 |
Private Member Functions | |
def | _get_types |
Static Private Attributes | |
list | __slots__ = ['topic_id','topic_name','message_type','md5sum','buffer_size'] |
string | _full_text |
_has_header = False | |
string | _md5sum = "63aa5e8f1bdd6f35c69fe1a1b9d28e9f" |
list | _slot_types = ['uint16','string','string','string','int32'] |
string | _type = "rosserial_msgs/TopicInfo" |
Definition at line 8 of file _TopicInfo.py.
def rosserial_msgs.msg._TopicInfo.TopicInfo.__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: topic_id,topic_name,message_type,md5sum,buffer_size :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 46 of file _TopicInfo.py.
def rosserial_msgs.msg._TopicInfo.TopicInfo._get_types | ( | self | ) | [private] |
internal API method
Definition at line 80 of file _TopicInfo.py.
def rosserial_msgs.msg._TopicInfo.TopicInfo.deserialize | ( | self, | |
str | |||
) |
unpack serialized message in str into this message instance :param str: byte array of serialized message, ``str``
Definition at line 115 of file _TopicInfo.py.
def rosserial_msgs.msg._TopicInfo.TopicInfo.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 190 of file _TopicInfo.py.
def rosserial_msgs.msg._TopicInfo.TopicInfo.serialize | ( | self, | |
buff | |||
) |
serialize message into buffer :param buff: buffer, ``StringIO``
Definition at line 86 of file _TopicInfo.py.
def rosserial_msgs.msg._TopicInfo.TopicInfo.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 160 of file _TopicInfo.py.
list rosserial_msgs::msg::_TopicInfo.TopicInfo::__slots__ = ['topic_id','topic_name','message_type','md5sum','buffer_size'] [static, private] |
Definition at line 43 of file _TopicInfo.py.
string rosserial_msgs::msg::_TopicInfo.TopicInfo::_full_text [static, private] |
"""# special topic_ids uint16 ID_PUBLISHER=0 uint16 ID_SUBSCRIBER=1 uint16 ID_SERVICE_SERVER=2 uint16 ID_SERVICE_CLIENT=4 uint16 ID_PARAMETER_REQUEST=6 uint16 ID_LOG=7 uint16 ID_TIME=10 # The endpoint ID for this topic uint16 topic_id string topic_name string message_type # MD5 checksum for this message type string md5sum # size of the buffer message must fit in int32 buffer_size """
Definition at line 12 of file _TopicInfo.py.
rosserial_msgs::msg::_TopicInfo.TopicInfo::_has_header = False [static, private] |
Definition at line 11 of file _TopicInfo.py.
string rosserial_msgs::msg::_TopicInfo.TopicInfo::_md5sum = "63aa5e8f1bdd6f35c69fe1a1b9d28e9f" [static, private] |
Definition at line 9 of file _TopicInfo.py.
list rosserial_msgs::msg::_TopicInfo.TopicInfo::_slot_types = ['uint16','string','string','string','int32'] [static, private] |
Definition at line 44 of file _TopicInfo.py.
string rosserial_msgs::msg::_TopicInfo.TopicInfo::_type = "rosserial_msgs/TopicInfo" [static, private] |
Definition at line 10 of file _TopicInfo.py.
Definition at line 58 of file _TopicInfo.py.
int rosserial_msgs::msg::_TopicInfo.TopicInfo::ID_LOG = 7 [static] |
Definition at line 40 of file _TopicInfo.py.
int rosserial_msgs::msg::_TopicInfo.TopicInfo::ID_PARAMETER_REQUEST = 6 [static] |
Definition at line 39 of file _TopicInfo.py.
int rosserial_msgs::msg::_TopicInfo.TopicInfo::ID_PUBLISHER = 0 [static] |
Definition at line 35 of file _TopicInfo.py.
int rosserial_msgs::msg::_TopicInfo.TopicInfo::ID_SERVICE_CLIENT = 4 [static] |
Definition at line 38 of file _TopicInfo.py.
int rosserial_msgs::msg::_TopicInfo.TopicInfo::ID_SERVICE_SERVER = 2 [static] |
Definition at line 37 of file _TopicInfo.py.
int rosserial_msgs::msg::_TopicInfo.TopicInfo::ID_SUBSCRIBER = 1 [static] |
Definition at line 36 of file _TopicInfo.py.
int rosserial_msgs::msg::_TopicInfo.TopicInfo::ID_TIME = 10 [static] |
Definition at line 41 of file _TopicInfo.py.
Definition at line 58 of file _TopicInfo.py.
Definition at line 58 of file _TopicInfo.py.
Definition at line 58 of file _TopicInfo.py.
Definition at line 58 of file _TopicInfo.py.