17 "implementation_id",
"ConsoleIn",
18 "type_name",
"ConsoleIn",
19 "description",
"Console input component",
21 "vendor",
"Noriaki Ando, AIST",
22 "category",
"example",
23 "activity_type",
"DataFlowComponent",
26 "lang_type",
"compile",
34 m_outOut(
"out", m_out)
66 std::cout <<
"Please input number: ";
67 std::cin >>
m_out.data;
68 std::cout <<
"Sending to subscriber: " <<
m_out.data << std::endl;
82 RTC::Create<ConsoleIn>,
83 RTC::Delete<ConsoleIn>);
DataFlowComponentBase class.
ConsoleIn(RTC::Manager *manager)
bool addOutPort(const char *name, OutPortBase &outport)
[local interface] Register DataOutPort
ExecutionContextHandle_t UniqueId
void ConsoleInInit(RTC::Manager *manager)
static const char * consolein_spec[]
virtual RTC::ReturnCode_t onExecute(RTC::UniqueId ec_id)
Callback function to execute periodically.
Class represents a set of properties.
virtual RTC::ReturnCode_t onInitialize()
Callback function to initialize.
virtual bool write(DataType &value)
Write data.
OutPort< TimedLong > m_outOut
bool registerFactory(coil::Properties &profile, RtcNewFunc new_func, RtcDeleteFunc delete_func)
Register RT-Component Factory.