openETCS
case study for the European Train Control System developed for the authors dissertation
|
node representing a function block object in the abstract model More...
#include <AbstractModel.h>
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. |
node representing a function block object in the abstract model
Definition at line 46 of file AbstractModel.h.
enumeration type for nodes
Definition at line 51 of file AbstractModel.h.
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
[in] | OID | optional string with the OID |
[in] | eState | optional enum with the state of the node |
[in] | Inputs | optional list of pointers to CFBNode objects defined as inputs |
Definition at line 35 of file AbstractModel.cpp.
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.
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/.