MyServiceProvider.h
Go to the documentation of this file.
1 // -*- C++ -*-
10 #ifndef MYSERVICEPROVIDER_H
11 #define MYSERVICEPROVIDER_H
12 
13 #include <rtm/idl/BasicDataTypeSkel.h>
14 #include <rtm/Manager.h>
16 #include <rtm/CorbaPort.h>
17 #include <rtm/DataInPort.h>
18 #include <rtm/DataOutPort.h>
19 
20 // Service implementation headers
21 // <rtc-template block="service_impl_h">
22 #include "MyServiceSVC_impl.h"
23 
24 // </rtc-template>
25 
26 // Service Consumer stub headers
27 // <rtc-template block="consumer_stub_h">
28 
29 // </rtc-template>
30 
31 using namespace RTC;
32 
35 {
36  public:
39 
40  // The initialize action (on CREATED->ALIVE transition)
41  // formaer rtc_init_entry()
42  virtual RTC::ReturnCode_t onInitialize();
43 
44  // The finalize action (on ALIVE->END transition)
45  // formaer rtc_exiting_entry()
46  // virtual RTC::ReturnCode_t onFinalize();
47 
48  // The startup action when ExecutionContext startup
49  // former rtc_starting_entry()
50  // virtual RTC::ReturnCode_t onStartup(RTC::UniqueId ec_id);
51 
52  // The shutdown action when ExecutionContext stop
53  // former rtc_stopping_entry()
54  // virtual RTC::ReturnCode_t onShutdown(RTC::UniqueId ec_id);
55 
56  // The activated action (Active state entry action)
57  // former rtc_active_entry()
58  // virtual RTC::ReturnCode_t onActivated(RTC::UniqueId ec_id);
59 
60  // The deactivated action (Active state exit action)
61  // former rtc_active_exit()
62  // virtual RTC::ReturnCode_t onDeactivated(RTC::UniqueId ec_id);
63 
64  // The execution action that is invoked periodically
65  // former rtc_active_do()
66  // virtual RTC::ReturnCode_t onExecute(RTC::UniqueId ec_id);
67 
68  // The aborting action when main logic error occurred.
69  // former rtc_aborting_entry()
70  // virtual RTC::ReturnCode_t onAborting(RTC::UniqueId ec_id);
71 
72  // The error action in ERROR state
73  // former rtc_error_do()
74  // virtual RTC::ReturnCode_t onError(RTC::UniqueId ec_id);
75 
76  // The reset action that is invoked resetting
77  // This is same but different the former rtc_init_entry()
78  // virtual RTC::ReturnCode_t onReset(RTC::UniqueId ec_id);
79 
80  // The state update action that is invoked after onExecute() action
81  // no corresponding operation exists in OpenRTm-aist-0.2.0
82  // virtual RTC::ReturnCode_t onStateUpdate(RTC::UniqueId ec_id);
83 
84  // The action that is invoked when execution context's rate is changed
85  // no corresponding operation exists in OpenRTm-aist-0.2.0
86  // virtual RTC::ReturnCode_t onRateChanged(RTC::UniqueId ec_id);
87 
88 
89  protected:
90  // DataInPort declaration
91  // <rtc-template block="inport_declare">
92 
93  // </rtc-template>
94 
95 
96  // DataOutPort declaration
97  // <rtc-template block="outport_declare">
98 
99  // </rtc-template>
100 
101  // CORBA Port declaration
102  // <rtc-template block="corbaport_declare">
104 
105  // </rtc-template>
106 
107  // Service declaration
108  // <rtc-template block="service_declare">
110 
111  // </rtc-template>
112 
113  // Consumer declaration
114  // <rtc-template block="consumer_declare">
115 
116  // </rtc-template>
117 
118  private:
119 
120 };
121 
122 
123 extern "C"
124 {
126 };
127 
128 #endif // MYSERVICEPROVIDER_H
Service implementation header of MyService.idl.
RT-Component.
RT Conponent CORBA service/consumer Port.
Definition: CorbaPort.h:620
MyServiceSVC_impl m_myservice0
DLL_EXPORT void MyServiceProviderInit(RTC::Manager *manager)
DataFlowComponentBase class.
ReturnCode_t
Definition: doil.h:53
Manager class.
Definition: Manager.h:80
Base class of OutPort.
CorbaPort class.
RTComponent manager class.
Base class of InPort.
#define DLL_EXPORT
Definition: PluginC.cpp:8
RTC::CorbaPort m_MyServicePort


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Mon Feb 28 2022 23:00:43