13 "implementation_id",
"Controller",
14 "type_name",
"Controller",
15 "description",
"Controller component",
17 "vendor",
"Noriaki Ando, AIST",
18 "category",
"example",
19 "activity_type",
"SPORADIC",
20 "kind",
"DataFlowComponent",
23 "lang_type",
"compile",
33 m_outOut(
"out", m_out)
105 std::cout <<
"Controller Received data: " <<
m_in.data << std::endl;
152 RTC::Create<Controller>,
153 RTC::Delete<Controller>);
static const char * controller_spec[]
virtual RTC::ReturnCode_t onExecute(RTC::UniqueId ec_id)
Callback function to execute periodically.
DataFlowComponentBase class.
InPort< TimedFloat > m_inIn
bool addOutPort(const char *name, OutPortBase &outport)
[local interface] Register DataOutPort
void ControllerInit(RTC::Manager *manager)
ExecutionContextHandle_t UniqueId
OutPort< TimedFloat > m_outOut
Class represents a set of properties.
virtual bool isNew()
Check whether the data is newest.
virtual bool write(DataType &value)
Write data.
virtual RTC::ReturnCode_t onInitialize()
Callback function to initialize.
bool addInPort(const char *name, InPortBase &inport)
[local interface] Register DataInPort
Controller(RTC::Manager *manager)
bool registerFactory(coil::Properties &profile, RtcNewFunc new_func, RtcDeleteFunc delete_func)
Register RT-Component Factory.
bool read()
Readout the value from DataPort.