ConfigSample.h
Go to the documentation of this file.
1 // -*- C++ -*-
10 #ifndef CONFIGSAMPLE_H
11 #define CONFIGSAMPLE_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 
23 // </rtc-template>
24 
25 // Service Consumer stub headers
26 // <rtc-template block="consumer_stub_h">
27 
28 // </rtc-template>
29 
30 using namespace RTC;
31 
34 {
35  public:
37  ~ConfigSample();
38 
39  // The initialize action (on CREATED->ALIVE transition)
40  // formaer rtc_init_entry()
41  virtual RTC::ReturnCode_t onInitialize();
42 
43  // The finalize action (on ALIVE->END transition)
44  // formaer rtc_exiting_entry()
45  // virtual RTC::ReturnCode_t onFinalize();
46 
47  // The startup action when ExecutionContext startup
48  // former rtc_starting_entry()
49  // virtual RTC::ReturnCode_t onStartup(RTC::UniqueId ec_id);
50 
51  // The shutdown action when ExecutionContext stop
52  // former rtc_stopping_entry()
53  // virtual RTC::ReturnCode_t onShutdown(RTC::UniqueId ec_id);
54 
55  // The activated action (Active state entry action)
56  // former rtc_active_entry()
57  // virtual RTC::ReturnCode_t onActivated(RTC::UniqueId ec_id);
58 
59  // The deactivated action (Active state exit action)
60  // former rtc_active_exit()
61  // virtual RTC::ReturnCode_t onDeactivated(RTC::UniqueId ec_id);
62 
63  // The execution action that is invoked periodically
64  // former rtc_active_do()
65  virtual RTC::ReturnCode_t onExecute(RTC::UniqueId ec_id);
66 
67  // The aborting action when main logic error occurred.
68  // former rtc_aborting_entry()
69  // virtual RTC::ReturnCode_t onAborting(RTC::UniqueId ec_id);
70 
71  // The error action in ERROR state
72  // former rtc_error_do()
73  // virtual RTC::ReturnCode_t onError(RTC::UniqueId ec_id);
74 
75  // The reset action that is invoked resetting
76  // This is same but different the former rtc_init_entry()
77  // virtual RTC::ReturnCode_t onReset(RTC::UniqueId ec_id);
78 
79  // The state update action that is invoked after onExecute() action
80  // no corresponding operation exists in OpenRTm-aist-0.2.0
81  // virtual RTC::ReturnCode_t onStateUpdate(RTC::UniqueId ec_id);
82 
83  // The action that is invoked when execution context's rate is changed
84  // no corresponding operation exists in OpenRTm-aist-0.2.0
85  // virtual RTC::ReturnCode_t onRateChanged(RTC::UniqueId ec_id);
86 
87 
88  protected:
89  // Configuration variable declaration
90  // <rtc-template block="config_declare">
95  std::string m_str_param0;
96  std::string m_str_param1;
97  std::vector<double> m_vector_param0;
98 
99  // </rtc-template>
100 
101  // DataInPort declaration
102  // <rtc-template block="inport_declare">
103 
104  // </rtc-template>
105 
106  // DataOutPort declaration
107  // <rtc-template block="outport_declare">
108 
109  // </rtc-template>
110 
111  // CORBA Port declaration
112  // <rtc-template block="corbaport_declare">
113 
114  // </rtc-template>
115 
116  // Service declaration
117  // <rtc-template block="service_declare">
118 
119  // </rtc-template>
120 
121  // Consumer declaration
122  // <rtc-template block="consumer_declare">
123 
124  // </rtc-template>
125 
126  private:
127 
128 };
129 
130 
131 extern "C"
132 {
134 };
135 
136 #endif // CONFIGSAMPLE_H
RT-Component.
DataFlowComponentBase class.
ReturnCode_t
Definition: doil.h:53
std::string m_str_param1
Definition: ConfigSample.h:96
Manager class.
Definition: Manager.h:80
std::string m_str_param0
Definition: ConfigSample.h:95
Base class of OutPort.
CorbaPort class.
double m_double_param0
Definition: ConfigSample.h:93
RTComponent manager class.
DLL_EXPORT void ConfigSampleInit(RTC::Manager *manager)
ExecutionContextHandle_t UniqueId
std::vector< double > m_vector_param0
Definition: ConfigSample.h:97
Base class of InPort.
#define DLL_EXPORT
Definition: PluginC.cpp:8
double m_double_param1
Definition: ConfigSample.h:94


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Thu Jun 6 2019 19:25:57