|
openETCS
case study for the European Train Control System developed for the authors dissertation
|
super class for service brake implementations More...
#include <PlatformSpecificClientsMOC.h>


Public Slots | |
| void | Error (const QString &ErrorMessage) |
| informs the stub about an error ocurred in the PS part | |
Public Member Functions | |
| virtual void | Calculate () throw (::oETCS::DF::Error::CException) |
| method for computing all outputs | |
| CServiceBrake (oETCS::DF::CEVCStateMachine *const pStateMachine, const bool &bUsePS=false) throw () | |
| general constructor | |
| virtual | ~CServiceBrake () throw () |
| destructor | |
Public Attributes | |
| const bool | m_bUsePlatformSpecific |
| flag for the usage of a platform specific implmentation via D-Bus | |
| oETCS::DF::DOUBLE_INPUT_T | m_dBrakeIntensity |
| storage of the brake intensity value | |
| oETCS::DF::CEVCStateMachine *const | m_pStateMachine |
| pointer to the all contenting EVC state machine | |
Private Attributes | |
| ::std::vector< ::std::string > | m_ErrorStack |
| stack with error messages from the platform specific adaptor implementation | |
| ::std::recursive_mutex | m_Mutex |
| muteable exclusion object | |
| oETCS::DF::IServiceBrake * | m_pProxy |
| pointer to the proxy object | |
super class for service brake implementations
Definition at line 483 of file PlatformSpecificClientsMOC.h.
|
explicit |
general constructor
| [in] | pStateMachine | pointer to the parent EVC state machine object |
| [in] | bUsePS | optional flag for the usage of the platform specifc implementation via D-Bus |
Definition at line 821 of file PlatformSpecificClientsMOC.cpp.
|
virtual |
destructor
Definition at line 876 of file PlatformSpecificClientsMOC.cpp.
References m_bUsePlatformSpecific, and m_pProxy.
|
virtual |
method for computing all outputs
Implements oETCS::DF::CFunctionBlock.
Definition at line 893 of file PlatformSpecificClientsMOC.cpp.
References m_bUsePlatformSpecific, m_dBrakeIntensity, m_ErrorStack, m_Mutex, and m_pProxy.
|
slot |
informs the stub about an error ocurred in the PS part
| [in] | ErrorMessage | textual description of the error |
| const bool oETCS::DF::CServiceBrake::m_bUsePlatformSpecific |
flag for the usage of a platform specific implmentation via D-Bus
Definition at line 538 of file PlatformSpecificClientsMOC.h.
Referenced by Calculate(), and ~CServiceBrake().
| oETCS::DF::DOUBLE_INPUT_T oETCS::DF::CServiceBrake::m_dBrakeIntensity |
storage of the brake intensity value
Definition at line 531 of file PlatformSpecificClientsMOC.h.
Referenced by Calculate().
|
private |
stack with error messages from the platform specific adaptor implementation
Definition at line 547 of file PlatformSpecificClientsMOC.h.
Referenced by Calculate().
|
private |
muteable exclusion object
Definition at line 561 of file PlatformSpecificClientsMOC.h.
Referenced by Calculate().
|
private |
pointer to the proxy object
Definition at line 554 of file PlatformSpecificClientsMOC.h.
Referenced by Calculate(), and ~CServiceBrake().
|
inherited |
pointer to the all contenting EVC state machine
Definition at line 894 of file EVCStateMachine.h.
Referenced by oETCS::DF::CCondition::Calculate(), and oETCS::DF::CDMIOutput::Calculate().
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/.