Classes | Public Member Functions | Protected Attributes | Private Attributes
MyServiceConsumer Class Reference

#include <MyServiceConsumer.h>

Inheritance diagram for MyServiceConsumer:
Inheritance graph
[legend]

List of all members.

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::Asyncasync_echo
coil::Asyncasync_set_value
std::string m_result

Detailed Description

Definition at line 35 of file MyServiceConsumer.h.


Constructor & Destructor Documentation

Definition at line 35 of file MyServiceConsumer.cpp.

Definition at line 44 of file MyServiceConsumer.cpp.


Member Function Documentation

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.

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

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.

Returns:
The return code of ReturnCode_t type

Reimplemented from RTC::RTObject_impl.

Definition at line 49 of file MyServiceConsumer.cpp.


Member Data Documentation

Definition at line 190 of file MyServiceConsumer.h.

Definition at line 189 of file MyServiceConsumer.h.

RTC::CorbaConsumer<SimpleService::MyService> MyServiceConsumer::m_myservice0 [protected]

Definition at line 116 of file MyServiceConsumer.h.

Definition at line 105 of file MyServiceConsumer.h.

std::string MyServiceConsumer::m_result [private]

Definition at line 191 of file MyServiceConsumer.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