openETCS
case study for the European Train Control System developed for the authors dissertation
Public Types | Public Member Functions | Public Attributes | List of all members
oETCS::GEN::CFBNode Struct Reference

node representing a function block object in the abstract model More...

#include <AbstractModel.h>

Collaboration diagram for oETCS::GEN::CFBNode:
Collaboration graph

Public Types

enum  NODE_TYPE_T {
  DEFINED = 0,
  UNDEFINED = 1
}
 enumeration type for nodes More...

Public Member Functions

 CFBNode (const std::string &OID="", const NODE_TYPE_T &eState=::oETCS::GEN::CFBNode::UNDEFINED, const ::std::list< CFBNode * > &Inputs=::std::list< ::oETCS::GEN::CFBNode * >(0)) throw ()
 default/general constructor

Public Attributes

NODE_TYPE_T m_eState
 state of the node
::std::list< CFBNode * > m_Inputs
 list with pointer to all nodes being inputs of current node
::std::string m_OID
 OID of the corresponding function block object.

Detailed Description

node representing a function block object in the abstract model

Definition at line 46 of file AbstractModel.h.

Member Enumeration Documentation

enumeration type for nodes

Enumerator:
DEFINED 

defined state

UNDEFINED 

undefined state

Definition at line 51 of file AbstractModel.h.

Constructor & Destructor Documentation

oETCS::GEN::CFBNode::CFBNode ( const std::string &  OID = "",
const NODE_TYPE_T eState = ::oETCS::GEN::CFBNode::UNDEFINED,
const ::std::list< CFBNode * > &  Inputs = ::std::list< ::oETCS::GEN::CFBNode* >(0) 
) throw ()

default/general constructor

Parameters
[in]OIDoptional string with the OID
[in]eStateoptional enum with the state of the node
[in]Inputsoptional list of pointers to CFBNode objects defined as inputs

Definition at line 35 of file AbstractModel.cpp.

Member Data Documentation

NODE_TYPE_T oETCS::GEN::CFBNode::m_eState

state of the node

Definition at line 89 of file AbstractModel.h.

::std::list< CFBNode* > oETCS::GEN::CFBNode::m_Inputs

list with pointer to all nodes being inputs of current node

Definition at line 96 of file AbstractModel.h.

Referenced by oETCS::GEN::CCPPGenerator::GenerateControlFlows(), and oETCS::GEN::CCPPGenerator::GenerateDataFlow().

::std::string oETCS::GEN::CFBNode::m_OID

OID of the corresponding function block object.

Definition at line 82 of file AbstractModel.h.


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