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::CBaliseDeviceIn Class Reference

empty/stub class for the ::oETCS::DF::ABaliseDeviceIn adapter More...

#include <AdaptorStubsMOC.h>

Inheritance diagram for oETCS::DF::PS::CBaliseDeviceIn:
Inheritance graph
Collaboration diagram for oETCS::DF::PS::CBaliseDeviceIn:
Collaboration graph

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 (::QObject *const pParent=nullptr) throw ()
 default/general constructor
virtual ~CBaliseDeviceIn () throw ()
 destructor

Private Attributes

::std::list< ::QBitArray > m_Telegrams
 list of telegrams to be send (by polling/calling)

Detailed Description

empty/stub class for the ::oETCS::DF::ABaliseDeviceIn adapter

This class is meant to be extened for any certain in Balise device implementation.

Definition at line 52 of file AdaptorStubsMOC.h.

Constructor & Destructor Documentation

oETCS::DF::PS::CBaliseDeviceIn::CBaliseDeviceIn ( ::QObject *const  pParent = nullptr) throw ()

default/general constructor

Parameters
[in]pParentoptional pointer to a parent object, must be used, if stub is exetened by inheritance

Definition at line 38 of file AdaptorStubsMOC.cpp.

oETCS::DF::PS::CBaliseDeviceIn::~CBaliseDeviceIn ( ) throw ()
virtual

destructor

Reimplemented in oETCS::DF::PS::SIM::CBaliseDeviceIn.

Definition at line 50 of file AdaptorStubsMOC.cpp.

Member Function Documentation

void oETCS::DF::CBaliseDeviceIn::Error ( const ::QString &  ErrorMessage)
signal

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 266 of file PlatformSpecificClientsMOC.cpp.

void oETCS::DF::PS::CBaliseDeviceIn::NewTelegram ( const QByteArray &  Bytes,
int  iBits 
)
signal

signal for sending a new telegram

This signal should be emitted, if a new telegram was received by the HW.

Parameters
[in]Bytesarray of bytes of the new telegram
[in]iBitsnumber of bits only used from the beginning in the byte array

Member Data Documentation

::std::list< ::QBitArray > oETCS::DF::PS::CBaliseDeviceIn::m_Telegrams
private

list of telegrams to be send (by polling/calling)

Definition at line 103 of file AdaptorStubsMOC.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/.