Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Static Private Attributes
art_msgs.msg._DriverState.DriverState Class Reference

List of all members.

Public Member Functions

def __init__
def deserialize
def deserialize_numpy
def serialize
def serialize_numpy

Public Attributes

 state

Static Public Attributes

int CLOSED = 0
int OPENED = 1
int RUNNING = 2

Private Member Functions

def _get_types

Static Private Attributes

list __slots__ = ['state']
string _full_text
 _has_header = False
string _md5sum = "92d8e6361001072f038b293728a430f0"
list _slot_types = ['uint32']
string _type = "art_msgs/DriverState"

Detailed Description

Definition at line 8 of file _DriverState.py.


Constructor & Destructor Documentation

def art_msgs.msg._DriverState.DriverState.__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:
   state

: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 32 of file _DriverState.py.


Member Function Documentation

internal API method

Definition at line 54 of file _DriverState.py.

unpack serialized message in str into this message instance
:param str: byte array of serialized message, ``str``

Definition at line 70 of file _DriverState.py.

def art_msgs.msg._DriverState.DriverState.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 96 of file _DriverState.py.

serialize message into buffer
:param buff: buffer, ``StringIO``

Definition at line 60 of file _DriverState.py.

def art_msgs.msg._DriverState.DriverState.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 85 of file _DriverState.py.


Member Data Documentation

Definition at line 29 of file _DriverState.py.

Initial value:
"""# ART driver states -- similar to those in driver_base.

# $Id: DriverState.msg 1161 2011-03-26 02:10:49Z jack.oquin $

# constants
uint32 CLOSED = 0       # Not connected to the hardware
uint32 OPENED = 1       # Passively connected to the hardware
uint32 RUNNING = 2      # Sending hardware commands

uint32 state

"""

Definition at line 12 of file _DriverState.py.

Definition at line 11 of file _DriverState.py.

string art_msgs::msg::_DriverState.DriverState::_md5sum = "92d8e6361001072f038b293728a430f0" [static, private]

Definition at line 9 of file _DriverState.py.

list art_msgs::msg::_DriverState.DriverState::_slot_types = ['uint32'] [static, private]

Definition at line 30 of file _DriverState.py.

string art_msgs::msg::_DriverState.DriverState::_type = "art_msgs/DriverState" [static, private]

Definition at line 10 of file _DriverState.py.

Definition at line 25 of file _DriverState.py.

Definition at line 26 of file _DriverState.py.

Definition at line 27 of file _DriverState.py.

Definition at line 44 of file _DriverState.py.


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


art_msgs
Author(s): Jack O'Quin
autogenerated on Fri Jan 3 2014 11:08:06