Public Member Functions | |
def | __init__ |
def | deserialize |
def | deserialize_numpy |
def | serialize |
def | serialize_numpy |
Public Attributes | |
b_o_s | |
data | |
e_o_s | |
granulepos | |
header | |
packetno | |
Private Member Functions | |
def | _get_types |
Static Private Attributes | |
list | __slots__ = ['header','data','b_o_s','e_o_s','granulepos','packetno'] |
string | _full_text |
_has_header = True | |
string | _md5sum = "33ac4e14a7cff32e7e0d65f18bb410f3" |
list | _slot_types = ['Header','uint8[]','int32','int32','int64','int64'] |
string | _type = "theora_image_transport/Packet" |
Definition at line 7 of file _Packet.py.
def theora_image_transport::msg::_Packet::Packet::__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: header,data,b_o_s,e_o_s,granulepos,packetno @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 43 of file _Packet.py.
def theora_image_transport::msg::_Packet::Packet::_get_types | ( | self | ) | [private] |
internal API method
Definition at line 80 of file _Packet.py.
def theora_image_transport::msg::_Packet::Packet::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 110 of file _Packet.py.
def theora_image_transport::msg::_Packet::Packet::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 171 of file _Packet.py.
def theora_image_transport::msg::_Packet::Packet::serialize | ( | self, | ||
buff | ||||
) |
serialize message into buffer @param buff: buffer @type buff: StringIO
Definition at line 86 of file _Packet.py.
def theora_image_transport::msg::_Packet::Packet::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 145 of file _Packet.py.
list theora_image_transport::msg::_Packet::Packet::__slots__ = ['header','data','b_o_s','e_o_s','granulepos','packetno'] [static, private] |
Definition at line 40 of file _Packet.py.
string theora_image_transport::msg::_Packet::Packet::_full_text [static, private] |
"""# ROS message adaptation of the ogg_packet struct from libogg, # see http://www.xiph.org/ogg/doc/libogg/ogg_packet.html. Header header # Original sensor_msgs/Image header uint8[] data # Raw Theora packet data (combines packet and bytes fields from ogg_packet) int32 b_o_s # Flag indicating whether this packet begins a logical bitstream int32 e_o_s # Flag indicating whether this packet ends a bitstream int64 granulepos # A number indicating the position of this packet in the decoded data int64 packetno # Sequential number of this packet in the ogg bitstream ================================================================================ MSG: std_msgs/Header # Standard metadata for higher-level stamped data types. # This is generally used to communicate timestamped data # in a particular coordinate frame. # # sequence ID: consecutively increasing ID uint32 seq #Two-integer timestamp that is expressed as: # * stamp.secs: seconds (stamp_secs) since epoch # * stamp.nsecs: nanoseconds since stamp_secs # time-handling sugar is provided by the client library time stamp #Frame this data is associated with # 0: no frame # 1: global frame string frame_id """
Definition at line 11 of file _Packet.py.
theora_image_transport::msg::_Packet::Packet::_has_header = True [static, private] |
Definition at line 10 of file _Packet.py.
string theora_image_transport::msg::_Packet::Packet::_md5sum = "33ac4e14a7cff32e7e0d65f18bb410f3" [static, private] |
Definition at line 8 of file _Packet.py.
list theora_image_transport::msg::_Packet::Packet::_slot_types = ['Header','uint8[]','int32','int32','int64','int64'] [static, private] |
Definition at line 41 of file _Packet.py.
string theora_image_transport::msg::_Packet::Packet::_type = "theora_image_transport/Packet" [static, private] |
Definition at line 9 of file _Packet.py.
Definition at line 65 of file _Packet.py.
Definition at line 63 of file _Packet.py.
Definition at line 67 of file _Packet.py.
Definition at line 69 of file _Packet.py.
Definition at line 61 of file _Packet.py.
Definition at line 71 of file _Packet.py.