ExtTrigger/ConsoleOut.h
Go to the documentation of this file.
1 // -*- C++ -*-
10 #ifndef CONSOLEOUT_H
11 #define CONSOLEOUT_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  ~ConsoleOut();
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  // DataInPort declaration
90  // <rtc-template block="inport_declare">
91  TimedLong m_in;
93 
94  // </rtc-template>
95 
96 
97  // DataOutPort declaration
98  // <rtc-template block="outport_declare">
99 
100  // </rtc-template>
101 
102  // CORBA Port declaration
103  // <rtc-template block="corbaport_declare">
104 
105  // </rtc-template>
106 
107  // Service declaration
108  // <rtc-template block="service_declare">
109 
110  // </rtc-template>
111 
112  // Consumer declaration
113  // <rtc-template block="consumer_declare">
114 
115  // </rtc-template>
116 
117  private:
118 
119 };
120 
121 
122 extern "C"
123 {
125 };
126 
127 #endif // CONSOLEOUT_H
RT-Component.
DataFlowComponentBase class.
ReturnCode_t
Definition: doil.h:53
Manager class.
Definition: Manager.h:80
Base class of OutPort.
CorbaPort class.
RTComponent manager class.
ExecutionContextHandle_t UniqueId
Base class of InPort.
#define DLL_EXPORT
Definition: PluginC.cpp:8
DLL_EXPORT void ConsoleOutInit(RTC::Manager *manager)
InPort< TimedLong > m_inIn


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Mon Jun 10 2019 14:07:51