All Classes Namespaces Files Functions Variables Typedefs
Public Member Functions | Public Attributes | Private Member Functions | Static Private Attributes | List of all members
Grijper.msg._command.command Class Reference
Inheritance diagram for Grijper.msg._command.command:
Inheritance graph
[legend]

Public Member Functions

def __init__
 
def deserialize
 
def deserialize_numpy
 
def serialize
 
def serialize_numpy
 

Public Attributes

 cmd
 
 force
 

Private Member Functions

def _get_types
 

Static Private Attributes

list __slots__ = ['cmd','force']
 
string _full_text
 
 _has_header = False
 
string _md5sum = "eb00b428ff12135fc9b18d757044344c"
 
list _slot_types = ['string','float32']
 
string _type = "Grijper/command"
 

Detailed Description

Definition at line 8 of file _command.py.

Constructor & Destructor Documentation

def Grijper.msg._command.command.__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:
   cmd,force

: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 18 of file _command.py.

Member Function Documentation

def Grijper.msg._command.command._get_types (   self)
private
internal API method

Definition at line 43 of file _command.py.

def Grijper.msg._command.command.deserialize (   self,
  str 
)
unpack serialized message in str into this message instance
:param str: byte array of serialized message, ``str``

Definition at line 65 of file _command.py.

def Grijper.msg._command.command.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

Definition at line 106 of file _command.py.

def Grijper.msg._command.command.serialize (   self,
  buff 
)
serialize message into buffer
:param buff: buffer, ``StringIO``

Definition at line 49 of file _command.py.

def Grijper.msg._command.command.serialize_numpy (   self,
  buff,
  numpy 
)
serialize message with numpy array types into buffer
:param buff: buffer, ``StringIO``
:param numpy: numpy python module

Definition at line 89 of file _command.py.

Member Data Documentation

list Grijper.msg._command.command.__slots__ = ['cmd','force']
staticprivate

Definition at line 15 of file _command.py.

string Grijper.msg._command.command._full_text
staticprivate
Initial value:
1 = """string cmd
2 float32 force
3 """

Definition at line 12 of file _command.py.

Grijper.msg._command.command._has_header = False
staticprivate

Definition at line 11 of file _command.py.

string Grijper.msg._command.command._md5sum = "eb00b428ff12135fc9b18d757044344c"
staticprivate

Definition at line 9 of file _command.py.

list Grijper.msg._command.command._slot_types = ['string','float32']
staticprivate

Definition at line 16 of file _command.py.

string Grijper.msg._command.command._type = "Grijper/command"
staticprivate

Definition at line 10 of file _command.py.

Grijper.msg._command.command.cmd

Definition at line 36 of file _command.py.

Grijper.msg._command.command.force

Definition at line 38 of file _command.py.


The documentation for this class was generated from the following file:


Grijper
Author(s): Stijn van Schooten, Wybren ten Cate, Florens Kreuk, Jan Wymenga,Joris Coenen, Roy Groot
autogenerated on Thu Oct 3 2013 22:59:42