Public Member Functions | |
def | __init__ |
def | deserialize |
def | deserialize_numpy |
def | serialize |
def | serialize_numpy |
Static Public Attributes | |
int | a = 1 |
int | b = 2 |
int | c = 3 |
int | d = 4 |
int | e = 5 |
int | f = 6 |
float | fa = 1.5 |
float | fb = 40.9 |
int | g = 7 |
int | h = 8 |
string | str = 'hello there' |
string | str2 = r'this string has "quotes" and \slashes\ in it' |
Private Member Functions | |
def | _get_types |
Static Private Attributes | |
list | __slots__ = [] |
string | _full_text |
_has_header = False | |
string | _md5sum = "0032309c8dd2c569e0e0d0e75974e750" |
list | _slot_types = [] |
string | _type = "test_roscpp_serialization/Constants" |
Definition at line 6 of file _Constants.py.
def test_roscpp_serialization::msg::_Constants::Constants::__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: @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 40 of file _Constants.py.
def test_roscpp_serialization::msg::_Constants::Constants::_get_types | ( | self | ) | [private] |
internal API method
Definition at line 57 of file _Constants.py.
def test_roscpp_serialization::msg::_Constants::Constants::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 74 of file _Constants.py.
def test_roscpp_serialization::msg::_Constants::Constants::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 100 of file _Constants.py.
def test_roscpp_serialization::msg::_Constants::Constants::serialize | ( | self, | ||
buff | ||||
) |
serialize message into buffer @param buff: buffer @type buff: StringIO
Definition at line 63 of file _Constants.py.
def test_roscpp_serialization::msg::_Constants::Constants::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 87 of file _Constants.py.
list test_roscpp_serialization::msg::_Constants::Constants::__slots__ = [] [static, private] |
Definition at line 37 of file _Constants.py.
string test_roscpp_serialization::msg::_Constants::Constants::_full_text [static, private] |
"""uint8 a = 1 int8 b = 2 uint16 c = 3 int16 d = 4 uint32 e = 5 int32 f = 6 uint64 g = 7 int64 h = 8 float32 fa = 1.5 float64 fb = 40.9 string str = hello there string str2 = this string has "quotes" and \slashes\ in it """
Definition at line 10 of file _Constants.py.
test_roscpp_serialization::msg::_Constants::Constants::_has_header = False [static, private] |
Definition at line 9 of file _Constants.py.
string test_roscpp_serialization::msg::_Constants::Constants::_md5sum = "0032309c8dd2c569e0e0d0e75974e750" [static, private] |
Definition at line 7 of file _Constants.py.
list test_roscpp_serialization::msg::_Constants::Constants::_slot_types = [] [static, private] |
Definition at line 38 of file _Constants.py.
string test_roscpp_serialization::msg::_Constants::Constants::_type = "test_roscpp_serialization/Constants" [static, private] |
Definition at line 8 of file _Constants.py.
int test_roscpp_serialization::msg::_Constants::Constants::a = 1 [static] |
Definition at line 24 of file _Constants.py.
int test_roscpp_serialization::msg::_Constants::Constants::b = 2 [static] |
Definition at line 25 of file _Constants.py.
int test_roscpp_serialization::msg::_Constants::Constants::c = 3 [static] |
Definition at line 26 of file _Constants.py.
int test_roscpp_serialization::msg::_Constants::Constants::d = 4 [static] |
Definition at line 27 of file _Constants.py.
int test_roscpp_serialization::msg::_Constants::Constants::e = 5 [static] |
Definition at line 28 of file _Constants.py.
int test_roscpp_serialization::msg::_Constants::Constants::f = 6 [static] |
Definition at line 29 of file _Constants.py.
float test_roscpp_serialization::msg::_Constants::Constants::fa = 1.5 [static] |
Definition at line 32 of file _Constants.py.
float test_roscpp_serialization::msg::_Constants::Constants::fb = 40.9 [static] |
Definition at line 33 of file _Constants.py.
int test_roscpp_serialization::msg::_Constants::Constants::g = 7 [static] |
Definition at line 30 of file _Constants.py.
int test_roscpp_serialization::msg::_Constants::Constants::h = 8 [static] |
Definition at line 31 of file _Constants.py.
string test_roscpp_serialization::msg::_Constants::Constants::str = 'hello there' [static] |
Definition at line 34 of file _Constants.py.
string test_roscpp_serialization::msg::_Constants::Constants::str2 = r'this string has "quotes" and \slashes\ in it' [static] |
Definition at line 35 of file _Constants.py.