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

class for outputs to the driver via the DMI More...

#include <FunctionBlocks.h>

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

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

Detailed Description

class for outputs to the driver via the DMI

Definition at line 1784 of file FunctionBlocks.h.

Constructor & Destructor Documentation

oETCS::DF::CDMIOutput::CDMIOutput ( oETCS::DF::CEVCStateMachine *const  pStateMachine,
const oETCS::DF::DATA_T eType,
const ::std::string &  Label = "",
const bool &  bInitialVisible = true 
) throw ()
explicit

general constructor

Parameters
[in]pStateMachinepointer to the parent EVC state machine object
[in]eTypedata type of the DMI input object
[in]Labeloptional label string
[in]bInitialVisibleoptional flag for initial visibility

Definition at line 1752 of file FunctionBlocks.cpp.

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

destructor

Definition at line 1772 of file FunctionBlocks.cpp.

Member Function Documentation

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

Member Data Documentation

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

data type of input

Definition at line 1867 of file FunctionBlocks.h.

Referenced by Calculate().

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.

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


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