openETCS
case study for the European Train Control System developed for the authors dissertation
|
simulative class for a balise in system More...
#include <Simulation.h>
Signals | |
void | Error (const ::QString &ErrorMessage) |
signal for sending an error | |
void | NewTelegram (const QByteArray &Bytes, int iBits) |
signal for sending a new telegram |
Public Member Functions | |
CBaliseDeviceIn () throw () | |
default/general constructor | |
void | SetNewInputTelegram (const ::QBitArray &Bits) throw () |
sets a telegram as received | |
virtual | ~CBaliseDeviceIn () throw () |
destructor |
Private Attributes | |
::std::recursive_mutex | m_Mutex |
muteable exclusion for internal states |
simulative class for a balise in system
Definition at line 392 of file Simulation.h.
|
explicit |
default/general constructor
Definition at line 583 of file Simulation.cpp.
|
virtual |
destructor
Reimplemented from oETCS::DF::PS::CBaliseDeviceIn.
Definition at line 595 of file Simulation.cpp.
|
signalinherited |
signal for sending an error
This signal should be emitted in the case that an error in the HW ocurres.
[in] | ErrorMessage | textual description of the error |
Definition at line 266 of file PlatformSpecificClientsMOC.cpp.
|
signalinherited |
signal for sending a new telegram
This signal should be emitted, if a new telegram was received by the HW.
[in] | Bytes | array of bytes of the new telegram |
[in] | iBits | number of bits only used from the beginning in the byte array |
void oETCS::DF::PS::SIM::CBaliseDeviceIn::SetNewInputTelegram | ( | const ::QBitArray & | Bits | ) | throw () |
sets a telegram as received
Emits the NewTelegram(QBitArray) signal.
[in] | Bits | raw bits of the telegram |
Definition at line 606 of file Simulation.cpp.
Referenced by SetNewInputTelegram(), and SetNewInputTelegramBinary().
|
private |
muteable exclusion for internal states
Definition at line 425 of file Simulation.h.
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/.