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::CDMISubject Struct Reference

subject of the DMI observer pattern More...

#include <EVCStateMachine.h>

Collaboration diagram for oETCS::DF::CDMISubject:
Collaboration graph

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

Detailed Description

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.

Constructor & Destructor Documentation

oETCS::DF::CDMISubject::CDMISubject ( const ::std::vector< oETCS::DF::CDMIInput * > &  Inputs,
const ::std::vector< oETCS::DF::CDMIOutput * > &  Outputs 
) throw ()
explicit

general constructor

Parameterises the DMI widget with all constant members. The Telegram object takes over the posession of the input and output elements.

Parameters
[in]Inputvector with pointers to all DMI input objects used
[in]Outputsvector with pointers to all DMI output objects used

Definition at line 1584 of file EVCStateMachine.cpp.

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

destructor

Definition at line 1597 of file EVCStateMachine.cpp.

Member Data Documentation

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


The documentation for this struct 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/.