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

flow class for the meta model bit type More...

#include <EVCStateMachine.h>

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

Public Member Functions

 CBitFlow (oETCS::DF::CStorage *const pInput, oETCS::DF::CEVCStateMachine *const pStateMachine) throw ()
 general constructor
oETCS::DF::CStorageoperator-> () throw ()
 pointer access operator for connected input storage
void operator= (const oETCS::DF::CStorage &Value) throw ()
 assignment operator

Protected Attributes

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

Private Attributes

oETCS::DF::CStorage *const m_pInput
 pointer to CStorage instance as bit input

Detailed Description

flow class for the meta model bit type

Builds the connection/flow between to CStrorage objects

Definition at line 1165 of file EVCStateMachine.h.

Constructor & Destructor Documentation

oETCS::DF::CBitFlow::CBitFlow ( oETCS::DF::CStorage *const  pInput,
oETCS::DF::CEVCStateMachine *const  pStateMachine 
) throw ()
explicit

general constructor

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

Definition at line 1383 of file EVCStateMachine.cpp.

Member Function Documentation

oETCS::DF::CStorage * oETCS::DF::CBitFlow::operator-> ( ) throw ()

pointer access operator for connected input storage

Returns
pointer to the underlying CStorage instance

Definition at line 1449 of file EVCStateMachine.cpp.

void oETCS::DF::CBitFlow::operator= ( const oETCS::DF::CStorage Value) throw ()

assignment operator

Parameters
[in]Valueconcrete value of this bit data flow

Definition at line 1396 of file EVCStateMachine.cpp.

References oETCS::DF::BOOL, oETCS::DF::DOUBLE, oETCS::DF::DOUBLE_ARRAY, oETCS::DF::INT, and oETCS::DF::STRING.

Member Data Documentation

oETCS::DF::CStorage* const oETCS::DF::CBitFlow::m_pInput
private

pointer to CStorage instance as bit input

Definition at line 1201 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 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/.