openETCS
case study for the European Train Control System developed for the authors dissertation
|
subject of the DMI observer pattern More...
#include <EVCStateMachine.h>
Public Member Functions | |
CDMISubject (const ::std::vector< oETCS::DF::CDMIInput * > &Inputs, const ::std::vector< oETCS::DF::CDMIOutput * > &Outputs) throw () | |
general constructor | |
virtual | ~CDMISubject () throw () |
destructor |
Public Attributes | |
::std::vector < oETCS::DF::CDMIInput * > | m_Inputs |
vector of pointers to input elements | |
::std::vector < oETCS::DF::CDMIOutput * > | m_Outputs |
vector of pointers to outputs |
subject of the DMI observer pattern
Combines used DMI inputs and outputs for a certain data flow.
Definition at line 1447 of file EVCStateMachine.h.
|
explicit |
general constructor
Parameterises the DMI widget with all constant members. The Telegram object takes over the posession of the input and output elements.
[in] | Input | vector with pointers to all DMI input objects used |
[in] | Outputs | vector with pointers to all DMI output objects used |
Definition at line 1584 of file EVCStateMachine.cpp.
|
virtual |
destructor
Definition at line 1597 of file EVCStateMachine.cpp.
::std::vector< oETCS::DF::CDMIInput* > oETCS::DF::CDMISubject::m_Inputs |
vector of pointers to input elements
Definition at line 1472 of file EVCStateMachine.h.
Referenced by oETCS::DF::CDMIQWidget::DataEntered(), and oETCS::DF::CDMIQWidget::UpdateSlot().
::std::vector< oETCS::DF::CDMIOutput* > oETCS::DF::CDMISubject::m_Outputs |
vector of pointers to outputs
Definition at line 1479 of file EVCStateMachine.h.
Referenced by oETCS::DF::CDMIQWidget::UpdateSlot().
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/.