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

condition/guard class for starting/transitioning (to) a certain EVC state More...

#include <EVCStateMachine.h>

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

Public Member Functions

virtual void Calculate () throw (::oETCS::DF::Error::CException)
 virtual method for computing all outputs and setting the all referenced outputs
 CEVCCondition (oETCS::DF::CEVCStateMachine *const pStateMachine) throw ()
 general constructor
virtual ~CEVCCondition () throw ()
 destructor

Public Attributes

oETCS::DF::BOOL_INPUT_T m_bGuard
 input storage of the guard of the condition
oETCS::DF::CEVCStateMachine *const m_pStateMachine
 pointer to the all contenting EVC state machine

Detailed Description

condition/guard class for starting/transitioning (to) a certain EVC state

Definition at line 1402 of file EVCStateMachine.h.

Constructor & Destructor Documentation

oETCS::DF::CEVCCondition::CEVCCondition ( oETCS::DF::CEVCStateMachine *const  pStateMachine) throw ()
explicit

general constructor

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

Definition at line 1512 of file EVCStateMachine.cpp.

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

destructor

Definition at line 1525 of file EVCStateMachine.cpp.

Member Function Documentation

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

virtual method for computing all outputs and setting the all referenced outputs

Remarks
must be implemented by any inheriting class

Implements oETCS::DF::CFunctionBlock.

Definition at line 1536 of file EVCStateMachine.cpp.

Member Data Documentation

oETCS::DF::BOOL_INPUT_T oETCS::DF::CEVCCondition::m_bGuard

input storage of the guard of the condition

Definition at line 1433 of file EVCStateMachine.h.

Referenced by oETCS::UT::CEVCStateMachine::setUp().

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().


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