Main Page
Namespaces
Classes
Files
File List
File Members
src
lib
rtm
tests
ManagerServant
ManagerServant/DummyModule1.h
Go to the documentation of this file.
1
// -*- C++ -*-
10
#ifndef DUMMYMODULE1_H
11
#define DUMMYMODULE1_H
12
13
#include <
rtm/Manager.h
>
14
#include <
rtm/DataFlowComponentBase.h
>
15
//#include <rtm/CorbaPort.h>
16
//#include <rtm/DataInPort.h>
17
//#include <rtm/DataOutPort.h>
18
//#include <rtm_corba/idl/BasicDataTypeSkel.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
32
class
DummyModule1
33
:
public
RTC::DataFlowComponentBase
34
{
35
public
:
36
DummyModule1
(
RTC::Manager
*
manager
);
37
~
DummyModule1
();
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
92
// </rtc-template>
93
94
95
// DataOutPort declaration
96
// <rtc-template block="outport_declare">
97
// TimedLong m_out;
98
// OutPort<TimedLong> m_outOut;
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
int
dummy
;
119
120
};
121
122
123
extern
"C"
124
{
125
DLL_EXPORT
void
DummyModule1Init
(
RTC::Manager
*
manager
);
126
};
127
128
#endif // DUMMYMODULE1_H
RTC
RT-Component.
Definition:
ArtExecutionContext.cpp:29
DataFlowComponentBase.h
DummyModule1::dummy
int dummy
Definition:
ManagerServant/DummyModule1.h:118
RTC::DataFlowComponentBase
DataFlowComponentBase class.
Definition:
rtm/DataFlowComponentBase.h:69
RTC::Manager
Manager class.
Definition:
Manager.h:80
AddRemoveMemberSDOPackageTest.manager
manager
Definition:
AddRemoveMemberSDOPackageTest.py:28
Manager.h
RTComponent manager class.
DLL_EXPORT
#define DLL_EXPORT
Definition:
PluginC.cpp:8
DummyModule1Init
DLL_EXPORT void DummyModule1Init(RTC::Manager *manager)
Definition:
ManagerServant/DummyModule1.cpp:78
DummyModule1
Definition:
ManagerServant/DummyModule1.h:32
openrtm_aist
Author(s): Noriaki Ando
autogenerated on Thu Jun 6 2019 19:25:58