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

Sample component for auto-test. More...

#include <AutoTestOut.h>

Inheritance diagram for AutoTestOut:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 AutoTestOut (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.
 ~AutoTestOut ()
 destructor

Protected Attributes

RTC::CorbaConsumer
< AutoTest::MyService > 
m_myservice0
RTC::CorbaPort m_MyServicePort
TimedFloat m_out
OutPort< TimedFloat > m_outOut
TimedFloatSeq m_seqout
OutPort< TimedFloatSeq > m_seqoutOut

Private Attributes

std::ifstream fin

Detailed Description

Sample component for auto-test.

Definition at line 41 of file AutoTestOut.h.


Constructor & Destructor Documentation

constructor

Parameters:
managerManeger Object

Definition at line 39 of file AutoTestOut.cpp.

destructor

Definition at line 53 of file AutoTestOut.cpp.


Member Function Documentation

RTC::ReturnCode_t AutoTestOut::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 104 of file AutoTestOut.cpp.

RTC::ReturnCode_t AutoTestOut::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 116 of file AutoTestOut.cpp.

RTC::ReturnCode_t AutoTestOut::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 124 of file AutoTestOut.cpp.

RTC::ReturnCode_t AutoTestOut::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 59 of file AutoTestOut.cpp.


Member Data Documentation

std::ifstream AutoTestOut::fin [private]

Definition at line 267 of file AutoTestOut.h.

RTC::CorbaConsumer<AutoTest::MyService> AutoTestOut::m_myservice0 [protected]

Definition at line 262 of file AutoTestOut.h.

Definition at line 249 of file AutoTestOut.h.

TimedFloat AutoTestOut::m_out [protected]

Definition at line 234 of file AutoTestOut.h.

OutPort<TimedFloat> AutoTestOut::m_outOut [protected]

Definition at line 237 of file AutoTestOut.h.

TimedFloatSeq AutoTestOut::m_seqout [protected]

Definition at line 238 of file AutoTestOut.h.

OutPort<TimedFloatSeq> AutoTestOut::m_seqoutOut [protected]

Definition at line 241 of file AutoTestOut.h.


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


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Thu Aug 27 2015 14:16:40