cob_light::msg::_Light::Light Class Reference

List of all members.

Public Member Functions

def __init__
def deserialize
def deserialize_numpy
def serialize
def serialize_numpy

Public Attributes

 b
 g
 header
 name
 r

Private Member Functions

def _get_types

Static Private Attributes

list __slots__ = ['header','name','r','g','b']
string _full_text
 _has_header = True
string _md5sum = "e51b5950a9179e0c23b2354a9b1b804b"
list _slot_types = ['Header','std_msgs/String','int16','int16','int16']
string _type = "cob_light/Light"

Detailed Description

Definition at line 7 of file _Light.py.


Member Function Documentation

def cob_light::msg::_Light::Light::__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,name,r,g,b

@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 44 of file _Light.py.

def cob_light::msg::_Light::Light::_get_types (   self  )  [private]
internal API method

Definition at line 78 of file _Light.py.

def cob_light::msg::_Light::Light::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 104 of file _Light.py.

def cob_light::msg::_Light::Light::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 163 of file _Light.py.

def cob_light::msg::_Light::Light::serialize (   self,
  buff 
)
serialize message into buffer
@param buff: buffer
@type  buff: StringIO

Definition at line 84 of file _Light.py.

def cob_light::msg::_Light::Light::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 141 of file _Light.py.


Member Data Documentation

list cob_light::msg::_Light::Light::__slots__ = ['header','name','r','g','b'] [static, private]

Definition at line 41 of file _Light.py.

Initial value:
"""# this message specifies a color in rgb color space ranging from 0 to 999.
Header header
std_msgs/String name
int16 r
int16 g
int16 b

================================================================================
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

================================================================================
MSG: std_msgs/String
string data

"""

Definition at line 11 of file _Light.py.

Definition at line 10 of file _Light.py.

string cob_light::msg::_Light::Light::_md5sum = "e51b5950a9179e0c23b2354a9b1b804b" [static, private]

Definition at line 8 of file _Light.py.

list cob_light::msg::_Light::Light::_slot_types = ['Header','std_msgs/String','int16','int16','int16'] [static, private]

Definition at line 42 of file _Light.py.

string cob_light::msg::_Light::Light::_type = "cob_light/Light" [static, private]

Definition at line 9 of file _Light.py.

Definition at line 70 of file _Light.py.

Definition at line 68 of file _Light.py.

Definition at line 62 of file _Light.py.

Definition at line 64 of file _Light.py.

Definition at line 66 of file _Light.py.


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


cob_light
Author(s): Florian Weisshardt
autogenerated on Fri Jan 11 09:35:46 2013