#include <MyServiceConsumer.h>
Classes | |
class | echo_functor |
struct | seq_print |
class | set_value_functor |
Public Member Functions | |
MyServiceConsumer (RTC::Manager *manager) | |
virtual RTC::ReturnCode_t | onExecute (RTC::UniqueId ec_id) |
Callback function to execute periodically. | |
virtual RTC::ReturnCode_t | onInitialize () |
Callback function to initialize. | |
~MyServiceConsumer () | |
Protected Attributes | |
RTC::CorbaConsumer < SimpleService::MyService > | m_myservice0 |
RTC::CorbaPort | m_MyServicePort |
Private Attributes | |
coil::Async * | async_echo |
coil::Async * | async_set_value |
std::string | m_result |
Definition at line 35 of file MyServiceConsumer.h.
MyServiceConsumer::MyServiceConsumer | ( | RTC::Manager * | manager | ) |
Definition at line 35 of file MyServiceConsumer.cpp.
Definition at line 44 of file MyServiceConsumer.cpp.
RTC::ReturnCode_t MyServiceConsumer::onExecute | ( | RTC::UniqueId | exec_handle | ) | [virtual] |
Callback function to execute periodically.
This is a callback function that is executed when DataFlowComponentAction::on_execute is invoked.
As for actual periodic execution of each component, since this function is dummy-implemented to return RTC::RTC_OK unconditionally, you need to implement this function by overriding it. This function is invoked periodically as the first execution pass of Two-Pass Execution in Periodic Sampled Data Processing.
exec_handle | ID of the participant ExecutionContext |
Reimplemented from RTC::RTObject_impl.
Definition at line 106 of file MyServiceConsumer.cpp.
RTC::ReturnCode_t MyServiceConsumer::onInitialize | ( | void | ) | [virtual] |
Callback function to initialize.
This is a callback function that is executed when ComponentAction::on_initialize was invoked.
As for actual initialization of each component, since this function is dummy-implemented to return RTC::RTC_OK unconditionally, you need to implement this function by overriding it.
Reimplemented from RTC::RTObject_impl.
Definition at line 49 of file MyServiceConsumer.cpp.
coil::Async* MyServiceConsumer::async_echo [private] |
Definition at line 190 of file MyServiceConsumer.h.
coil::Async* MyServiceConsumer::async_set_value [private] |
Definition at line 189 of file MyServiceConsumer.h.
RTC::CorbaConsumer<SimpleService::MyService> MyServiceConsumer::m_myservice0 [protected] |
Definition at line 116 of file MyServiceConsumer.h.
RTC::CorbaPort MyServiceConsumer::m_MyServicePort [protected] |
Definition at line 105 of file MyServiceConsumer.h.
std::string MyServiceConsumer::m_result [private] |
Definition at line 191 of file MyServiceConsumer.h.