Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
rtc
WavPlayer
WavPlayer.h
Go to the documentation of this file.
1
// -*- C++ -*-
10
#ifndef WAV_PLAYER_H
11
#define WAV_PLAYER_H
12
13
#include <rtm/idl/BasicDataType.hh>
14
#include <
rtm/Manager.h
>
15
#include <rtm/DataFlowComponentBase.h>
16
#include <
rtm/CorbaPort.h
>
17
#include <
rtm/DataInPort.h
>
18
#include <
rtm/DataOutPort.h
>
19
#include <rtm/idl/BasicDataTypeSkel.h>
20
21
// Service implementation headers
22
// <rtc-template block="service_impl_h">
23
#include "
WavPlayerService_impl.h
"
24
25
// </rtc-template>
26
27
// Service Consumer stub headers
28
// <rtc-template block="consumer_stub_h">
29
30
// </rtc-template>
31
32
using namespace
RTC
;
33
37
class
WavPlayer
38
:
public
RTC::DataFlowComponentBase
39
{
40
public
:
45
WavPlayer
(
RTC::Manager
*
manager
);
49
virtual
~
WavPlayer
();
50
51
// The initialize action (on CREATED->ALIVE transition)
52
// formaer rtc_init_entry()
53
virtual
RTC::ReturnCode_t onInitialize();
54
55
// The finalize action (on ALIVE->END transition)
56
// formaer rtc_exiting_entry()
57
// virtual RTC::ReturnCode_t onFinalize();
58
59
// The startup action when ExecutionContext startup
60
// former rtc_starting_entry()
61
// virtual RTC::ReturnCode_t onStartup(RTC::UniqueId ec_id);
62
63
// The shutdown action when ExecutionContext stop
64
// former rtc_stopping_entry()
65
// virtual RTC::ReturnCode_t onShutdown(RTC::UniqueId ec_id);
66
67
// The activated action (Active state entry action)
68
// former rtc_active_entry()
69
// virtual RTC::ReturnCode_t onActivated(RTC::UniqueId ec_id);
70
71
// The deactivated action (Active state exit action)
72
// former rtc_active_exit()
73
// virtual RTC::ReturnCode_t onDeactivated(RTC::UniqueId ec_id);
74
75
// The execution action that is invoked periodically
76
// former rtc_active_do()
77
// virtual RTC::ReturnCode_t onExecute(RTC::UniqueId ec_id);
78
79
// The aborting action when main logic error occurred.
80
// former rtc_aborting_entry()
81
// virtual RTC::ReturnCode_t onAborting(RTC::UniqueId ec_id);
82
83
// The error action in ERROR state
84
// former rtc_error_do()
85
// virtual RTC::ReturnCode_t onError(RTC::UniqueId ec_id);
86
87
// The reset action that is invoked resetting
88
// This is same but different the former rtc_init_entry()
89
// virtual RTC::ReturnCode_t onReset(RTC::UniqueId ec_id);
90
91
// The state update action that is invoked after onExecute() action
92
// no corresponding operation exists in OpenRTm-aist-0.2.0
93
// virtual RTC::ReturnCode_t onStateUpdate(RTC::UniqueId ec_id);
94
95
// The action that is invoked when execution context's rate is changed
96
// no corresponding operation exists in OpenRTm-aist-0.2.0
97
// virtual RTC::ReturnCode_t onRateChanged(RTC::UniqueId ec_id);
98
99
100
protected
:
101
// Configuration variable declaration
102
// <rtc-template block="config_declare">
103
104
// </rtc-template>
105
106
// DataInPort declaration
107
// <rtc-template block="inport_declare">
108
109
// </rtc-template>
110
111
// DataOutPort declaration
112
// <rtc-template block="outport_declare">
113
114
// </rtc-template>
115
116
// CORBA Port declaration
117
// <rtc-template block="corbaport_declare">
118
RTC::CorbaPort
m_WavPlayerServicePort
;
119
120
// </rtc-template>
121
122
// Service declaration
123
// <rtc-template block="service_declare">
124
WavPlayerService_impl
m_service0
;
125
126
// </rtc-template>
127
128
// Consumer declaration
129
// <rtc-template block="consumer_declare">
130
131
// </rtc-template>
132
133
private
:
134
int
dummy
;
135
};
136
137
138
extern
"C"
139
{
140
void
WavPlayerInit
(
RTC::Manager
*
manager
);
141
};
142
143
#endif // WAV_PLAYER_H
RTC
WavPlayer
RT component that do nothing and don't have ports. This component is used to create an execution cont...
Definition:
WavPlayer.h:37
WavPlayer::dummy
int dummy
Definition:
WavPlayer.h:134
RTC::Manager
RTC::DataFlowComponentBase
manager
manager
DataOutPort.h
CorbaPort.h
Manager.h
WavPlayerService_impl.h
RTC::CorbaPort
DataInPort.h
WavPlayer::m_WavPlayerServicePort
RTC::CorbaPort m_WavPlayerServicePort
Definition:
WavPlayer.h:118
WavPlayer::m_service0
WavPlayerService_impl m_service0
Definition:
WavPlayer.h:124
WavPlayerService_impl
Definition:
WavPlayerService_impl.h:9
WavPlayerInit
void WavPlayerInit(RTC::Manager *manager)
Definition:
WavPlayer.cpp:157
hrpsys
Author(s): AIST, Fumio Kanehiro
autogenerated on Thu May 6 2021 02:41:51