Classes | |
class | DependencyVisitor |
class | InterfaceNameVisitor |
class | ServiceVisitor |
Functions | |
def | convertFunctionCode |
def | genBridgeComponent |
def | getCppTypeText |
def | getROSTypeText |
def | outputMsg |
def | outputSrv |
def | ServiceBridgeFunction |
Variables | |
tuple | basedir = os.path.split(idldir) |
string | convert_functions |
int | CPP_FULL = 2 |
string | dest = "overwrite" |
string | help = "target idl file" |
tuple | idldir = os.path.split(idlfile) |
idlfile = options.idlfile | |
string | multiarray_conversion |
dictionary | MultiArrayTypeNameMap |
int | NOT_FULL = 0 |
tuple | parser = OptionParser() |
pkgname = options.package_name | |
int | ROS_FULL = 1 |
string | sppath = "/usr/lib/omniidl" |
tmpdir = options.tmpdir | |
dictionary | TypeNameMap |
def idl2srv.convertFunctionCode | ( | self, | |
interface | |||
) |
Definition at line 334 of file idl2srv.py.
def idl2srv.genBridgeComponent | ( | self, | |
interface | |||
) |
Definition at line 451 of file idl2srv.py.
def idl2srv.getCppTypeText | ( | self, | |
typ, | |||
out = False , |
|||
full = NOT_FULL |
|||
) |
Definition at line 162 of file idl2srv.py.
def idl2srv.getROSTypeText | ( | self, | |
typ | |||
) |
Definition at line 204 of file idl2srv.py.
def idl2srv.outputMsg | ( | self, | |
typ | |||
) |
Definition at line 260 of file idl2srv.py.
def idl2srv.outputSrv | ( | self, | |
op | |||
) |
Definition at line 309 of file idl2srv.py.
def idl2srv.ServiceBridgeFunction | ( | self, | |
op, | |||
ifname, | |||
pkgname | |||
) |
Definition at line 362 of file idl2srv.py.
tuple idl2srv::basedir = os.path.split(idldir) |
Definition at line 675 of file idl2srv.py.
string idl2srv::convert_functions |
Definition at line 55 of file idl2srv.py.
int idl2srv::CPP_FULL = 2 |
Definition at line 131 of file idl2srv.py.
string idl2srv::dest = "overwrite" |
Definition at line 653 of file idl2srv.py.
string idl2srv::help = "target idl file" |
Definition at line 649 of file idl2srv.py.
tuple idl2srv::idldir = os.path.split(idlfile) |
Definition at line 674 of file idl2srv.py.
tuple idl2srv::idlfile = options.idlfile |
Definition at line 669 of file idl2srv.py.
Definition at line 95 of file idl2srv.py.
dictionary idl2srv::MultiArrayTypeNameMap |
00001 { # for ROS msg/srv 00002 idltype.tk_char: 'std_msgs/Int8MultiArray', 00003 idltype.tk_octet: 'std_msgs/Uint8MultiArray', 00004 idltype.tk_wchar: 'std_msgs/Int16MultiArray', 00005 idltype.tk_short: 'std_msgs/Int16MultiArray', 00006 idltype.tk_ushort: 'std_msgs/Uint16MultiArray', 00007 idltype.tk_long: 'std_msgs/Int32MultiArray', 00008 idltype.tk_ulong: 'std_msgs/Uint32MultiArray', 00009 idltype.tk_longlong: 'std_msgs/Int64MultiArray', 00010 idltype.tk_ulonglong:'std_msgs/Uint64MultiArray', 00011 idltype.tk_float: 'std_msgs/Float32MultiArray', 00012 idltype.tk_double: 'std_msgs/Float64MultiArray', 00013 idltype.tk_string: 'openrtm_ros_bridge/StringMultiArray'}
Definition at line 39 of file idl2srv.py.
int idl2srv::NOT_FULL = 0 |
Definition at line 129 of file idl2srv.py.
tuple idl2srv::parser = OptionParser() |
Definition at line 647 of file idl2srv.py.
tuple idl2srv::pkgname = options.package_name |
Definition at line 677 of file idl2srv.py.
int idl2srv::ROS_FULL = 1 |
Definition at line 130 of file idl2srv.py.
string idl2srv::sppath = "/usr/lib/omniidl" |
Definition at line 8 of file idl2srv.py.
idl2srv::tmpdir = options.tmpdir |
Definition at line 672 of file idl2srv.py.
dictionary idl2srv::TypeNameMap |
00001 { # for ROS msg/srv 00002 idltype.tk_boolean: 'bool', 00003 idltype.tk_char: 'int8', 00004 idltype.tk_octet: 'uint8', 00005 idltype.tk_wchar: 'int16', 00006 idltype.tk_short: 'int16', 00007 idltype.tk_ushort: 'uint16', 00008 idltype.tk_long: 'int32', 00009 idltype.tk_ulong: 'uint32', 00010 idltype.tk_longlong: 'int64', 00011 idltype.tk_ulonglong: 'uint64', 00012 idltype.tk_float: 'float32', 00013 idltype.tk_double: 'float64', 00014 idltype.tk_string: 'string', 00015 idltype.tk_wstring: 'string', 00016 idltype.tk_any: 'string', # ?? 00017 idltype.tk_TypeCode: 'uint64', # ?? 00018 idltype.tk_enum: 'uint64'}
Definition at line 20 of file idl2srv.py.