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)
101 std::cout <<
"Please input number: ";
102 std::cin >>
m_out.data;
117 RTC::Create<ConsoleIn>,
118 RTC::Delete<ConsoleIn>);
#define RTC_ERROR(fmt)
Error log output macro.
void addConnectorDataListener(ConnectorDataListenerType listener_type, ConnectorDataListener *listener, bool autoclean=true)
Adding BufferDataListener type listener.
void addConnectorListener(ConnectorListenerType callback_type, ConnectorListener *listener, bool autoclean=true)
Adding ConnectorListener type listener.
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)
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.
static const char * consolein_spec[]