16 "implementation_id",
"AutoTestIn",
17 "type_name",
"AutoTestIn",
18 "description",
"Sample component for auto-test",
21 "category",
"example",
22 "activity_type",
"PERIODIC",
23 "kind",
"DataFlowComponent",
26 "lang_type",
"compile",
27 "exec_cxt.periodic.rate",
"1.0",
40 m_seqinIn(
"seqin", m_seqin),
41 m_MyServicePort(
"MyService")
104 fout.open(
"received-data");
106 std::cout <<
"Can not open received-data..." << std::endl;
132 fout << std::showpoint;
133 fout << std::setprecision(6);
204 RTC::Create<AutoTestIn>,
205 RTC::Delete<AutoTestIn>);
InPort< TimedFloat > m_inIn
AutoTestIn(RTC::Manager *manager)
constructor
DataFlowComponentBase class.
virtual RTC::ReturnCode_t onActivated(RTC::UniqueId ec_id)
Callback function to activate.
MyServiceSVC_impl m_myservice0
ExecutionContextHandle_t UniqueId
std::string get_echo_message()
Sample component for auto-test.
Class represents a set of properties.
virtual bool isNew()
Check whether the data is newest.
bool addPort(PortBase &port)
[local interface] Register Port
virtual RTC::ReturnCode_t onExecute(RTC::UniqueId ec_id)
Callback function to execute periodically.
virtual RTC::ReturnCode_t onDeactivated(RTC::UniqueId ec_id)
Callback function to deactivate.
virtual RTC::ReturnCode_t onInitialize()
Callback function to initialize.
RTC::CorbaPort m_MyServicePort
bool addInPort(const char *name, InPortBase &inport)
[local interface] Register DataInPort
void AutoTestInInit(RTC::Manager *manager)
bool registerFactory(coil::Properties &profile, RtcNewFunc new_func, RtcDeleteFunc delete_func)
Register RT-Component Factory.
InPort< TimedFloatSeq > m_seqinIn
bool read()
Readout the value from DataPort.
bool registerProvider(const char *instance_name, const char *type_name, PortableServer::RefCountServantBase &provider)
Register the provider.
static const char * autotestin_spec[]