joy::msg::_Joy::Joy Class Reference

List of all members.

Public Member Functions

def __init__
def deserialize
def deserialize_numpy
def serialize
def serialize_numpy

Public Attributes

 axes
 buttons

Private Member Functions

def _get_types

Static Private Attributes

list __slots__ = ['axes','buttons']
string _full_text
 _has_header = False
string _md5sum = "e3ef016fcdf22397038b36036c66f7c8"
list _slot_types = ['float32[]','int32[]']
string _type = "joy/Joy"

Detailed Description

Definition at line 6 of file _Joy.py.


Member Function Documentation

def joy::msg::_Joy::Joy::__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:
   axes,buttons

@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 17 of file _Joy.py.

def joy::msg::_Joy::Joy::_get_types (   self  )  [private]
internal API method

Definition at line 42 of file _Joy.py.

def joy::msg::_Joy::Joy::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 66 of file _Joy.py.

def joy::msg::_Joy::Joy::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 113 of file _Joy.py.

def joy::msg::_Joy::Joy::serialize (   self,
  buff 
)
serialize message into buffer
@param buff: buffer
@type  buff: StringIO

Definition at line 48 of file _Joy.py.

def joy::msg::_Joy::Joy::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 93 of file _Joy.py.


Member Data Documentation

list joy::msg::_Joy::Joy::__slots__ = ['axes','buttons'] [static, private]

Definition at line 14 of file _Joy.py.

string joy::msg::_Joy::Joy::_full_text [static, private]
Initial value:
"""float32[] axes
int32[] buttons

"""

Definition at line 10 of file _Joy.py.

joy::msg::_Joy::Joy::_has_header = False [static, private]

Definition at line 9 of file _Joy.py.

string joy::msg::_Joy::Joy::_md5sum = "e3ef016fcdf22397038b36036c66f7c8" [static, private]

Definition at line 7 of file _Joy.py.

list joy::msg::_Joy::Joy::_slot_types = ['float32[]','int32[]'] [static, private]

Definition at line 15 of file _Joy.py.

string joy::msg::_Joy::Joy::_type = "joy/Joy" [static, private]

Definition at line 8 of file _Joy.py.

Definition at line 35 of file _Joy.py.

Definition at line 37 of file _Joy.py.


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


joy
Author(s): Morgan Quigley, Brian Gerkey, Kevin Watts and Blaise Gassend
autogenerated on Fri Jan 11 09:53:43 2013