openETCS
case study for the European Train Control System developed for the authors dissertation
|
function block class for computing an integer equal More...
#include <FunctionBlocks.h>
Public Member Functions | |
virtual void | Calculate () throw (::oETCS::DF::Error::CException) |
method for computing all outputs | |
CIntEqual (oETCS::DF::CEVCStateMachine *const pStateMachine) throw () | |
default/general constructor | |
virtual | ~CIntEqual () throw () |
destructor |
Public Attributes | |
::std::vector < oETCS::DF::BOOL_OUTPUT_T > | m_Equal |
pointers to storage of the result | |
oETCS::DF::INT_INPUT_T | m_iInput1 |
storage of the first input | |
oETCS::DF::INT_INPUT_T | m_iInput2 |
storage of the second input | |
oETCS::DF::CEVCStateMachine *const | m_pStateMachine |
pointer to the all contenting EVC state machine |
function block class for computing an integer equal
Definition at line 1458 of file FunctionBlocks.h.
|
explicit |
default/general constructor
[in] | pStateMachine | pointer to the parent EVC state machine object |
Definition at line 1406 of file FunctionBlocks.cpp.
|
virtual |
destructor
Definition at line 1420 of file FunctionBlocks.cpp.
|
virtual |
method for computing all outputs
Implements oETCS::DF::CFunctionBlock.
Definition at line 1431 of file FunctionBlocks.cpp.
References m_Equal, m_iInput1, and m_iInput2.
Referenced by oETCS::UT::CFunctionBlock::TestIntEqual().
::std::vector< oETCS::DF::BOOL_OUTPUT_T > oETCS::DF::CIntEqual::m_Equal |
pointers to storage of the result
Definition at line 1501 of file FunctionBlocks.h.
Referenced by Calculate(), and oETCS::UT::CFunctionBlock::setUp().
oETCS::DF::INT_INPUT_T oETCS::DF::CIntEqual::m_iInput1 |
storage of the first input
Definition at line 1487 of file FunctionBlocks.h.
Referenced by Calculate(), and oETCS::UT::CFunctionBlock::TestIntEqual().
oETCS::DF::INT_INPUT_T oETCS::DF::CIntEqual::m_iInput2 |
storage of the second input
Definition at line 1494 of file FunctionBlocks.h.
Referenced by Calculate(), and oETCS::UT::CFunctionBlock::TestIntEqual().
|
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/.