openETCS
case study for the European Train Control System developed for the authors dissertation
|
condition class for starting the execution of a certain state More...
#include <Condition.h>
Public Member Functions | |
virtual void | Calculate () throw (::oETCS::DF::Error::CException) |
virtual method for computing all outputs and setting the all referenced outputs | |
CCondition (oETCS::DF::CEVCStateMachine *const pStateMachine) throw () | |
general constructor | |
virtual | ~CCondition () 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 |
condition class for starting the execution of a certain state
Definition at line 49 of file Condition.h.
|
explicit |
general constructor
[in] | pStateMachine | pointer to the parent EVC state machine object |
Definition at line 36 of file Condition.cpp.
|
virtual |
destructor
Definition at line 49 of file Condition.cpp.
|
virtual |
virtual method for computing all outputs and setting the all referenced outputs
Implements oETCS::DF::CFunctionBlock.
Definition at line 60 of file Condition.cpp.
References oETCS::DF::CEVCStateMachine::GetActiveState(), oETCS::DF::CEVCStateMachine::CEVCState::GetCurrentDataFlow(), oETCS::DF::CEVCStateMachine::CEVCState::GetTransitions(), m_bGuard, and oETCS::DF::CFunctionBlock::m_pStateMachine.
oETCS::DF::BOOL_INPUT_T oETCS::DF::CCondition::m_bGuard |
input storage of the guard of the condition
Definition at line 80 of file Condition.h.
Referenced by Calculate(), and oETCS::UT::CControlFlow::setUp().
|
inherited |
pointer to the all contenting EVC state machine
Definition at line 894 of file EVCStateMachine.h.
Referenced by 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/.