Public Member Functions | |
def | __init__ |
def | deserialize |
def | deserialize_numpy |
def | serialize |
def | serialize_numpy |
Public Attributes | |
code | |
Static Public Attributes | |
int | DATABASE_NOT_CONNECTED = 2 |
int | DATABASE_QUERY_ERROR = 3 |
int | SUCCESS = 1 |
int | UNKNOWN_ERROR = 1 |
Private Member Functions | |
def | _get_types |
Static Private Attributes | |
list | __slots__ = ['code'] |
string | _full_text |
_has_header = False | |
string | _md5sum = "b649fd6fa3a4e3bf8e3f4b4e648fa0f1" |
list | _slot_types = ['int32'] |
string | _type = "household_objects_database_msgs/DatabaseReturnCode" |
Definition at line 8 of file _DatabaseReturnCode.py.
def household_objects_database_msgs.msg._DatabaseReturnCode.DatabaseReturnCode.__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: code :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 30 of file _DatabaseReturnCode.py.
def household_objects_database_msgs.msg._DatabaseReturnCode.DatabaseReturnCode._get_types | ( | self | ) | [private] |
internal API method
Definition at line 52 of file _DatabaseReturnCode.py.
def household_objects_database_msgs.msg._DatabaseReturnCode.DatabaseReturnCode.deserialize | ( | self, | |
str | |||
) |
unpack serialized message in str into this message instance :param str: byte array of serialized message, ``str``
Definition at line 68 of file _DatabaseReturnCode.py.
def household_objects_database_msgs.msg._DatabaseReturnCode.DatabaseReturnCode.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 94 of file _DatabaseReturnCode.py.
def household_objects_database_msgs.msg._DatabaseReturnCode.DatabaseReturnCode.serialize | ( | self, | |
buff | |||
) |
serialize message into buffer :param buff: buffer, ``StringIO``
Definition at line 58 of file _DatabaseReturnCode.py.
def household_objects_database_msgs.msg._DatabaseReturnCode.DatabaseReturnCode.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 83 of file _DatabaseReturnCode.py.
list household_objects_database_msgs::msg::_DatabaseReturnCode.DatabaseReturnCode::__slots__ = ['code'] [static, private] |
Definition at line 27 of file _DatabaseReturnCode.py.
string household_objects_database_msgs::msg::_DatabaseReturnCode.DatabaseReturnCode::_full_text [static, private] |
"""# return codes for database-related services int32 UNKNOWN_ERROR = 1 int32 DATABASE_NOT_CONNECTED = 2 int32 DATABASE_QUERY_ERROR = 3 int32 SUCCESS = -1 int32 code """
Definition at line 12 of file _DatabaseReturnCode.py.
household_objects_database_msgs::msg::_DatabaseReturnCode.DatabaseReturnCode::_has_header = False [static, private] |
Definition at line 11 of file _DatabaseReturnCode.py.
string household_objects_database_msgs::msg::_DatabaseReturnCode.DatabaseReturnCode::_md5sum = "b649fd6fa3a4e3bf8e3f4b4e648fa0f1" [static, private] |
Definition at line 9 of file _DatabaseReturnCode.py.
list household_objects_database_msgs::msg::_DatabaseReturnCode.DatabaseReturnCode::_slot_types = ['int32'] [static, private] |
Definition at line 28 of file _DatabaseReturnCode.py.
string household_objects_database_msgs::msg::_DatabaseReturnCode.DatabaseReturnCode::_type = "household_objects_database_msgs/DatabaseReturnCode" [static, private] |
Definition at line 10 of file _DatabaseReturnCode.py.
Definition at line 42 of file _DatabaseReturnCode.py.
int household_objects_database_msgs::msg::_DatabaseReturnCode.DatabaseReturnCode::DATABASE_NOT_CONNECTED = 2 [static] |
Definition at line 23 of file _DatabaseReturnCode.py.
int household_objects_database_msgs::msg::_DatabaseReturnCode.DatabaseReturnCode::DATABASE_QUERY_ERROR = 3 [static] |
Definition at line 24 of file _DatabaseReturnCode.py.
int household_objects_database_msgs::msg::_DatabaseReturnCode.DatabaseReturnCode::SUCCESS = 1 [static] |
Definition at line 25 of file _DatabaseReturnCode.py.
int household_objects_database_msgs::msg::_DatabaseReturnCode.DatabaseReturnCode::UNKNOWN_ERROR = 1 [static] |
Definition at line 22 of file _DatabaseReturnCode.py.