#include <ConfigSample.h>
Public Member Functions | |
ConfigSample (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. | |
~ConfigSample () | |
Protected Attributes | |
double | m_double_param0 |
double | m_double_param1 |
int | m_int_param0 |
int | m_int_param1 |
std::string | m_str_param0 |
std::string | m_str_param1 |
std::vector< double > | m_vector_param0 |
Definition at line 32 of file ConfigSample.h.
ConfigSample::ConfigSample | ( | RTC::Manager * | manager | ) |
Definition at line 49 of file ConfigSample.cpp.
Definition at line 57 of file ConfigSample.cpp.
RTC::ReturnCode_t ConfigSample::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 135 of file ConfigSample.cpp.
RTC::ReturnCode_t ConfigSample::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 62 of file ConfigSample.cpp.
double ConfigSample::m_double_param0 [protected] |
Definition at line 93 of file ConfigSample.h.
double ConfigSample::m_double_param1 [protected] |
Definition at line 94 of file ConfigSample.h.
int ConfigSample::m_int_param0 [protected] |
Definition at line 91 of file ConfigSample.h.
int ConfigSample::m_int_param1 [protected] |
Definition at line 92 of file ConfigSample.h.
std::string ConfigSample::m_str_param0 [protected] |
Definition at line 95 of file ConfigSample.h.
std::string ConfigSample::m_str_param1 [protected] |
Definition at line 96 of file ConfigSample.h.
std::vector<double> ConfigSample::m_vector_param0 [protected] |
Definition at line 97 of file ConfigSample.h.