rosserial_msgs::msg::_TopicInfo::TopicInfo Class Reference

List of all members.

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"

Detailed Description

Definition at line 6 of file _TopicInfo.py.


Member Function Documentation

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 44 of file _TopicInfo.py.

def rosserial_msgs::msg::_TopicInfo::TopicInfo::_get_types (   self  )  [private]
internal API method

Definition at line 78 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
@type  str: str

Definition at line 105 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
@type  str: str
@param numpy: numpy python module
@type  numpy: module

Definition at line 165 of file _TopicInfo.py.

def rosserial_msgs::msg::_TopicInfo::TopicInfo::serialize (   self,
  buff 
)
serialize message into buffer
@param buff: buffer
@type  buff: StringIO

Definition at line 84 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
@type  buff: StringIO
@param numpy: numpy python module
@type  numpy module

Definition at line 142 of file _TopicInfo.py.


Member Data Documentation

Definition at line 41 of file _TopicInfo.py.

Initial value:
"""# 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 10 of file _TopicInfo.py.

Definition at line 9 of file _TopicInfo.py.

string rosserial_msgs::msg::_TopicInfo::TopicInfo::_md5sum = "63aa5e8f1bdd6f35c69fe1a1b9d28e9f" [static, private]

Definition at line 7 of file _TopicInfo.py.

list rosserial_msgs::msg::_TopicInfo::TopicInfo::_slot_types = ['uint16','string','string','string','int32'] [static, private]

Definition at line 42 of file _TopicInfo.py.

string rosserial_msgs::msg::_TopicInfo::TopicInfo::_type = "rosserial_msgs/TopicInfo" [static, private]

Definition at line 8 of file _TopicInfo.py.

Definition at line 70 of file _TopicInfo.py.

Definition at line 38 of file _TopicInfo.py.

Definition at line 37 of file _TopicInfo.py.

Definition at line 33 of file _TopicInfo.py.

Definition at line 36 of file _TopicInfo.py.

Definition at line 35 of file _TopicInfo.py.

Definition at line 34 of file _TopicInfo.py.

Definition at line 39 of file _TopicInfo.py.

Definition at line 68 of file _TopicInfo.py.

Definition at line 66 of file _TopicInfo.py.

Definition at line 62 of file _TopicInfo.py.

Definition at line 64 of file _TopicInfo.py.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerator


rosserial_msgs
Author(s): Michael Ferguson
autogenerated on Fri Jan 11 09:57:38 2013