Public Member Functions | Public Attributes | Private Member Functions | Static Private Attributes
shared_serial.msg._Flush.Flush Class Reference

List of all members.

Public Member Functions

def __init__
def deserialize
def deserialize_numpy
def serialize
def serialize_numpy

Public Attributes

 socket
 timeout

Private Member Functions

def _get_types

Static Private Attributes

list __slots__ = ['socket','timeout']
string _full_text
 _has_header = False
string _md5sum = "998caebd95b1820bc38f9812484a09de"
list _slot_types = ['uint32','float32']
string _type = "shared_serial/Flush"

Detailed Description

Definition at line 8 of file _Flush.py.


Constructor & Destructor Documentation

def shared_serial.msg._Flush.Flush.__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,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 25 of file _Flush.py.


Member Function Documentation

internal API method

Definition at line 50 of file _Flush.py.

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

Definition at line 67 of file _Flush.py.

def shared_serial.msg._Flush.Flush.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 95 of file _Flush.py.

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

Definition at line 56 of file _Flush.py.

def shared_serial.msg._Flush.Flush.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 83 of file _Flush.py.


Member Data Documentation

Definition at line 22 of file _Flush.py.

Initial value:
"""# Flush serial port.

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

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

"""

Definition at line 12 of file _Flush.py.

Definition at line 11 of file _Flush.py.

string shared_serial::msg::_Flush.Flush::_md5sum = "998caebd95b1820bc38f9812484a09de" [static, private]

Definition at line 9 of file _Flush.py.

list shared_serial::msg::_Flush.Flush::_slot_types = ['uint32','float32'] [static, private]

Definition at line 23 of file _Flush.py.

string shared_serial::msg::_Flush.Flush::_type = "shared_serial/Flush" [static, private]

Definition at line 10 of file _Flush.py.

Definition at line 37 of file _Flush.py.

Definition at line 37 of file _Flush.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