Public Member Functions | |
def | __init__ |
def | deserialize |
def | deserialize_numpy |
def | serialize |
def | serialize_numpy |
Public Attributes | |
b | |
c | |
caller_id | |
d | |
float32 | |
float64 | |
int16 | |
int32 | |
int64 | |
orig_caller_id | |
str | |
t | |
uint16 | |
uint32 | |
uint64 | |
Private Member Functions | |
def | _get_types |
Static Private Attributes | |
list | __slots__ = ['caller_id','orig_caller_id','str','b','int16','int32','int64','c','uint16','uint32','uint64','float32','float64','t','d'] |
string | _full_text |
_has_header = False | |
string | _md5sum = "3e70f428a22c0d26ca67f87802c8e00f" |
list | _slot_types = ['string','string','string','byte','int16','int32','int64','char','uint16','uint32','uint64','float32','float64','time','duration'] |
string | _type = "test_ros/TestPrimitives" |
Definition at line 7 of file _TestPrimitives.py.
def test_ros::msg::_TestPrimitives::TestPrimitives::__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: caller_id,orig_caller_id,str,b,int16,int32,int64,c,uint16,uint32,uint64,float32,float64,t,d @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 37 of file _TestPrimitives.py.
def test_ros::msg::_TestPrimitives::TestPrimitives::_get_types | ( | self | ) | [private] |
internal API method
Definition at line 101 of file _TestPrimitives.py.
def test_ros::msg::_TestPrimitives::TestPrimitives::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 128 of file _TestPrimitives.py.
def test_ros::msg::_TestPrimitives::TestPrimitives::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 192 of file _TestPrimitives.py.
def test_ros::msg::_TestPrimitives::TestPrimitives::serialize | ( | self, | ||
buff | ||||
) |
serialize message into buffer @param buff: buffer @type buff: StringIO
Definition at line 107 of file _TestPrimitives.py.
def test_ros::msg::_TestPrimitives::TestPrimitives::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 169 of file _TestPrimitives.py.
list test_ros::msg::_TestPrimitives::TestPrimitives::__slots__ = ['caller_id','orig_caller_id','str','b','int16','int32','int64','c','uint16','uint32','uint64','float32','float64','t','d'] [static, private] |
Definition at line 34 of file _TestPrimitives.py.
string test_ros::msg::_TestPrimitives::TestPrimitives::_full_text [static, private] |
"""# Integration test message of all primitive types # caller_id of most recent node to send this message string caller_id # caller_id of the original node to send this message string orig_caller_id string str byte b int16 int16 int32 int32 int64 int64 char c uint16 uint16 uint32 uint32 uint64 uint64 float32 float32 float64 float64 time t duration d """
Definition at line 11 of file _TestPrimitives.py.
test_ros::msg::_TestPrimitives::TestPrimitives::_has_header = False [static, private] |
Definition at line 10 of file _TestPrimitives.py.
string test_ros::msg::_TestPrimitives::TestPrimitives::_md5sum = "3e70f428a22c0d26ca67f87802c8e00f" [static, private] |
Definition at line 8 of file _TestPrimitives.py.
list test_ros::msg::_TestPrimitives::TestPrimitives::_slot_types = ['string','string','string','byte','int16','int32','int64','char','uint16','uint32','uint64','float32','float64','time','duration'] [static, private] |
Definition at line 35 of file _TestPrimitives.py.
string test_ros::msg::_TestPrimitives::TestPrimitives::_type = "test_ros/TestPrimitives" [static, private] |
Definition at line 9 of file _TestPrimitives.py.
Definition at line 61 of file _TestPrimitives.py.
Definition at line 69 of file _TestPrimitives.py.
Definition at line 55 of file _TestPrimitives.py.
Definition at line 83 of file _TestPrimitives.py.
Definition at line 77 of file _TestPrimitives.py.
Definition at line 79 of file _TestPrimitives.py.
Definition at line 63 of file _TestPrimitives.py.
Definition at line 65 of file _TestPrimitives.py.
Definition at line 67 of file _TestPrimitives.py.
Definition at line 57 of file _TestPrimitives.py.
Definition at line 59 of file _TestPrimitives.py.
Definition at line 81 of file _TestPrimitives.py.
Definition at line 71 of file _TestPrimitives.py.
Definition at line 73 of file _TestPrimitives.py.
Definition at line 75 of file _TestPrimitives.py.