openETCS
case study for the European Train Control System developed for the authors dissertation
Signals | Public Member Functions | Private Attributes | List of all members
oETCS::DF::PS::SIM::CBaliseDeviceOut Class Reference

simulative class for a balise out system More...

#include <Simulation.h>

Inheritance diagram for oETCS::DF::PS::SIM::CBaliseDeviceOut:
Inheritance graph
Collaboration diagram for oETCS::DF::PS::SIM::CBaliseDeviceOut:
Collaboration graph

Signals

void Error (const ::QString &ErrorMessage)
 signal for sending an error

Public Member Functions

 CBaliseDeviceOut () throw ()
 default/general constructor
virtual void SendTelegram (const ::QBitArray &Bits)
 sends a telegram
virtual ~CBaliseDeviceOut () throw ()
 destructor

Private Attributes

::std::recursive_mutex m_Mutex
 muteable exclusion for internal states

Detailed Description

simulative class for a balise out system

Definition at line 349 of file Simulation.h.

Constructor & Destructor Documentation

oETCS::DF::PS::SIM::CBaliseDeviceOut::CBaliseDeviceOut ( ) throw ()
explicit

default/general constructor

Definition at line 532 of file Simulation.cpp.

oETCS::DF::PS::SIM::CBaliseDeviceOut::~CBaliseDeviceOut ( ) throw ()
virtual

destructor

Reimplemented from oETCS::DF::PS::CBaliseDeviceOut.

Definition at line 544 of file Simulation.cpp.

Member Function Documentation

void oETCS::DF::CBaliseDeviceOut::Error ( const ::QString &  ErrorMessage)
signalinherited

signal for sending an error

This signal should be emitted in the case that an error in the HW ocurres.

Parameters
[in]ErrorMessagetextual description of the error

Definition at line 449 of file PlatformSpecificClientsMOC.cpp.

void oETCS::DF::PS::SIM::CBaliseDeviceOut::SendTelegram ( const ::QBitArray &  Bits)
virtual

sends a telegram

Parameters
[in]Bitstelegram to send as bits

Reimplemented from oETCS::DF::PS::CBaliseDeviceOut.

Definition at line 555 of file Simulation.cpp.

Member Data Documentation

::std::recursive_mutex oETCS::DF::PS::SIM::CBaliseDeviceOut::m_Mutex
private

muteable exclusion for internal states

Definition at line 380 of file Simulation.h.


The documentation for this class was generated from the following files:

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/.