Classes | Functions | Variables
cxx_gen Namespace Reference

Classes

class  cxx_gen
 
class  idl2char
 

Functions

def CreateActivityFuncs (dict)
 
def CreateConsumerIDL (dict)
 
def CreateServiceIDL (dict)
 
def CreateSuffix (opts, dict)
 
def description ()
 
def get_opt_fmt ()
 
def PortInitializer (dict)
 
def usage ()
 
def usage_short ()
 

Variables

 bind_config = \
 
string comp_compsrc
 
string comp_header
 
string comp_soruce
 
 config_declare = \
 
 consumer_declare = \
 
string consumer_stub_h
 
 corbaport_declare = \
 
string initializer
 
 inport_declare = \
 
string makefile
 
string module_spec
 
 outport_declare = \
 
 registration = \
 
 service_declare = \
 
string service_impl_h
 

Function Documentation

◆ CreateActivityFuncs()

def cxx_gen.CreateActivityFuncs (   dict)

Definition at line 672 of file cxx_gen.py.

◆ CreateConsumerIDL()

def cxx_gen.CreateConsumerIDL (   dict)

Definition at line 650 of file cxx_gen.py.

◆ CreateServiceIDL()

def cxx_gen.CreateServiceIDL (   dict)

Definition at line 637 of file cxx_gen.py.

◆ CreateSuffix()

def cxx_gen.CreateSuffix (   opts,
  dict 
)

Definition at line 622 of file cxx_gen.py.

◆ description()

def cxx_gen.description ( )

Definition at line 27 of file cxx_gen.py.

◆ get_opt_fmt()

def cxx_gen.get_opt_fmt ( )

Definition at line 92 of file cxx_gen.py.

◆ PortInitializer()

def cxx_gen.PortInitializer (   dict)

Definition at line 694 of file cxx_gen.py.

◆ usage()

def cxx_gen.usage ( )
C++ generator specific usage

Definition at line 42 of file cxx_gen.py.

◆ usage_short()

def cxx_gen.usage_short ( )
C++ generator specific usage (short version)

Definition at line 30 of file cxx_gen.py.

Variable Documentation

◆ bind_config

cxx_gen.bind_config = \

Definition at line 608 of file cxx_gen.py.

◆ comp_compsrc

string cxx_gen.comp_compsrc

Definition at line 299 of file cxx_gen.py.

◆ comp_header

string cxx_gen.comp_header

Definition at line 102 of file cxx_gen.py.

◆ comp_soruce

string cxx_gen.comp_soruce

Definition at line 230 of file cxx_gen.py.

◆ config_declare

cxx_gen.config_declare = \

Definition at line 523 of file cxx_gen.py.

◆ consumer_declare

cxx_gen.consumer_declare = \

Definition at line 552 of file cxx_gen.py.

◆ consumer_stub_h

string cxx_gen.consumer_stub_h
Initial value:
1 = """[for cidl in consumer_idl][if-any cidl.stub_h]
2 #include "[cidl.stub_h]"
3 [endif][endfor]"""

Definition at line 500 of file cxx_gen.py.

◆ corbaport_declare

cxx_gen.corbaport_declare = \

Definition at line 540 of file cxx_gen.py.

◆ initializer

string cxx_gen.initializer
Initial value:
1 = """ : RTC::DataFlowComponentBase(manager)[if-any port_init],
2 [for port in port_init]
3 [if-any port.portType]
4 [if port.portType is DataInPort]
5  m_[port.name]In("[port.name]", m_[port.name])[if-index port is last][else],[endif]
6 
7 [endif]
8 [if port.portType is DataOutPort]
9  m_[port.name]Out("[port.name]", m_[port.name])[if-index port is last][else],[endif]
10 
11 [endif]
12 [else]
13  m_[port.name]Port("[port.name]")[if-index port is last][else],[endif]
14 
15 [endif]
16 [endfor]
17 [else][endif]
18 """

Definition at line 559 of file cxx_gen.py.

◆ inport_declare

cxx_gen.inport_declare = \

Definition at line 528 of file cxx_gen.py.

◆ makefile

string cxx_gen.makefile

Definition at line 397 of file cxx_gen.py.

◆ module_spec

string cxx_gen.module_spec
Initial value:
1 = """static const char* [l_name]_spec[] =
2  {
3  "implementation_id", "[basicInfo.name]",
4  "type_name", "[basicInfo.name]",
5  "description", "[basicInfo.description]",
6  "version", "[basicInfo.version]",
7  "vendor", "[basicInfo.vendor]",
8  "category", "[basicInfo.category]",
9  "activity_type", "[basicInfo.activityType]",
10  "kind", "[basicInfo.componentKind]",
11  "max_instance", "[basicInfo.maxInstances]",
12  "language", "C++",
13  "lang_type", "compile",
14  // Configuration variables
15 [for config in configurationSet.configuration] "conf.default.[config.name]", "[config.defaultValue]",
16 [endfor]
17  ""
18  };"""

Definition at line 504 of file cxx_gen.py.

◆ outport_declare

cxx_gen.outport_declare = \

Definition at line 534 of file cxx_gen.py.

◆ registration

cxx_gen.registration = \

Definition at line 578 of file cxx_gen.py.

◆ service_declare

cxx_gen.service_declare = \

Definition at line 545 of file cxx_gen.py.

◆ service_impl_h

string cxx_gen.service_impl_h
Initial value:
1 = """[for sidl in service_idl]#include "[sidl.impl_h]"
2 [endfor]"""

Definition at line 498 of file cxx_gen.py.



openrtm_aist
Author(s): Noriaki Ando
autogenerated on Mon Feb 28 2022 23:00:46