test_roscpp_serialization::msg::_Constants::Constants Class Reference

List of all members.

Public Member Functions

def __init__
def deserialize
def deserialize_numpy
def serialize
def serialize_numpy

Static Public Attributes

int a = 1
int b = 2
int c = 3
int d = 4
int e = 5
int f = 6
float fa = 1.5
float fb = 40.9
int g = 7
int h = 8
string str = 'hello there'
string str2 = r'this string has "quotes" and \slashes\ in it'

Private Member Functions

def _get_types

Static Private Attributes

list __slots__ = []
string _full_text
 _has_header = False
string _md5sum = "0032309c8dd2c569e0e0d0e75974e750"
list _slot_types = []
string _type = "test_roscpp_serialization/Constants"

Detailed Description

Definition at line 6 of file _Constants.py.


Member Function Documentation

def test_roscpp_serialization::msg::_Constants::Constants::__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:
   

@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 40 of file _Constants.py.

def test_roscpp_serialization::msg::_Constants::Constants::_get_types (   self  )  [private]
internal API method

Definition at line 57 of file _Constants.py.

def test_roscpp_serialization::msg::_Constants::Constants::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 74 of file _Constants.py.

def test_roscpp_serialization::msg::_Constants::Constants::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 100 of file _Constants.py.

def test_roscpp_serialization::msg::_Constants::Constants::serialize (   self,
  buff 
)
serialize message into buffer
@param buff: buffer
@type  buff: StringIO

Definition at line 63 of file _Constants.py.

def test_roscpp_serialization::msg::_Constants::Constants::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 87 of file _Constants.py.


Member Data Documentation

Definition at line 37 of file _Constants.py.

Initial value:
"""uint8 a = 1
int8 b = 2
uint16 c = 3
int16 d = 4
uint32 e = 5
int32 f = 6
uint64 g = 7
int64 h = 8
float32 fa = 1.5
float64 fb = 40.9
string str = hello there
string str2 = this string has "quotes" and \slashes\ in it
"""

Definition at line 10 of file _Constants.py.

Definition at line 9 of file _Constants.py.

string test_roscpp_serialization::msg::_Constants::Constants::_md5sum = "0032309c8dd2c569e0e0d0e75974e750" [static, private]

Definition at line 7 of file _Constants.py.

Definition at line 38 of file _Constants.py.

string test_roscpp_serialization::msg::_Constants::Constants::_type = "test_roscpp_serialization/Constants" [static, private]

Definition at line 8 of file _Constants.py.

Definition at line 24 of file _Constants.py.

Definition at line 25 of file _Constants.py.

Definition at line 26 of file _Constants.py.

Definition at line 27 of file _Constants.py.

Definition at line 28 of file _Constants.py.

Definition at line 29 of file _Constants.py.

Definition at line 32 of file _Constants.py.

Definition at line 33 of file _Constants.py.

Definition at line 30 of file _Constants.py.

Definition at line 31 of file _Constants.py.

Definition at line 34 of file _Constants.py.

string test_roscpp_serialization::msg::_Constants::Constants::str2 = r'this string has "quotes" and \slashes\ in it' [static]

Definition at line 35 of file _Constants.py.


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


test_roscpp_serialization
Author(s): Josh Faust
autogenerated on Fri Jan 11 09:10:53 2013