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

Class Header

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

Instance Methods
 
__eq__(self, other) (Inherited from genpy.message.Message)
 
__getstate__(self)
support for Python pickling (Inherited from genpy.message.Message)
 
__init__(self, *args, **kwds)
Constructor.
 
__repr__(self)
repr(x) (Inherited from genpy.message.Message)
 
__setstate__(self, state)
support for Python pickling (Inherited from genpy.message.Message)
 
__str__(self)
str(x) (Inherited from genpy.message.Message)
 
deserialize(self, str)
unpack serialized message in str into this message instance :param str: byte array of serialized message, ``str``
 
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
 
serialize(self, buff)
serialize message into buffer :param buff: buffer, ``StringIO``
 
serialize_numpy(self, buff, numpy)
serialize message with numpy array types into buffer :param buff: buffer, ``StringIO`` :param numpy: numpy python module

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 :param str: byte array of serialized message, ``str``

Overrides: genpy.message.Message.deserialize

serialize(self, buff)

 

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

Overrides: genpy.message.Message.serialize