DiaDes
0.1
DIAgnosis of Discrete-Event System
|
#include <Node.hh>
Private Types | |
typedef vector< Transition >::const_iterator | TransitionIterator |
Private Member Functions | |
NodeData (unsigned id) | |
Event | newEvent (const Identifier &id) |
Event | getEvent (const Identifier &id) const |
void | setPriorities (const set< Event > &lowEvents, const set< Event > &highEvents) |
void | addAttribute (const Identifier &attribute) |
Variable | addVariable (const Identifier &id, NodeVariableType type, Domain domain, const set< Identifier > &attributes) |
Variable | addStructureVariable (const Identifier &id, const set< Variable > &structure) |
void | addAssertion (Expression *assertion) |
void | addParameter (const Identifier &id, Domain domain) |
void | addTransition (const Transition &transition) |
TransitionIterator | transitionBegin () const |
TransitionIterator | transitionEnd () const |
Parameter | getParameter (const Identifier &id) const |
Variable | getVariable (const Identifier &id) const |
void | addSubNode (const Identifier &name, const Node &nodeType) |
void | addSyncVector (const vector< list< Identifier > > &paths) |
void | addInitialisation (const Assignment &assignment) |
Private Attributes | |
unsigned | _id |
string | _name |
unordered_map< Identifier, unsigned > | _idParam |
vector< Parameter > | _param |
vector< Transition > | _trans |
vector< Variable > | _flowVar |
vector< Variable > | _stateVar |
vector< Variable > | _nodeVar |
unordered_map< Identifier, Variable > | _flowVarOfLabel |
unordered_map< Identifier, Variable > | _stateVarOfLabel |
unordered_map< Identifier, Variable > | _nodeVarOfLabel |
set< Identifier > | _attributes |
set< Event > | _eventSet |
unordered_map< Identifier, Event > | _eventOfLabel |
Diades::Graph::Graph | _eventDag |
Diades::Graph::NodeMap< Event > | _events |
vector< Expression * > | _assertions |
vector< NodeData * > | _subNodes |
vector< Identifier > | _subNodesName |
unordered_map< Identifier, NodeData * > | _subNodesMap |
list< vector< list< Identifier > > > | _synchros |
set< Assignment > | _initialisations |
Friends | |
class | AltaricaModel |
class | Node |
class | NodeInstance |
This structure is the internal representation of a Node. Only a AltaricaModel has the right to create/modify/delete a NodeData. The external user must use the services provided by AltaricaModel to perform any modification on a Node.
|
private |
|
inlineprivate |
Private constructor
id | the identifier of the NodeData only AltaricaModel has the right to create such a structure |
|
inlineprivate |
|
private |
Add an attribute
attribute | an attribute |
|
private |
add initialisations
assignment | the initialisation |
|
private |
|
private |
|
private |
Add a sub node
name | the name of the subNode |
nodeType | the node type of the subnode |
|
private |
Add a synchronisation vector
paths | the synchronisation vector |
|
inlineprivate |
|
private |
Add a variable
id | an Identifier that represents a variable |
type | flow/state/node type |
domain | the domain of the parameter |
attributes | set of attributes |
|
inlineprivate |
Get an event
label | the label of the event |
Definition at line 78 of file Node.hh.
Referenced by Diades::Altarica::Node::getEvent().
|
inlineprivate |
Get a Parameter
id | the corresponding identifier |
Definition at line 169 of file Node.hh.
Referenced by Diades::Altarica::Node::getParameter().
|
inlineprivate |
Get a Variable
id | the corresponding identifier |
Definition at line 183 of file Node.hh.
Referenced by Diades::Altarica::Node::getVariable().
|
private |
Add an event
label | the label of the event |
|
private |
Set priorities
lowEvents | the set of events with the lower priority |
highEvents | the set of events with the higher priority |
|
inlineprivate |
|
inlineprivate |
|
friend |
|
friend |
|
private |
Definition at line 49 of file Node.hh.
Referenced by Diades::Altarica::Node::assertionBegin(), and Diades::Altarica::Node::assertionEnd().
|
private |
Definition at line 44 of file Node.hh.
Referenced by Diades::Altarica::Node::attributeBegin(), and Diades::Altarica::Node::attributeEnd().
|
private |
|
private |
|
private |
|
private |
Definition at line 45 of file Node.hh.
Referenced by Diades::Altarica::Node::eventBegin(), and Diades::Altarica::Node::eventEnd().
|
private |
Definition at line 38 of file Node.hh.
Referenced by Diades::Altarica::Node::flowVariableBegin(), Diades::Altarica::Node::flowVariableEnd(), and Diades::Altarica::Node::numberOfFlowVariables().
|
private |
|
private |
Definition at line 33 of file Node.hh.
Referenced by Diades::Altarica::Node::id().
|
private |
|
private |
Definition at line 54 of file Node.hh.
Referenced by Diades::Altarica::Node::initialisationBegin(), and Diades::Altarica::Node::initialisationEnd().
|
private |
Definition at line 34 of file Node.hh.
Referenced by Diades::Altarica::Node::name().
|
private |
Definition at line 40 of file Node.hh.
Referenced by Diades::Altarica::Node::nodeVariableBegin(), Diades::Altarica::Node::nodeVariableEnd(), and Diades::Altarica::Node::numberOfNodeVariables().
|
private |
|
private |
Definition at line 36 of file Node.hh.
Referenced by Diades::Altarica::Node::parameterBegin(), and Diades::Altarica::Node::parameterEnd().
|
private |
Definition at line 39 of file Node.hh.
Referenced by Diades::Altarica::Node::numberOfStateVariables(), Diades::Altarica::Node::stateVariableBegin(), and Diades::Altarica::Node::stateVariableEnd().
|
private |
|
private |
Definition at line 50 of file Node.hh.
Referenced by Diades::Altarica::Node::getSubNode(), Diades::Altarica::Node::numberOfSubNodes(), and Diades::Altarica::Node::subNodeLast().
|
private |
|
private |
Definition at line 51 of file Node.hh.
Referenced by Diades::Altarica::Node::getSubNodeName().
|
private |
|
private |
Definition at line 37 of file Node.hh.
Referenced by Diades::Altarica::Node::transitionBegin(), and Diades::Altarica::Node::transitionEnd().