openETCS
case study for the European Train Control System developed for the authors dissertation
Public Member Functions | Protected Attributes | Private Attributes | List of all members
oETCS::DF::CFlow< INPUT_TYPE_T, FLOW_TYPE_T > Class Template Reference

flow template class More...

#include <EVCStateMachine.h>

Inheritance diagram for oETCS::DF::CFlow< INPUT_TYPE_T, FLOW_TYPE_T >:
Inheritance graph
Collaboration diagram for oETCS::DF::CFlow< INPUT_TYPE_T, FLOW_TYPE_T >:
Collaboration graph

Public Member Functions

 CFlow (FLOW_TYPE_T *const pInput, oETCS::DF::CEVCStateMachine *const pStateMachine) throw ()
 general constructor
void operator= (const INPUT_TYPE_T &Value) throw ()
 assignment operator

Protected Attributes

oETCS::DF::CEVCStateMachine *const m_pStateMachine
 pointer to the all contenting EVC state machine

Private Attributes

FLOW_TYPE_T *const m_pInput
 pointer to the related input of an function block object

Detailed Description

template<class INPUT_TYPE_T, class FLOW_TYPE_T = ::oETCS::DF::CFunctionBlock::CInput< INPUT_TYPE_T >>
class oETCS::DF::CFlow< INPUT_TYPE_T, FLOW_TYPE_T >

flow template class

Builds the connection of one input with one output for a certain data flow.

Template Parameters
INPUT_TYPE_Tis the type of the input
FLOW_TYPE_Tis the type of the data flow

Definition at line 1083 of file EVCStateMachine.h.

Constructor & Destructor Documentation

template<class INPUT_TYPE_T , class FLOW_TYPE_T >
oETCS::DF::CFlow< INPUT_TYPE_T, FLOW_TYPE_T >::CFlow ( FLOW_TYPE_T *const  pInput,
oETCS::DF::CEVCStateMachine *const  pStateMachine 
) throw ()

general constructor

Parameters
[in]pInputpointer to the related input object
[in]pStateMachinepointer to the parent state machine

Definition at line 1118 of file EVCStateMachine.h.

Member Function Documentation

template<class INPUT_TYPE_T , class FLOW_TYPE_T >
void oETCS::DF::CFlow< INPUT_TYPE_T, FLOW_TYPE_T >::operator= ( const INPUT_TYPE_T &  Value) throw ()

assignment operator

Parameters
[in]Valueconcrete value of this data flow

Definition at line 1132 of file EVCStateMachine.h.

Member Data Documentation

template<class INPUT_TYPE_T, class FLOW_TYPE_T = ::oETCS::DF::CFunctionBlock::CInput< INPUT_TYPE_T >>
FLOW_TYPE_T* const oETCS::DF::CFlow< INPUT_TYPE_T, FLOW_TYPE_T >::m_pInput
private

pointer to the related input of an function block object

Definition at line 1110 of file EVCStateMachine.h.

oETCS::DF::CEVCStateMachine* const oETCS::DF::CAbstractFlow::m_pStateMachine
protectedinherited

pointer to the all contenting EVC state machine

Definition at line 1065 of file EVCStateMachine.h.


The documentation for this class was generated from the following file:

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