![]() |
The Gaudi Framework
v29r2 (7a580596)
|
#include <src/ControlFlowGraph.h>
Public Member Functions | |
ControlFlowNode (ControlFlowGraph &graph, unsigned int nodeIndex, const std::string &name) | |
Constructor. More... | |
virtual | ~ControlFlowNode () |
Destructor. More... | |
virtual void | initialize (const std::unordered_map< std::string, unsigned int > &algname_index_map)=0 |
Initialize. More... | |
virtual int | updateState (AlgsExecutionStates &states, std::vector< int > &node_decisions) const =0 |
Method to set algos to CONTROLREADY, if possible. More... | |
virtual void | printState (std::stringstream &output, AlgsExecutionStates &states, const std::vector< int > &node_decisions, const unsigned int &recursionLevel) const =0 |
Print a string representing the control flow state. More... | |
const unsigned int & | getNodeIndex () const |
Get node index. More... | |
const std::string & | getNodeName () const |
Get node name. More... | |
Public Attributes | |
ControlFlowGraph * | m_graph |
Protected Member Functions | |
std::string | stateToString (const int &stateId) const |
Translation between state id and name. More... | |
Protected Attributes | |
unsigned int | m_nodeIndex |
std::string | m_nodeName |
Definition at line 25 of file ControlFlowGraph.h.
|
inline |
Constructor.
Definition at line 29 of file ControlFlowGraph.h.
|
inlinevirtual |
|
inline |
Get node index.
Definition at line 43 of file ControlFlowGraph.h.
|
inline |
Get node name.
Definition at line 45 of file ControlFlowGraph.h.
|
pure virtual |
Initialize.
Implemented in concurrency::recursive_CF::AlgorithmNode, and concurrency::recursive_CF::DecisionNode.
|
pure virtual |
Print a string representing the control flow state.
Implemented in concurrency::recursive_CF::AlgorithmNode, and concurrency::recursive_CF::DecisionNode.
|
protected |
Translation between state id and name.
Definition at line 11 of file ControlFlowGraph.cpp.
|
pure virtual |
Method to set algos to CONTROLREADY, if possible.
Implemented in concurrency::recursive_CF::AlgorithmNode, and concurrency::recursive_CF::DecisionNode.
ControlFlowGraph* concurrency::recursive_CF::ControlFlowNode::m_graph |
Definition at line 48 of file ControlFlowGraph.h.
|
protected |
Definition at line 53 of file ControlFlowGraph.h.
|
protected |
Definition at line 54 of file ControlFlowGraph.h.