warehouse::msg::_UpdateNotification::UpdateNotification Class Reference

List of all members.

Public Member Functions

def __init__
def deserialize
def deserialize_numpy
def serialize
def serialize_numpy

Public Attributes

 id
 metadata
 sender
 update_type

Static Public Attributes

int NEW_MESSAGE = 0
int UPDATE_METADATA = 1

Private Member Functions

def _get_types

Static Private Attributes

list __slots__ = ['update_type','id','sender','metadata']
string _full_text
 _has_header = False
string _md5sum = "9c55c20e6f692ac1b71cfd0548a7ecba"
list _slot_types = ['int8','string','string','string']
string _type = "warehouse/UpdateNotification"

Detailed Description

Definition at line 6 of file _UpdateNotification.py.


Member Function Documentation

def warehouse::msg::_UpdateNotification::UpdateNotification::__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:
   update_type,id,sender,metadata

@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 35 of file _UpdateNotification.py.

def warehouse::msg::_UpdateNotification::UpdateNotification::_get_types (   self  )  [private]
internal API method

Definition at line 66 of file _UpdateNotification.py.

def warehouse::msg::_UpdateNotification::UpdateNotification::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 92 of file _UpdateNotification.py.

def warehouse::msg::_UpdateNotification::UpdateNotification::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 148 of file _UpdateNotification.py.

def warehouse::msg::_UpdateNotification::UpdateNotification::serialize (   self,
  buff 
)
serialize message into buffer
@param buff: buffer
@type  buff: StringIO

Definition at line 72 of file _UpdateNotification.py.

def warehouse::msg::_UpdateNotification::UpdateNotification::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 126 of file _UpdateNotification.py.


Member Data Documentation

Definition at line 32 of file _UpdateNotification.py.

Initial value:
"""## Represents an update to a warehouse collection

int8 NEW_MESSAGE=0
int8 UPDATE_METADATA=1

# Is this a new message or an update?
int8 update_type

# A unique id (within the db) for the new or updated message
string id

# The fully qualified ROS name of the node that caused this change
string sender

# Metadata of the new or updated message
string metadata

"""

Definition at line 10 of file _UpdateNotification.py.

Definition at line 9 of file _UpdateNotification.py.

string warehouse::msg::_UpdateNotification::UpdateNotification::_md5sum = "9c55c20e6f692ac1b71cfd0548a7ecba" [static, private]

Definition at line 7 of file _UpdateNotification.py.

list warehouse::msg::_UpdateNotification::UpdateNotification::_slot_types = ['int8','string','string','string'] [static, private]

Definition at line 33 of file _UpdateNotification.py.

Definition at line 8 of file _UpdateNotification.py.

Definition at line 55 of file _UpdateNotification.py.

Definition at line 59 of file _UpdateNotification.py.

Definition at line 29 of file _UpdateNotification.py.

Definition at line 57 of file _UpdateNotification.py.

Definition at line 30 of file _UpdateNotification.py.

Definition at line 53 of file _UpdateNotification.py.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Defines


warehouse
Author(s): Nate Koenig, Bhaskara Marthi
autogenerated on Fri Jan 11 10:09:03 2013