#include <Controller.h>
Public Member Functions | |
Controller (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. | |
~Controller () | |
Protected Attributes | |
TimedFloat | m_in |
InPort< TimedFloat > | m_inIn |
TimedFloat | m_out |
OutPort< TimedFloat > | m_outOut |
Definition at line 29 of file Controller.h.
Controller::Controller | ( | RTC::Manager * | manager | ) |
Definition at line 29 of file Controller.cpp.
Definition at line 38 of file Controller.cpp.
RTC::ReturnCode_t Controller::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 101 of file Controller.cpp.
RTC::ReturnCode_t Controller::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 43 of file Controller.cpp.
TimedFloat Controller::m_in [protected] |
Definition at line 92 of file Controller.h.
InPort<TimedFloat> Controller::m_inIn [protected] |
Definition at line 93 of file Controller.h.
TimedFloat Controller::m_out [protected] |
Definition at line 99 of file Controller.h.
OutPort<TimedFloat> Controller::m_outOut [protected] |
Definition at line 100 of file Controller.h.