Public Member Functions | |
def | __init__ |
def | deserialize |
def | deserialize_numpy |
def | serialize |
def | serialize_numpy |
Static Public Attributes | |
float | A = 123.0 |
float | B = 124.0 |
float | C = 125.0 |
string | DOUBLEQUOTE = r'"hello" there' |
string | EMPTY = '' |
string | EXAMPLE = r'"#comments" are ignored, and leading and trailing whitespace removed' |
FALSE = False | |
string | FOO = 'foo' |
string | MULTIQUOTE = "\"hello\" 'goodbye'" |
string | SINGLEQUOTE = r"'hi" |
TRUE = True | |
string | WHITESPACE = 'strip' |
int | X = 123 |
int | Y = 123 |
int | Z = 124 |
Private Member Functions | |
def | _get_types |
Static Private Attributes | |
list | __slots__ = [] |
string | _full_text |
_has_header = False | |
string | _md5sum = "e60959d2ccf9718dc5e42767bebd1644" |
list | _slot_types = [] |
string | _type = "test_rospy/TestConstants" |
Definition at line 6 of file _TestConstants.py.
def test_rospy::msg::_TestConstants::TestConstants::__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 46 of file _TestConstants.py.
def test_rospy::msg::_TestConstants::TestConstants::_get_types | ( | self | ) | [private] |
internal API method
Definition at line 63 of file _TestConstants.py.
def test_rospy::msg::_TestConstants::TestConstants::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 80 of file _TestConstants.py.
def test_rospy::msg::_TestConstants::TestConstants::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 106 of file _TestConstants.py.
def test_rospy::msg::_TestConstants::TestConstants::serialize | ( | self, | ||
buff | ||||
) |
serialize message into buffer @param buff: buffer @type buff: StringIO
Definition at line 69 of file _TestConstants.py.
def test_rospy::msg::_TestConstants::TestConstants::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 93 of file _TestConstants.py.
list test_rospy::msg::_TestConstants::TestConstants::__slots__ = [] [static, private] |
Definition at line 43 of file _TestConstants.py.
string test_rospy::msg::_TestConstants::TestConstants::_full_text [static, private] |
"""float32 A=-123.0 float32 B=124.0 float64 C=125.0 int32 X=123 int32 Y=-123 uint32 Z=124 string FOO=foo string SINGLEQUOTE='hi string DOUBLEQUOTE="hello" there string MULTIQUOTE="hello" 'goodbye' string EXAMPLE="#comments" are ignored, and leading and trailing whitespace removed string WHITESPACE= strip string EMPTY= bool TRUE=1 bool FALSE=0 """
Definition at line 10 of file _TestConstants.py.
test_rospy::msg::_TestConstants::TestConstants::_has_header = False [static, private] |
Definition at line 9 of file _TestConstants.py.
string test_rospy::msg::_TestConstants::TestConstants::_md5sum = "e60959d2ccf9718dc5e42767bebd1644" [static, private] |
Definition at line 7 of file _TestConstants.py.
list test_rospy::msg::_TestConstants::TestConstants::_slot_types = [] [static, private] |
Definition at line 44 of file _TestConstants.py.
string test_rospy::msg::_TestConstants::TestConstants::_type = "test_rospy/TestConstants" [static, private] |
Definition at line 8 of file _TestConstants.py.
float test_rospy::msg::_TestConstants::TestConstants::A = 123.0 [static] |
Definition at line 27 of file _TestConstants.py.
float test_rospy::msg::_TestConstants::TestConstants::B = 124.0 [static] |
Definition at line 28 of file _TestConstants.py.
float test_rospy::msg::_TestConstants::TestConstants::C = 125.0 [static] |
Definition at line 29 of file _TestConstants.py.
string test_rospy::msg::_TestConstants::TestConstants::DOUBLEQUOTE = r'"hello" there' [static] |
Definition at line 35 of file _TestConstants.py.
string test_rospy::msg::_TestConstants::TestConstants::EMPTY = '' [static] |
Definition at line 39 of file _TestConstants.py.
string test_rospy::msg::_TestConstants::TestConstants::EXAMPLE = r'"#comments" are ignored, and leading and trailing whitespace removed' [static] |
Definition at line 37 of file _TestConstants.py.
test_rospy::msg::_TestConstants::TestConstants::FALSE = False [static] |
Definition at line 41 of file _TestConstants.py.
string test_rospy::msg::_TestConstants::TestConstants::FOO = 'foo' [static] |
Definition at line 33 of file _TestConstants.py.
string test_rospy::msg::_TestConstants::TestConstants::MULTIQUOTE = "\"hello\" 'goodbye'" [static] |
Definition at line 36 of file _TestConstants.py.
string test_rospy::msg::_TestConstants::TestConstants::SINGLEQUOTE = r"'hi" [static] |
Definition at line 34 of file _TestConstants.py.
test_rospy::msg::_TestConstants::TestConstants::TRUE = True [static] |
Definition at line 40 of file _TestConstants.py.
string test_rospy::msg::_TestConstants::TestConstants::WHITESPACE = 'strip' [static] |
Definition at line 38 of file _TestConstants.py.
int test_rospy::msg::_TestConstants::TestConstants::X = 123 [static] |
Definition at line 30 of file _TestConstants.py.
int test_rospy::msg::_TestConstants::TestConstants::Y = 123 [static] |
Definition at line 31 of file _TestConstants.py.
int test_rospy::msg::_TestConstants::TestConstants::Z = 124 [static] |
Definition at line 32 of file _TestConstants.py.