openETCS
case study for the European Train Control System developed for the authors dissertation
|
class for outputs to the driver via the DMI More...
#include <FunctionBlocks.h>
Public Member Functions | |
virtual void | Calculate () throw (::oETCS::DF::Error::CException) |
pure virtual method for computing all outputs | |
CDMIOutput (oETCS::DF::CEVCStateMachine *const pStateMachine, const oETCS::DF::DATA_T &eType, const ::std::string &Label="", const bool &bInitialVisible=true) throw () | |
general constructor | |
virtual | ~CDMIOutput () throw () |
destructor |
Public Attributes | |
oETCS::DF::BOOL_INPUT_T | m_bBoolMessage |
storage of a boolean message | |
oETCS::DF::BOOL_INPUT_T | m_bVisible |
storage of the visible flag input | |
oETCS::DF::DOUBLE_INPUT_T | m_dDoubleMessage |
storage of a double message | |
oETCS::DF::DOUBLE_ARRAY_INPUT_T | m_DoubleArrayMessage |
storage of a double array message | |
const oETCS::DF::DATA_T | m_eType |
data type of input | |
oETCS::DF::INT_INPUT_T | m_iIntMessage |
storage of an integer message | |
const ::std::string | m_Label |
optional label | |
oETCS::DF::CEVCStateMachine *const | m_pStateMachine |
pointer to the all contenting EVC state machine | |
oETCS::DF::STRING_INPUT_T | m_StringMessage |
storage of a string message |
class for outputs to the driver via the DMI
Definition at line 1784 of file FunctionBlocks.h.
|
explicit |
general constructor
[in] | pStateMachine | pointer to the parent EVC state machine object |
[in] | eType | data type of the DMI input object |
[in] | Label | optional label string |
[in] | bInitialVisible | optional flag for initial visibility |
Definition at line 1752 of file FunctionBlocks.cpp.
|
virtual |
destructor
Definition at line 1772 of file FunctionBlocks.cpp.
|
virtual |
pure virtual method for computing all outputs
Implements oETCS::DF::CFunctionBlock.
Definition at line 1783 of file FunctionBlocks.cpp.
References oETCS::DF::BOOL, oETCS::DF::DOUBLE, oETCS::DF::DOUBLE_ARRAY, oETCS::DF::INT, oETCS::DF::CFunctionBlock::CInput< INPUT_TYPE_T >::IsModified(), m_bBoolMessage, m_dDoubleMessage, m_DoubleArrayMessage, m_eType, m_iIntMessage, oETCS::DF::CFunctionBlock::m_pStateMachine, m_StringMessage, oETCS::DF::CEVCStateMachine::Notify(), and oETCS::DF::STRING.
oETCS::DF::BOOL_INPUT_T oETCS::DF::CDMIOutput::m_bBoolMessage |
storage of a boolean message
Definition at line 1818 of file FunctionBlocks.h.
Referenced by Calculate().
oETCS::DF::BOOL_INPUT_T oETCS::DF::CDMIOutput::m_bVisible |
storage of the visible flag input
Definition at line 1853 of file FunctionBlocks.h.
oETCS::DF::DOUBLE_INPUT_T oETCS::DF::CDMIOutput::m_dDoubleMessage |
storage of a double message
Definition at line 1825 of file FunctionBlocks.h.
Referenced by Calculate().
oETCS::DF::DOUBLE_ARRAY_INPUT_T oETCS::DF::CDMIOutput::m_DoubleArrayMessage |
storage of a double array message
Definition at line 1832 of file FunctionBlocks.h.
Referenced by Calculate(), and oETCS::DF::CDMIQWidget::UpdateSlot().
const oETCS::DF::DATA_T oETCS::DF::CDMIOutput::m_eType |
oETCS::DF::INT_INPUT_T oETCS::DF::CDMIOutput::m_iIntMessage |
storage of an integer message
Definition at line 1839 of file FunctionBlocks.h.
Referenced by Calculate().
const ::std::string oETCS::DF::CDMIOutput::m_Label |
optional label
Definition at line 1860 of file FunctionBlocks.h.
|
inherited |
pointer to the all contenting EVC state machine
Definition at line 894 of file EVCStateMachine.h.
Referenced by oETCS::DF::CCondition::Calculate(), and Calculate().
oETCS::DF::STRING_INPUT_T oETCS::DF::CDMIOutput::m_StringMessage |
storage of a string message
Definition at line 1846 of file FunctionBlocks.h.
Referenced by 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/.