24 #define ROOT_FILE "etc/body.dat"
27 const bool CONTROLLER_BRIDGE_DEBUG =
false;
35 "implementation_id",
"SampleRH2",
36 "type_name",
"SampleRH2",
37 "description",
"Sample RH2 component",
40 "category",
"Generic",
41 "activity_type",
"DataFlowComponent",
44 "lang_type",
"compile",
52 :
RTC::DataFlowComponentBase(manager),
54 m_root_transOut(
"root_trans", m_root_trans)
57 if( CONTROLLER_BRIDGE_DEBUG )
59 std::cout <<
"SampleRH2::SampleRH2" << std::endl;
83 if( CONTROLLER_BRIDGE_DEBUG )
85 std::cout <<
"onInitialize" << std::endl;
123 std::cout <<
"on Activated" << std::endl;
135 std::cout <<
"on Deactivated" << std::endl;
143 if( CONTROLLER_BRIDGE_DEBUG )
145 std::cout <<
"SampleRH2::onExecute" << std::endl;
155 for(
int i=0;
i<4;
i++)
211 std::cerr <<
ROOT_FILE <<
" not opened" << std::endl;
230 manager->registerFactory(
profile,
231 RTC::Create<SampleRH2>,
232 RTC::Delete<SampleRH2>);