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

function block class for controling a brake curve to a certain target speed More...

#include <FunctionBlocks.h>

Inheritance diagram for oETCS::DF::CBrakingToTargetSpeed:
Inheritance graph
Collaboration diagram for oETCS::DF::CBrakingToTargetSpeed:
Collaboration graph

Public Member Functions

virtual void Calculate () throw (::oETCS::DF::Error::CException)
 method for computing all outputs
 CBrakingToTargetSpeed (oETCS::DF::CEVCStateMachine *const pStateMachine) throw ()
 default/general constructor
virtual ~CBrakingToTargetSpeed () throw ()
 destructor

Public Attributes

oETCS::DF::DOUBLE_INPUT_T m_dAdhesionFactor
 storage of the adhesion factor
oETCS::DF::DOUBLE_INPUT_T m_dCurrentAbsoluteDistance
 storage of the current absolute distance
oETCS::DF::DOUBLE_INPUT_T m_dCurrentVelocity
 storage of the current absolute distance
oETCS::DF::DOUBLE_INPUT_T m_dDistanceOfPermittedVelocity
 storage of the distance of the permitted velocity
oETCS::DF::DOUBLE_INPUT_T m_dPermittedVelocity
 storage of the permitted velocity
::std::vector
< oETCS::DF::BOOL_OUTPUT_T
m_EmergencyBrakeApplied
 pointers storage of the flag for applied emegerncy brake
::std::vector
< oETCS::DF::BOOL_OUTPUT_T
m_EmergencyBrakeValue
 pointers to storage of emergency brake value
oETCS::DF::DOUBLE_ARRAY_INPUT_T m_GradientDistances
 storage of the gradient distances
oETCS::DF::DOUBLE_ARRAY_INPUT_T m_GradientValues
 storage of gradient values
oETCS::DF::CEVCStateMachine *const m_pStateMachine
 pointer to the all contenting EVC state machine
::std::vector
< oETCS::DF::BOOL_OUTPUT_T
m_ServiceBrakeApplied
 pointers to storage of the flag for applied service brake
::std::vector
< oETCS::DF::DOUBLE_OUTPUT_T
m_ServiceBrakeValue
 pointers to storage of service brake value
::std::vector
< oETCS::DF::BOOL_OUTPUT_T
m_SpeedWarning
 pointers to storage of the speed warning

Detailed Description

function block class for controling a brake curve to a certain target speed

Definition at line 1119 of file FunctionBlocks.h.

Constructor & Destructor Documentation

oETCS::DF::CBrakingToTargetSpeed::CBrakingToTargetSpeed ( oETCS::DF::CEVCStateMachine *const  pStateMachine) throw ()

default/general constructor

Parameters
[in]pStateMachinepointer to the parent EVC state machine object

Definition at line 1010 of file FunctionBlocks.cpp.

oETCS::DF::CBrakingToTargetSpeed::~CBrakingToTargetSpeed ( ) throw ()
virtual

destructor

Definition at line 1029 of file FunctionBlocks.cpp.

Member Function Documentation

void oETCS::DF::CBrakingToTargetSpeed::Calculate ( ) throw (::oETCS::DF::Error::CException)
virtual

Member Data Documentation

oETCS::DF::DOUBLE_INPUT_T oETCS::DF::CBrakingToTargetSpeed::m_dAdhesionFactor

storage of the adhesion factor

Definition at line 1190 of file FunctionBlocks.h.

Referenced by Calculate(), and oETCS::UT::CFunctionBlock::TestBrakingToTargetSpeed().

oETCS::DF::DOUBLE_INPUT_T oETCS::DF::CBrakingToTargetSpeed::m_dCurrentAbsoluteDistance

storage of the current absolute distance

Definition at line 1162 of file FunctionBlocks.h.

Referenced by Calculate(), and oETCS::UT::CFunctionBlock::TestBrakingToTargetSpeed().

oETCS::DF::DOUBLE_INPUT_T oETCS::DF::CBrakingToTargetSpeed::m_dCurrentVelocity

storage of the current absolute distance

Definition at line 1169 of file FunctionBlocks.h.

Referenced by Calculate(), and oETCS::UT::CFunctionBlock::TestBrakingToTargetSpeed().

oETCS::DF::DOUBLE_INPUT_T oETCS::DF::CBrakingToTargetSpeed::m_dDistanceOfPermittedVelocity

storage of the distance of the permitted velocity

Definition at line 1176 of file FunctionBlocks.h.

Referenced by Calculate(), and oETCS::UT::CFunctionBlock::TestBrakingToTargetSpeed().

oETCS::DF::DOUBLE_INPUT_T oETCS::DF::CBrakingToTargetSpeed::m_dPermittedVelocity

storage of the permitted velocity

Definition at line 1183 of file FunctionBlocks.h.

Referenced by Calculate(), and oETCS::UT::CFunctionBlock::TestBrakingToTargetSpeed().

::std::vector< oETCS::DF::BOOL_OUTPUT_T > oETCS::DF::CBrakingToTargetSpeed::m_EmergencyBrakeApplied

pointers storage of the flag for applied emegerncy brake

Definition at line 1211 of file FunctionBlocks.h.

Referenced by Calculate(), and oETCS::UT::CFunctionBlock::setUp().

::std::vector< oETCS::DF::BOOL_OUTPUT_T > oETCS::DF::CBrakingToTargetSpeed::m_EmergencyBrakeValue

pointers to storage of emergency brake value

Definition at line 1218 of file FunctionBlocks.h.

Referenced by Calculate(), and oETCS::UT::CFunctionBlock::setUp().

oETCS::DF::DOUBLE_ARRAY_INPUT_T oETCS::DF::CBrakingToTargetSpeed::m_GradientDistances

storage of the gradient distances

Definition at line 1148 of file FunctionBlocks.h.

oETCS::DF::DOUBLE_ARRAY_INPUT_T oETCS::DF::CBrakingToTargetSpeed::m_GradientValues

storage of gradient values

Definition at line 1155 of file FunctionBlocks.h.

oETCS::DF::CEVCStateMachine* const oETCS::DF::CFunctionBlock::m_pStateMachine
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().

::std::vector< oETCS::DF::BOOL_OUTPUT_T > oETCS::DF::CBrakingToTargetSpeed::m_ServiceBrakeApplied

pointers to storage of the flag for applied service brake

Definition at line 1204 of file FunctionBlocks.h.

Referenced by Calculate(), and oETCS::UT::CFunctionBlock::setUp().

::std::vector< oETCS::DF::DOUBLE_OUTPUT_T > oETCS::DF::CBrakingToTargetSpeed::m_ServiceBrakeValue

pointers to storage of service brake value

Definition at line 1225 of file FunctionBlocks.h.

Referenced by Calculate(), and oETCS::UT::CFunctionBlock::setUp().

::std::vector< oETCS::DF::BOOL_OUTPUT_T > oETCS::DF::CBrakingToTargetSpeed::m_SpeedWarning

pointers to storage of the speed warning

Definition at line 1197 of file FunctionBlocks.h.

Referenced by Calculate(), and oETCS::UT::CFunctionBlock::setUp().


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