Public Member Functions | Public Attributes | Private Member Functions | Static Private Attributes
shared_serial.msg._Send.Send Class Reference

List of all members.

Public Member Functions

def __init__
def deserialize
def deserialize_numpy
def serialize
def serialize_numpy

Public Attributes

 data
 socket
 timeout

Private Member Functions

def _get_types

Static Private Attributes

list __slots__ = ['socket','data','timeout']
string _full_text
 _has_header = False
string _md5sum = "9488c54395f85f0662ca59801f32b45a"
list _slot_types = ['uint32','uint8[]','float32']
string _type = "shared_serial/Send"

Detailed Description

Definition at line 8 of file _Send.py.


Constructor & Destructor Documentation

def shared_serial.msg._Send.Send.__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:
   socket,data,timeout

: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 28 of file _Send.py.


Member Function Documentation

def shared_serial.msg._Send.Send._get_types (   self) [private]
internal API method

Definition at line 56 of file _Send.py.

def shared_serial.msg._Send.Send.deserialize (   self,
  str 
)
unpack serialized message in str into this message instance
:param str: byte array of serialized message, ``str``

Definition at line 80 of file _Send.py.

def shared_serial.msg._Send.Send.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 126 of file _Send.py.

def shared_serial.msg._Send.Send.serialize (   self,
  buff 
)
serialize message into buffer
:param buff: buffer, ``StringIO``

Definition at line 62 of file _Send.py.

def shared_serial.msg._Send.Send.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 107 of file _Send.py.


Member Data Documentation

Definition at line 25 of file _Send.py.

Initial value:
"""# Send data to serial port.

# Eeither 0 (connectionless) or an unexpired socket identifier
# from an earlier communication.
uint32  socket

# Data to be sent.
uint8[] data

# Number of seconds to keep the port locked after this communication.
float32 timeout

"""

Definition at line 12 of file _Send.py.

Definition at line 11 of file _Send.py.

string shared_serial::msg::_Send.Send::_md5sum = "9488c54395f85f0662ca59801f32b45a" [static, private]

Definition at line 9 of file _Send.py.

list shared_serial::msg::_Send.Send::_slot_types = ['uint32','uint8[]','float32'] [static, private]

Definition at line 26 of file _Send.py.

string shared_serial::msg::_Send.Send::_type = "shared_serial/Send" [static, private]

Definition at line 10 of file _Send.py.

Definition at line 40 of file _Send.py.

Definition at line 40 of file _Send.py.

Definition at line 40 of file _Send.py.


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


shared_serial
Author(s): Wouter Caarls
autogenerated on Sun Jan 5 2014 11:06:48