[openrtm-commit:01141] r451 - branches/work_ForRTMSafety/rtmtools/jp.go.aist.rtm.rtcbuilder.safety/src/jp/go/aist/rtm/rtcbuilder/safety/template/safety
openrtm @ openrtm.org
openrtm @ openrtm.org
2014年 1月 5日 (日) 02:56:26 JST
Author: win-ei
Date: 2014-01-05 02:56:26 +0900 (Sun, 05 Jan 2014)
New Revision: 451
Added:
branches/work_ForRTMSafety/rtmtools/jp.go.aist.rtm.rtcbuilder.safety/src/jp/go/aist/rtm/rtcbuilder/safety/template/safety/Safety_RTC.h.vsl
Log:
Daily work.
Added: branches/work_ForRTMSafety/rtmtools/jp.go.aist.rtm.rtcbuilder.safety/src/jp/go/aist/rtm/rtcbuilder/safety/template/safety/Safety_RTC.h.vsl
===================================================================
--- branches/work_ForRTMSafety/rtmtools/jp.go.aist.rtm.rtcbuilder.safety/src/jp/go/aist/rtm/rtcbuilder/safety/template/safety/Safety_RTC.h.vsl (rev 0)
+++ branches/work_ForRTMSafety/rtmtools/jp.go.aist.rtm.rtcbuilder.safety/src/jp/go/aist/rtm/rtcbuilder/safety/template/safety/Safety_RTC.h.vsl 2014-01-04 17:56:26 UTC (rev 451)
@@ -0,0 +1,498 @@
+// -*- C++ -*-
+/*!
+ * @file ${rtcParam.name}.h
+ * @brief ${rtcParam.description}
+ * @date ${dol}Date${dol}
+#parse("${template}/cpp/_doc.vsl")
+ * ${dol}Id${dol}
+ */
+
+${sharp}ifndef ${rtcParam.name.toUpperCase()}_H
+${sharp}define ${rtcParam.name.toUpperCase()}_H
+
+${sharp}include <rtm/Manager.h>
+${sharp}include <rtm/${rtcParam.componentKind}Base.h>
+${sharp}include <rtm/CorbaPort.h>
+${sharp}include <rtm/DataInPort.h>
+${sharp}include <rtm/DataOutPort.h>
+${sharp}include <rtm/idl/BasicDataTypeSkel.h>
+${sharp}include <rtm/idl/ExtendedDataTypesSkel.h>
+${sharp}include <rtm/idl/InterfaceDataTypesSkel.h>
+
+// Service implementation headers
+// <rtc-template block="service_impl_h">
+#foreach($providerIdlFile in ${rtcParam.providerIdlPathes})
+${sharp}include "${tmpltHelper.getFilenameNoExt(${providerIdlFile.idlFile})}${tmpltHelper.serviceImplSuffix}.h"
+#end
+
+// </rtc-template>
+
+// Service Consumer stub headers
+// <rtc-template block="consumer_stub_h">
+#foreach($consumerIdlFile in ${rtcParam.consumerIdlPathes})
+${sharp}include "${tmpltHelper.getFilenameNoExt(${consumerIdlFile.idlFile})}${tmpltHelper.serviceStubSuffix}.h"
+#end
+
+// </rtc-template>
+
+using namespace RTC;
+#foreach($type in ${cXXConv.getPortModules(${rtcParam})})
+${cXXConv.getDataportUsingNamespace(${type})}
+#end
+
+/*!
+ * @class ${rtcParam.name}
+ * @brief ${rtcParam.description}
+#if( ${rtcParam.docDescription.length()} > 0 )
+ *
+ * ${tmpltHelper.convertDoc(${rtcParam.docDescription})}
+#end
+#if( ${rtcParam.docInOut.length()} > 0 )
+ *
+ * ${tmpltHelper.convertDoc(${rtcParam.docInOut})}
+#end
+#if( ${rtcParam.docAlgorithm.length()} > 0 )
+ *
+ * ${tmpltHelper.convertDoc(${rtcParam.docAlgorithm})}
+#end
+#if( ${rtcParam.docReference.length()} > 0 )
+ *
+ * ${tmpltHelper.convertDoc(${rtcParam.docReference})}
+#end
+ *
+ */
+class ${rtcParam.name}
+ : public RTC::${rtcParam.componentKind}Base
+{
+ public:
+ /*!
+ * @brief constructor
+ * @param manager Maneger Object
+ */
+ ${rtcParam.name}(RTC::Manager* manager);
+
+ /*!
+ * @brief destructor
+ */
+ ~${rtcParam.name}();
+
+ // <rtc-template block="public_attribute">
+#foreach($publicAttribute in ${rtcParam.publicAttributes})
+ ${publicAttribute}
+#end
+
+ // </rtc-template>
+
+ // <rtc-template block="public_operation">
+#foreach($publicOperation in ${rtcParam.publicOperations})
+ ${publicOperation}
+#end
+
+ // </rtc-template>
+
+ /***
+#if(${rtcParam.getDocActionOverView(0).length()}>0) * ${tmpltHelper.convertDescDoc(${rtcParam.getDocActionOverView(0)})}
+#end
+ *
+ * The initialize action (on CREATED->ALIVE transition)
+ * formaer rtc_init_entry()
+ *
+ * @return RTC::ReturnCode_t
+ *
+#if(${rtcParam.getDocActionPreCondition(0).length()}>0) * @pre ${tmpltHelper.convertPreDoc(${rtcParam.getDocActionPreCondition(0)})}
+#end
+#if(${rtcParam.getDocActionPostCondition(0).length()}>0) * @post ${tmpltHelper.convertPostDoc(${rtcParam.getDocActionPostCondition(0)})}
+#end
+ *
+ */
+ #if(${rtcParam.configParams.size()}==0 && ${rtcParam.IsNotImplemented(0)} && ${rtcParam.inports.size()}==0 && ${rtcParam.outports.size()}==0 && ${rtcParam.servicePorts.size()}==0)//#end virtual RTC::ReturnCode_t onInitialize();
+
+ /***
+#if(${rtcParam.getDocActionOverView(0).length()}>0) * ${tmpltHelper.convertDescDoc(${rtcParam.getDocActionOverView(1)})}
+#end
+ *
+ * The finalize action (on ALIVE->END transition)
+ * formaer rtc_exiting_entry()
+ *
+ * @return RTC::ReturnCode_t
+ *
+#if(${rtcParam.getDocActionPreCondition(1).length()}>0) * @pre ${tmpltHelper.convertPreDoc(${rtcParam.getDocActionPreCondition(1)})}
+#end
+#if(${rtcParam.getDocActionPostCondition(1).length()}>0) * @post ${tmpltHelper.convertPostDoc(${rtcParam.getDocActionPostCondition(1)})}
+#end
+ *
+ */
+ #if(${rtcParam.IsNotImplemented(1)})//#end virtual RTC::ReturnCode_t onFinalize();
+
+ /***
+#if(${rtcParam.getDocActionOverView(2).length()}>0) * ${tmpltHelper.convertDescDoc(${rtcParam.getDocActionOverView(2)})}
+#end
+ *
+ * The startup action when ExecutionContext startup
+ * former rtc_starting_entry()
+ *
+ * @param ec_id target ExecutionContext Id
+ *
+ * @return RTC::ReturnCode_t
+ *
+#if(${rtcParam.getDocActionPreCondition(2).length()}>0) * @pre ${tmpltHelper.convertPreDoc(${rtcParam.getDocActionPreCondition(2)})}
+#end
+#if(${rtcParam.getDocActionPostCondition(2).length()}>0) * @post ${tmpltHelper.convertPostDoc(${rtcParam.getDocActionPostCondition(2)})}
+#end
+ *
+ */
+ #if(${rtcParam.IsNotImplemented(2)})//#end virtual RTC::ReturnCode_t onStartup(RTC::UniqueId ec_id);
+
+ /***
+#if(${rtcParam.getDocActionOverView(3).length()}>0) * ${tmpltHelper.convertDescDoc(${rtcParam.getDocActionOverView(3)})}
+#end
+ *
+ * The shutdown action when ExecutionContext stop
+ * former rtc_stopping_entry()
+ *
+ * @param ec_id target ExecutionContext Id
+ *
+ * @return RTC::ReturnCode_t
+ *
+#if(${rtcParam.getDocActionPreCondition(3).length()}>0) * @pre ${tmpltHelper.convertPreDoc(${rtcParam.getDocActionPreCondition(3)})}
+#end
+#if(${rtcParam.getDocActionPostCondition(3).length()}>0) * @post ${tmpltHelper.convertPostDoc(${rtcParam.getDocActionPostCondition(3)})}
+#end
+ *
+ */
+ #if(${rtcParam.IsNotImplemented(3)})//#end virtual RTC::ReturnCode_t onShutdown(RTC::UniqueId ec_id);
+
+ /***
+#if(${rtcParam.getDocActionOverView(4).length()}>0) * ${tmpltHelper.convertDescDoc(${rtcParam.getDocActionOverView(4)})}
+#end
+ *
+ * The activated action (Active state entry action)
+ * former rtc_active_entry()
+ *
+ * @param ec_id target ExecutionContext Id
+ *
+ * @return RTC::ReturnCode_t
+ *
+#if(${rtcParam.getDocActionPreCondition(4).length()}>0) * @pre ${tmpltHelper.convertPreDoc(${rtcParam.getDocActionPreCondition(4)})}
+#end
+#if(${rtcParam.getDocActionPostCondition(4).length()}>0) * @post ${tmpltHelper.convertPostDoc(${rtcParam.getDocActionPostCondition(4)})}
+#end
+ *
+ */
+ #if(${rtcParam.IsNotImplemented(4)})//#end virtual RTC::ReturnCode_t onActivated(RTC::UniqueId ec_id);
+
+ /***
+#if(${rtcParam.getDocActionOverView(5).length()}>0) * ${tmpltHelper.convertDescDoc(${rtcParam.getDocActionOverView(5)})}
+#end
+ *
+ * The deactivated action (Active state exit action)
+ * former rtc_active_exit()
+ *
+ * @param ec_id target ExecutionContext Id
+ *
+ * @return RTC::ReturnCode_t
+ *
+#if(${rtcParam.getDocActionPreCondition(5).length()}>0) * @pre ${tmpltHelper.convertPreDoc(${rtcParam.getDocActionPreCondition(5)})}
+#end
+#if(${rtcParam.getDocActionPostCondition(5).length()}>0) * @post ${tmpltHelper.convertPostDoc(${rtcParam.getDocActionPostCondition(5)})}
+#end
+ *
+ */
+ #if(${rtcParam.IsNotImplemented(5)})//#end virtual RTC::ReturnCode_t onDeactivated(RTC::UniqueId ec_id);
+
+ /***
+#if(${rtcParam.getDocActionOverView(9).length()}>0) * ${tmpltHelper.convertDescDoc(${rtcParam.getDocActionOverView(9)})}
+#end
+ *
+ * The execution action that is invoked periodically
+ * former rtc_active_do()
+ *
+ * @param ec_id target ExecutionContext Id
+ *
+ * @return RTC::ReturnCode_t
+ *
+#if(${rtcParam.getDocActionPreCondition(9).length()}>0) * @pre ${tmpltHelper.convertPreDoc(${rtcParam.getDocActionPreCondition(9)})}
+#end
+#if(${rtcParam.getDocActionPostCondition(9).length()}>0) * @post ${tmpltHelper.convertPostDoc(${rtcParam.getDocActionPostCondition(9)})}
+#end
+ *
+ */
+ #if(${rtcParam.IsNotImplemented(9)})//#end virtual RTC::ReturnCode_t onExecute(RTC::UniqueId ec_id);
+
+ /***
+#if(${rtcParam.getDocActionOverView(6).length()}>0) * ${tmpltHelper.convertDescDoc(${rtcParam.getDocActionOverView(6)})}
+#end
+ *
+ * The aborting action when main logic error occurred.
+ * former rtc_aborting_entry()
+ *
+ * @param ec_id target ExecutionContext Id
+ *
+ * @return RTC::ReturnCode_t
+ *
+#if(${rtcParam.getDocActionPreCondition(6).length()}>0) * @pre ${tmpltHelper.convertPreDoc(${rtcParam.getDocActionPreCondition(6)})}
+#end
+#if(${rtcParam.getDocActionPostCondition(6).length()}>0) * @post ${tmpltHelper.convertPostDoc(${rtcParam.getDocActionPostCondition(6)})}
+#end
+ *
+ */
+ #if(${rtcParam.IsNotImplemented(6)})//#end virtual RTC::ReturnCode_t onAborting(RTC::UniqueId ec_id);
+
+ /***
+#if(${rtcParam.getDocActionOverView(7).length()}>0) * ${tmpltHelper.convertDescDoc(${rtcParam.getDocActionOverView(7)})}
+#end
+ *
+ * The error action in ERROR state
+ * former rtc_error_do()
+ *
+ * @param ec_id target ExecutionContext Id
+ *
+ * @return RTC::ReturnCode_t
+ *
+#if(${rtcParam.getDocActionPreCondition(7).length()}>0) * @pre ${tmpltHelper.convertPreDoc(${rtcParam.getDocActionPreCondition(7)})}
+#end
+#if(${rtcParam.getDocActionPostCondition(7).length()}>0) * @post ${tmpltHelper.convertPostDoc(${rtcParam.getDocActionPostCondition(7)})}
+#end
+ *
+ */
+ #if(${rtcParam.IsNotImplemented(7)})//#end virtual RTC::ReturnCode_t onError(RTC::UniqueId ec_id);
+
+ /***
+#if(${rtcParam.getDocActionOverView(8).length()}>0) * ${tmpltHelper.convertDescDoc(${rtcParam.getDocActionOverView(8)})}
+#end
+ *
+ * The reset action that is invoked resetting
+ * This is same but different the former rtc_init_entry()
+ *
+ * @param ec_id target ExecutionContext Id
+ *
+ * @return RTC::ReturnCode_t
+ *
+#if(${rtcParam.getDocActionPreCondition(8).length()}>0) * @pre ${tmpltHelper.convertPreDoc(${rtcParam.getDocActionPreCondition(8)})}
+#end
+#if(${rtcParam.getDocActionPostCondition(8).length()}>0) * @post ${tmpltHelper.convertPostDoc(${rtcParam.getDocActionPostCondition(8)})}
+#end
+ *
+ */
+ #if(${rtcParam.IsNotImplemented(8)})//#end virtual RTC::ReturnCode_t onReset(RTC::UniqueId ec_id);
+
+ /***
+#if(${rtcParam.getDocActionOverView(10).length()}>0) * ${tmpltHelper.convertDescDoc(${rtcParam.getDocActionOverView(10)})}
+#end
+ *
+ * The state update action that is invoked after onExecute() action
+ * no corresponding operation exists in OpenRTm-aist-0.2.0
+ *
+ * @param ec_id target ExecutionContext Id
+ *
+ * @return RTC::ReturnCode_t
+ *
+#if(${rtcParam.getDocActionPreCondition(10).length()}>0) * @pre ${tmpltHelper.convertPreDoc(${rtcParam.getDocActionPreCondition(10)})}
+#end
+#if(${rtcParam.getDocActionPostCondition(10).length()}>0) * @post ${tmpltHelper.convertPostDoc(${rtcParam.getDocActionPostCondition(10)})}
+#end
+ *
+ */
+ #if(${rtcParam.IsNotImplemented(10)})//#end virtual RTC::ReturnCode_t onStateUpdate(RTC::UniqueId ec_id);
+
+ /***
+#if(${rtcParam.getDocActionOverView(11).length()}>0) * ${tmpltHelper.convertDescDoc(${rtcParam.getDocActionOverView(11)})}
+#end
+ *
+ * The action that is invoked when execution context's rate is changed
+ * no corresponding operation exists in OpenRTm-aist-0.2.0
+ *
+ * @param ec_id target ExecutionContext Id
+ *
+ * @return RTC::ReturnCode_t
+ *
+#if(${rtcParam.getDocActionPreCondition(11).length()}>0) * @pre ${tmpltHelper.convertPreDoc(${rtcParam.getDocActionPreCondition(11)})}
+#end
+#if(${rtcParam.getDocActionPostCondition(11).length()}>0) * @post ${tmpltHelper.convertPostDoc(${rtcParam.getDocActionPostCondition(11)})}
+#end
+ *
+ */
+ #if(${rtcParam.IsNotImplemented(11)})//#end virtual RTC::ReturnCode_t onRateChanged(RTC::UniqueId ec_id);
+
+
+ protected:
+ // <rtc-template block="protected_attribute">
+#foreach($protectedAttribute in ${rtcParam.protectedAttributes})
+ ${protectedAttribute}
+#end
+
+ // </rtc-template>
+
+ // <rtc-template block="protected_operation">
+#foreach($protectedOperation in ${rtcParam.protectedOperations})
+ ${protectedOperation}
+#end
+
+ // </rtc-template>
+
+ // Configuration variable declaration
+ // <rtc-template block="config_declare">
+#if( ${rtcParam.configParams.size()} > 0 )
+#foreach($configParam in ${rtcParam.configParams})
+ /*!
+ * ${tmpltHelper.convertDescDoc(${configParam.docDescription})}
+ * - Name: ${configParam.docDataName} ${configParam.tmplVarName}
+ * - DefaultValue: ${configParam.defaultVal}
+#if(${configParam.docUnit.length()}>0) * - Unit: ${tmpltHelper.convertUnitDoc(${configParam.docUnit})}
+#end
+#if(${configParam.docRange.length()}>0) * - Range: ${tmpltHelper.convertRangeDoc(${configParam.docRange})}
+#end
+#if(${configParam.docConstraint.length()}>0) * - Constraint: ${tmpltHelper.convertConstraintDoc(${configParam.docConstraint})}
+#end
+ */
+ ${cXXConv.convConfigSetType(${configParam.type})} ${rtcParam.commonPrefix}${rtcParam.configurationPrefix}${configParam.tmplVarName}${rtcParam.configurationSuffix}${rtcParam.commonSuffix};
+#end
+#end
+
+ // </rtc-template>
+
+ // DataInPort declaration
+ // <rtc-template block="inport_declare">
+#foreach($port in ${rtcParam.inports})
+#if(${port.type}!="") ${port.type} ${rtcParam.commonPrefix}${rtcParam.dataPortPrefix}${port.tmplVarName}${rtcParam.dataPortSuffix}${rtcParam.commonSuffix};
+ /*!
+#if(${port.docDescription.length()}>0) * ${tmpltHelper.convertDescDoc(${port.docDescription})}
+#end
+#if(${port.docType.length()}>0) * - Type: ${tmpltHelper.convertTypeDoc(${port.docType})}
+#end
+#if(${port.docNum.length()}>0) * - Number: ${tmpltHelper.convertNumberDoc(${port.docNum})}
+#end
+#if(${port.docSemantics.length()}>0) * - Semantics: ${tmpltHelper.convertSemanticsDoc(${port.docSemantics})}
+#end
+#if(${port.docUnit.length()}>0) * - Unit: ${tmpltHelper.convertUnitDoc(${port.docUnit})}
+#end
+#if(${port.docOccurrence.length()}>0) * - Frequency: ${tmpltHelper.convertFrequencyDoc(${port.docOccurrence})}
+#end
+#if(${port.docOperation.length()}>0) * - Operation Cycle: ${tmpltHelper.convertCycleDoc(${port.docOperation})}
+#end
+ */
+ InPort<${port.type}> ${rtcParam.commonPrefix}${rtcParam.dataPortPrefix}${port.tmplVarName}In${rtcParam.dataPortSuffix}${rtcParam.commonSuffix};
+#end
+#end
+
+ // </rtc-template>
+
+
+ // DataOutPort declaration
+ // <rtc-template block="outport_declare">
+#foreach($port in ${rtcParam.outports})
+#if(${port.type}!="") ${port.type} ${rtcParam.commonPrefix}${rtcParam.dataPortPrefix}${port.tmplVarName}${rtcParam.dataPortSuffix}${rtcParam.commonSuffix};
+ /*!
+#if(${port.docDescription.length()}>0) * ${tmpltHelper.convertDescDoc(${port.docDescription})}
+#end
+#if(${port.docType.length()}>0) * - Type: ${tmpltHelper.convertTypeDoc(${port.docType})}
+#end
+#if(${port.docNum.length()}>0) * - Number: ${tmpltHelper.convertNumberDoc(${port.docNum})}
+#end
+#if(${port.docSemantics.length()}>0) * - Semantics: ${tmpltHelper.convertSemanticsDoc(${port.docSemantics})}
+#end
+#if(${port.docUnit.length()}>0) * - Unit: ${tmpltHelper.convertUnitDoc(${port.docUnit})}
+#end
+#if(${port.docOccurrence.length()}>0) * - Frequency: ${tmpltHelper.convertFrequencyDoc(${port.docOccurrence})}
+#end
+#if(${port.docOperation.length()}>0) * - Operation Cycle: ${tmpltHelper.convertCycleDoc(${port.docOperation})}
+#end
+ */
+ OutPort<${port.type}> ${rtcParam.commonPrefix}${rtcParam.dataPortPrefix}${port.tmplVarName}Out${rtcParam.dataPortSuffix}${rtcParam.commonSuffix};
+#end
+#end
+
+ // </rtc-template>
+
+ // CORBA Port declaration
+ // <rtc-template block="corbaport_declare">
+#if(${rtcParam.servicePorts.size()}>0)
+#foreach($servicePort in ${rtcParam.servicePorts})
+#if(${servicePort.servicePortInterfaces.size()}>0)
+ /*!
+#if(${servicePort.docDescription.length()}>0) * ${tmpltHelper.convertDescDoc(${servicePort.docDescription})}
+#end
+#if(${servicePort.docIfDescription.length()}>0) * Interface: ${tmpltHelper.convertInterfaceDoc(${servicePort.docIfDescription})}
+#end
+ */
+ RTC::CorbaPort ${rtcParam.commonPrefix}${rtcParam.servicePortPrefix}${servicePort.name}Port${rtcParam.servicePortSuffix}${rtcParam.commonSuffix};
+#end#end#end
+
+ // </rtc-template>
+
+ // Service declaration
+ // <rtc-template block="service_declare">
+#if(${rtcParam.servicePorts.size()}>0)
+#foreach($servicePort in ${rtcParam.servicePorts})
+#if(${servicePort.servicePortInterfaces.size()}>0)
+#foreach($serviceInterface in ${servicePort.servicePortInterfaces})
+#if(${serviceInterface.index}==0)
+ /*!
+#if(${serviceInterface.docDescription.length()}>0) * ${tmpltHelper.convertDescDoc(${serviceInterface.docDescription})}
+#end
+#if(${serviceInterface.docArgument.length()}>0) * - Argument: ${tmpltHelper.convertInterfaceDetailDoc(${serviceInterface.docArgument})}
+#end
+#if(${serviceInterface.docReturn.length()}>0) * - Return Value: ${tmpltHelper.convertInterfaceDetailDoc(${serviceInterface.docReturn})}
+#end
+#if(${serviceInterface.docException.length()}>0) * - Exception: ${tmpltHelper.convertInterfaceDetailDoc(${serviceInterface.docException})}
+#end
+#if(${serviceInterface.docPreCondition.length()}>0) * - PreCondition: ${tmpltHelper.convertInterfaceDetailDoc(${serviceInterface.docPreCondition})}
+#end
+#if(${serviceInterface.docPostCondition.length()}>0) * - PostCondition: ${tmpltHelper.convertInterfaceDetailDoc(${serviceInterface.docPostCondition})}
+#end
+ */
+ ${serviceInterface.interfaceRawType}${tmpltHelper.serviceImplSuffix} ${rtcParam.commonPrefix}${rtcParam.serviceIFPrefix}${serviceInterface.tmplVarName}${rtcParam.serviceIFSuffix}${rtcParam.commonSuffix};
+#end#end#end#end#end
+
+ // </rtc-template>
+
+ // Consumer declaration
+ // <rtc-template block="consumer_declare">
+#if(${rtcParam.servicePorts.size()}>0)
+#foreach($servicePort in ${rtcParam.servicePorts})
+#if(${servicePort.servicePortInterfaces.size()}>0)
+#foreach($serviceInterface in ${servicePort.servicePortInterfaces})
+#if(${serviceInterface.index}==1)
+ /*!
+#if(${serviceInterface.docDescription.length()}>0) * ${tmpltHelper.convertDescDoc(${serviceInterface.docDescription})}
+#end
+#if(${serviceInterface.docArgument.length()}>0) * - Argument: ${tmpltHelper.convertInterfaceDetailDoc(${serviceInterface.docArgument})}
+#end
+#if(${serviceInterface.docReturn.length()}>0) * - Return Value: ${tmpltHelper.convertInterfaceDetailDoc(${serviceInterface.docReturn})}
+#end
+#if(${serviceInterface.docException.length()}>0) * - Exception: ${tmpltHelper.convertInterfaceDetailDoc(${serviceInterface.docException})}
+#end
+#if(${serviceInterface.docPreCondition.length()}>0) * - PreCondition: ${tmpltHelper.convertInterfaceDetailDoc(${serviceInterface.docPreCondition})}
+#end
+#if(${serviceInterface.docPostCondition.length()}>0) * - PostCondition: ${tmpltHelper.convertInterfaceDetailDoc(${serviceInterface.docPostCondition})}
+#end
+ */
+ RTC::CorbaConsumer<${serviceInterface.interfaceType}> ${rtcParam.commonPrefix}${rtcParam.serviceIFPrefix}${serviceInterface.tmplVarName}${rtcParam.serviceIFSuffix}${rtcParam.commonSuffix};
+#end#end#end#end#end
+
+ // </rtc-template>
+
+ private:
+ // <rtc-template block="private_attribute">
+#foreach($privateAttribute in ${rtcParam.privateAttributes})
+ ${privateAttribute}
+#end
+
+ // </rtc-template>
+
+ // <rtc-template block="private_operation">
+#foreach($privateOperation in ${rtcParam.privateOperations})
+ ${privateOperation}
+#end
+
+ // </rtc-template>
+
+};
+
+
+extern "C"
+{
+ DLL_EXPORT void ${rtcParam.name}Init(RTC::Manager* manager);
+};
+
+#endif // ${rtcParam.name.toUpperCase()}_H
More information about the openrtm-commit
mailing list