Classes | Functions | Variables
idl2srv Namespace Reference

Classes

class  DependencyVisitor
 
class  InterfaceNameVisitor
 
class  ServiceVisitor
 

Functions

def convertFunctionCode (self, interface)
 
def genBridgeComponent (self, interface)
 
def getCppTypeText (self, typ, out=False, full=NOT_FULL)
 
def getROSTypeText (self, typ)
 
def outputMsg (self, typ)
 
def outputSrv (self, op)
 
def ServiceBridgeFunction (self, op, ifname, pkgname)
 

Variables

 action
 
 args
 
 basedir = os.path.split(idldir)[0]
 
string convert_functions
 
int CPP_FULL = 2
 
 default
 
 dest
 
 fd = os.popen('/usr/bin/omnicpp %s "%s"' % (option, idlfile), 'r')
 
 help
 
 idldir = os.path.split(idlfile)[0]
 
 idlfile = options.idlfile
 
 metavar
 
string multiarray_conversion
 
dictionary MultiArrayTypeNameMap
 
int NOT_FULL = 0
 
string option = ' '
 
 options
 
 parser = OptionParser()
 
 pathlist = options.idlpath.strip('"')
 
 pkgname = options.package_name
 
int ROS_FULL = 1
 
string sppath = "/usr/lib/omniidl"
 
 tmpdir = options.tmpdir
 
 tree = _omniidl.compile(fd, idlfile)
 
 type
 
dictionary TypeNameMap
 

Function Documentation

def idl2srv.convertFunctionCode (   self,
  interface 
)

Definition at line 339 of file idl2srv.py.

def idl2srv.genBridgeComponent (   self,
  interface 
)

Definition at line 465 of file idl2srv.py.

def idl2srv.getCppTypeText (   self,
  typ,
  out = False,
  full = NOT_FULL 
)

Definition at line 167 of file idl2srv.py.

def idl2srv.getROSTypeText (   self,
  typ 
)

Definition at line 209 of file idl2srv.py.

def idl2srv.outputMsg (   self,
  typ 
)

Definition at line 265 of file idl2srv.py.

def idl2srv.outputSrv (   self,
  op 
)

Definition at line 314 of file idl2srv.py.

def idl2srv.ServiceBridgeFunction (   self,
  op,
  ifname,
  pkgname 
)

Definition at line 367 of file idl2srv.py.

Variable Documentation

idl2srv.action

Definition at line 671 of file idl2srv.py.

idl2srv.args

Definition at line 686 of file idl2srv.py.

idl2srv.basedir = os.path.split(idldir)[0]

Definition at line 694 of file idl2srv.py.

string idl2srv.convert_functions

Definition at line 60 of file idl2srv.py.

int idl2srv.CPP_FULL = 2

Definition at line 136 of file idl2srv.py.

idl2srv.default

Definition at line 672 of file idl2srv.py.

idl2srv.dest

Definition at line 667 of file idl2srv.py.

idl2srv.fd = os.popen('/usr/bin/omnicpp %s "%s"' % (option, idlfile), 'r')

Definition at line 707 of file idl2srv.py.

idl2srv.help

Definition at line 668 of file idl2srv.py.

idl2srv.idldir = os.path.split(idlfile)[0]

Definition at line 693 of file idl2srv.py.

idl2srv.idlfile = options.idlfile

Definition at line 688 of file idl2srv.py.

idl2srv.metavar

Definition at line 668 of file idl2srv.py.

string idl2srv.multiarray_conversion

Definition at line 100 of file idl2srv.py.

dictionary idl2srv.MultiArrayTypeNameMap
Initial value:
1 = { # for ROS msg/srv
2  idltype.tk_char: 'std_msgs/Int8MultiArray',
3  idltype.tk_octet: 'std_msgs/Uint8MultiArray',
4  idltype.tk_wchar: 'std_msgs/Int16MultiArray',
5  idltype.tk_short: 'std_msgs/Int16MultiArray',
6  idltype.tk_ushort: 'std_msgs/Uint16MultiArray',
7  idltype.tk_long: 'std_msgs/Int32MultiArray',
8  idltype.tk_ulong: 'std_msgs/Uint32MultiArray',
9  idltype.tk_longlong: 'std_msgs/Int64MultiArray',
10  idltype.tk_ulonglong:'std_msgs/Uint64MultiArray',
11  idltype.tk_float: 'std_msgs/Float32MultiArray',
12  idltype.tk_double: 'std_msgs/Float64MultiArray',
13  idltype.tk_string: 'openrtm_ros_bridge/StringMultiArray'}

Definition at line 44 of file idl2srv.py.

int idl2srv.NOT_FULL = 0

Definition at line 134 of file idl2srv.py.

string idl2srv.option = ' '

Definition at line 703 of file idl2srv.py.

idl2srv.options

Definition at line 686 of file idl2srv.py.

idl2srv.parser = OptionParser()

Definition at line 666 of file idl2srv.py.

idl2srv.pathlist = options.idlpath.strip('"')

Definition at line 702 of file idl2srv.py.

idl2srv.pkgname = options.package_name

Definition at line 696 of file idl2srv.py.

int idl2srv.ROS_FULL = 1

Definition at line 135 of file idl2srv.py.

string idl2srv.sppath = "/usr/lib/omniidl"

Definition at line 13 of file idl2srv.py.

idl2srv.tmpdir = options.tmpdir

Definition at line 691 of file idl2srv.py.

idl2srv.tree = _omniidl.compile(fd, idlfile)

Definition at line 709 of file idl2srv.py.

idl2srv.type

Definition at line 680 of file idl2srv.py.

dictionary idl2srv.TypeNameMap
Initial value:
1 = { # for ROS msg/srv
2  idltype.tk_boolean: 'bool',
3  idltype.tk_char: 'int8',
4  idltype.tk_octet: 'uint8',
5  idltype.tk_wchar: 'int16',
6  idltype.tk_short: 'int16',
7  idltype.tk_ushort: 'uint16',
8  idltype.tk_long: 'int32',
9  idltype.tk_ulong: 'uint32',
10  idltype.tk_longlong: 'int64',
11  idltype.tk_ulonglong: 'uint64',
12  idltype.tk_float: 'float32',
13  idltype.tk_double: 'float64',
14  idltype.tk_string: 'string',
15  idltype.tk_wstring: 'string',
16  idltype.tk_any: 'string', # ??
17  idltype.tk_TypeCode: 'uint64', # ??
18  idltype.tk_enum: 'uint64'}

Definition at line 25 of file idl2srv.py.



rtmbuild
Author(s): Kei Okada , Manabu Saito
autogenerated on Mon May 10 2021 02:31:01