Public Member Functions | Public Attributes | Private Member Functions | Static Private Attributes
theora_image_transport.msg._Packet.Packet Class Reference

List of all members.

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 = ['std_msgs/Header','uint8[]','int32','int32','int64','int64']
string _type = "theora_image_transport/Packet"

Detailed Description

Definition at line 9 of file _Packet.py.


Constructor & Destructor Documentation

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 45 of file _Packet.py.


Member Function Documentation

internal API method

Definition at line 82 of file _Packet.py.

unpack serialized message in str into this message instance
:param str: byte array of serialized message, ``str``

Definition at line 114 of file _Packet.py.

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 181 of file _Packet.py.

serialize message into buffer
:param buff: buffer, ``StringIO``

Definition at line 88 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, ``StringIO``
:param numpy: numpy python module

Definition at line 154 of file _Packet.py.


Member Data Documentation

Definition at line 42 of file _Packet.py.

Initial value:
"""# 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 13 of file _Packet.py.

Definition at line 12 of file _Packet.py.

string theora_image_transport::msg::_Packet.Packet::_md5sum = "33ac4e14a7cff32e7e0d65f18bb410f3" [static, private]

Definition at line 10 of file _Packet.py.

list theora_image_transport::msg::_Packet.Packet::_slot_types = ['std_msgs/Header','uint8[]','int32','int32','int64','int64'] [static, private]

Definition at line 43 of file _Packet.py.

string theora_image_transport::msg::_Packet.Packet::_type = "theora_image_transport/Packet" [static, private]

Definition at line 11 of file _Packet.py.

Definition at line 57 of file _Packet.py.

Definition at line 57 of file _Packet.py.

Definition at line 57 of file _Packet.py.

Definition at line 57 of file _Packet.py.

Definition at line 57 of file _Packet.py.

Definition at line 57 of file _Packet.py.


The documentation for this class was generated from the following file:


theora_image_transport
Author(s): Patrick Mihelich, Ethan Dreyfuss
autogenerated on Sat Dec 28 2013 17:06:15