std_msgs :: msg :: _Header :: Header :: Class Header

Class Header

            object --+    
                     |    
roslib.message.Message --+
                         |
                        Header

Instance Methods
 
__eq__(self, other) (Inherited from roslib.message.Message)
 
__getstate__(self)
support for Python pickling (Inherited from roslib.message.Message)
 
__init__(self, *args, **kwds)
Constructor.
 
__repr__(self)
repr(x) (Inherited from roslib.message.Message)
 
__setstate__(self, state)
support for Python pickling (Inherited from roslib.message.Message)
 
__str__(self)
str(x) (Inherited from roslib.message.Message)
 
deserialize(self, str)
unpack serialized message in str into this message instance
 
deserialize_numpy(self, str, numpy)
unpack serialized message in str into this message instance using numpy for array types
 
serialize(self, buff)
serialize message into buffer
 
serialize_numpy(self, buff, numpy)
serialize message with numpy array types into buffer

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Properties
  frame_id
  seq
  stamp

Inherited from object: __class__

Method Details

__init__(self, *args, **kwds)
(Constructor)

 

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:
   seq,stamp,frame_id

@param args: complete set of field values, in .msg order
@param kwds: use keyword arguments corresponding to message field names
to set specific fields. 

Overrides: object.__init__

deserialize(self, str)

 

unpack serialized message in str into this message instance

Parameters:
  • str (str) - byte array of serialized message
Overrides: roslib.message.Message.deserialize

deserialize_numpy(self, str, numpy)

 

unpack serialized message in str into this message instance using numpy for array types

Parameters:
  • str (str) - byte array of serialized message
  • numpy (module) - numpy python module

serialize(self, buff)

 

serialize message into buffer

Parameters:
  • buff (StringIO) - buffer
Overrides: roslib.message.Message.serialize

serialize_numpy(self, buff, numpy)

 

serialize message with numpy array types into buffer

Parameters:
  • buff (StringIO) - buffer
  • numpy - numpy python module @type numpy module