openETCS
case study for the European Train Control System developed for the authors dissertation
AdaptorStubsMOC.cpp
Go to the documentation of this file.
1 /*
2  Copyright (C) 2010-2012
3  Johannes Feuser <feuser@uni-bremen.de>
4  This file is part of the openETCS library.
5 
6  The openETCS library is free software: you can redistribute it and/or modify
7  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation, either version 3 of the License, or
9  any later version.
10 
11  The openETCS library is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  GNU General Public License for more details.
15 
16  You should have received a copy of the GNU General Public License
17  along with the openETCS library. If not, see <http://www.gnu.org/licenses/>.
18 */
19 
20 /*!
21  * \author Johannes Feuser <feuser@uni-bremen.de>
22  * \brief empty (no implemented methods) classes for the dbus adaptor classes
23  */
24 
25 #include "AdaptorStubsMOC.h"
26 #include <QByteArray>
27 
28 
29 
30 
31 namespace oETCS {
32 
33 namespace DF {
34 
35 namespace PS {
36 
37 
38 CBaliseDeviceIn::CBaliseDeviceIn(::QObject * const pParent) throw()
39 :QObject(pParent)
40 {
41  // Bouml preserved body begin 000D2602
42  // empty constructor
43  // Bouml preserved body end 000D2602
44 
45 } // CBaliseDeviceIn::CBaliseDeviceIn() throw()
46 
47 
48 
49 
51 {
52  // Bouml preserved body begin 000D2682
53  // empty destructor
54  // Bouml preserved body end 000D2682
55 
56 } // CBaliseDeviceIn::~CBaliseDeviceIn() throw()
57 
58 
59 
60 
61 CBaliseDeviceOut::CBaliseDeviceOut(::QObject * const pParent) throw()
62 :QObject(pParent)
63 {
64  // Bouml preserved body begin 000D4102
65  // empty constructor
66  // Bouml preserved body end 000D4102
67 
68 } // CBaliseDeviceOut::CBaliseDeviceOut() throw()
69 
70 
71 
72 
74 {
75  // Bouml preserved body begin 000D4182
76  // empty destructor
77  // Bouml preserved body end 000D4182
78 
79 } // CBaliseDeviceOut::~CBaliseDeviceOut() throw()
80 
81 
82 
83 
84 void CBaliseDeviceOut::SendTelegram(const ::QBitArray& Bits)
85 {
86  // Bouml preserved body begin 000D4302
87  // this method must be (re-)implemented
88  // Bouml preserved body end 000D4302
89 
90 } // void CBaliseDeviceOut::SendTelegram()
91 
92 
93 
94 
95 CEmergencyBrake::CEmergencyBrake(::QObject * const pParent) throw()
96 :QObject(pParent)
97 {
98  // Bouml preserved body begin 000D4382
99  // empty constructor
100  // Bouml preserved body end 000D4382
101 
102 } // CEmergencyBrake::CEmergencyBrake() throw()
103 
104 
105 
106 
108 {
109  // Bouml preserved body begin 000D4402
110  // empty destructor
111  // Bouml preserved body end 000D4402
112 
113 } // CEmergencyBrake::~CEmergencyBrake() throw()
114 
115 
116 
117 
119 {
120  // Bouml preserved body begin 000D4482
121  bool bActive(false);
122 
123 
124  // this method must be (re-)implemented
125 
126 
127  // return flag
128  return (bActive);
129  // Bouml preserved body end 000D4482
130 
131 } // bool CEmergencyBrake::GetActivation()
132 
133 
134 
135 
136 void CEmergencyBrake::SetActivation(bool bActivated)
137 {
138  // Bouml preserved body begin 000D4582
139  // this method must be (re-)implemented
140  // Bouml preserved body end 000D4582
141 
142 } // void CEmergencyBrake::SetActivation()
143 
144 
145 
146 
147 CServiceBrake::CServiceBrake(::QObject * const pParent) throw()
148 :QObject(pParent)
149 {
150  // Bouml preserved body begin 000D4602
151  // empty constructor
152  // Bouml preserved body end 000D4602
153 
154 } // CServiceBrake::CServiceBrake() throw()
155 
156 
157 
158 
160 {
161  // Bouml preserved body begin 000D4682
162  // empty destructor
163  // Bouml preserved body end 000D4682
164 
165 } // CServiceBrake::~CServiceBrake() throw()
166 
167 
168 
169 
171 {
172  // Bouml preserved body begin 000D4702
173  double dIntensity(0.0);
174 
175 
176  // this method must be (re-)implemented
177 
178 
179  // return flag
180  return (dIntensity);
181  // Bouml preserved body end 000D4702
182 
183 } // double CServiceBrake::GetIntensity()
184 
185 
186 
187 
188 void CServiceBrake::SetIntensity(const double& dIntensity)
189 {
190  // Bouml preserved body begin 000D4782
191  // this method must be (re-)implemented
192  // Bouml preserved body end 000D4782
193 
194 } // void CServiceBrake::SetIntensity()
195 
196 
197 
198 
199 COdometer::COdometer(::QObject * const pParent) throw()
200 :QObject(pParent)
201 {
202  // Bouml preserved body begin 000D4882
203  // empty constructor
204  // Bouml preserved body end 000D4882
205 
206 } // COdometer::COdometer() throw()
207 
208 
209 
210 
212 {
213  // Bouml preserved body begin 000D4902
214  // empty destructor
215  // Bouml preserved body end 000D4902
216 
217 } // COdometer::~COdometer() throw()
218 
219 
220 
221 
223 {
224  // Bouml preserved body begin 000D4982
225  double dPosition(0.0);
226 
227 
228  // this method must be (re-)implemented
229 
230 
231  // return position
232  return (dPosition);
233  // Bouml preserved body end 000D4982
234 
235 } // double COdometer::GetAbsolutePosition()
236 
237 
238 
239 
241 {
242  // Bouml preserved body begin 000D4B02
243  double dVelocity(0.0);
244 
245 
246  // this method must be (re-)implemented
247 
248 
249  // return velocity
250  return (dVelocity);
251  // Bouml preserved body end 000D4B02
252 
253 } // double COdometer::GetVelocity()
254 
255 
256 
257 
258 
259 
260 } // namespace oETCS::DF::PS
261 
262 } // namespace oETCS::DF
263 
264 } // namespace oETCS

Copyright (C) 2010-2012 Johannes Feuser (feuser@uni-bremen.de)
The openETCS library is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.
The openETCS library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with the openETCS library. If not, see "http://www.gnu.org/licenses/.