Public Member Functions | Protected Attributes | Private Attributes
AutoTestIn Class Reference

Sample component for auto-test. More...

#include <AutoTestIn.h>

Inheritance diagram for AutoTestIn:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 AutoTestIn (RTC::Manager *manager)
 constructor
virtual RTC::ReturnCode_t onActivated (RTC::UniqueId ec_id)
 Callback function to activate.
virtual RTC::ReturnCode_t onDeactivated (RTC::UniqueId ec_id)
 Callback function to deactivate.
virtual RTC::ReturnCode_t onExecute (RTC::UniqueId ec_id)
 Callback function to execute periodically.
virtual RTC::ReturnCode_t onInitialize ()
 Callback function to initialize.
 ~AutoTestIn ()
 destructor

Protected Attributes

TimedFloat m_in
InPort< TimedFloat > m_inIn
MyServiceSVC_impl m_myservice0
RTC::CorbaPort m_MyServicePort
TimedFloatSeq m_seqin
InPort< TimedFloatSeq > m_seqinIn

Private Attributes

std::ofstream fout
std::string m_msg

Detailed Description

Sample component for auto-test.

Definition at line 38 of file AutoTestIn.h.


Constructor & Destructor Documentation

constructor

Parameters:
managerManeger Object

Definition at line 36 of file AutoTestIn.cpp.

destructor

Definition at line 50 of file AutoTestIn.cpp.


Member Function Documentation

RTC::ReturnCode_t AutoTestIn::onActivated ( RTC::UniqueId  exec_handle) [virtual]

Callback function to activate.

This is a callback function that is executed when ComponentAction::on_activated was invoked.
As for actual activation of each component, since this function is dummy-implemented to return RTC::RTC_OK unconditionally, you need to implement this function by overriding it.

Parameters:
exec_handleID of the participant ExecutionContext
Returns:
The return code of ReturnCode_t type

Reimplemented from RTC::RTObject_impl.

Definition at line 101 of file AutoTestIn.cpp.

RTC::ReturnCode_t AutoTestIn::onDeactivated ( RTC::UniqueId  exec_handle) [virtual]

Callback function to deactivate.

This is a callback function that is executed when ComponentAction::on_deactivated was invoked.
As for actual deactivation of each component, since this function is dummy-implemented to return RTC::RTC_OK unconditionally, you need to implement this function by overriding it.

Parameters:
exec_handleID of the participant ExecutionContext
Returns:
The return code of ReturnCode_t type

Reimplemented from RTC::RTObject_impl.

Definition at line 113 of file AutoTestIn.cpp.

RTC::ReturnCode_t AutoTestIn::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.

Parameters:
exec_handleID of the participant ExecutionContext
Returns:
The return code of ReturnCode_t type

Reimplemented from RTC::RTObject_impl.

Definition at line 121 of file AutoTestIn.cpp.

RTC::ReturnCode_t AutoTestIn::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.

Returns:
The return code of ReturnCode_t type

Reimplemented from RTC::RTObject_impl.

Definition at line 56 of file AutoTestIn.cpp.


Member Data Documentation

std::ofstream AutoTestIn::fout [private]

Definition at line 264 of file AutoTestIn.h.

TimedFloat AutoTestIn::m_in [protected]

Definition at line 225 of file AutoTestIn.h.

InPort<TimedFloat> AutoTestIn::m_inIn [protected]

Definition at line 228 of file AutoTestIn.h.

std::string AutoTestIn::m_msg [private]

Definition at line 265 of file AutoTestIn.h.

Definition at line 254 of file AutoTestIn.h.

Definition at line 246 of file AutoTestIn.h.

TimedFloatSeq AutoTestIn::m_seqin [protected]

Definition at line 229 of file AutoTestIn.h.

InPort<TimedFloatSeq> AutoTestIn::m_seqinIn [protected]

Definition at line 232 of file AutoTestIn.h.


The documentation for this class was generated from the following files:


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Sun Mar 26 2017 03:37:18