The Gaudi Framework
master (37c0b60a)
|
#include </builds/gaudi/Gaudi/GaudiHive/src/PRGraph/PrecedenceRulesGraph.h>
Public Member Functions | |
DecisionNode (PrecedenceRulesGraph &graph, unsigned int nodeIndex, const std::string &name, Concurrent modeConcurrent, PromptDecision modePromptDecision, ModeOr modeOR, AllPass allPass, Inverted isInverted) | |
Constructor. More... | |
bool | accept (IGraphVisitor &visitor) override |
Visitor entry point. More... | |
void | addParentNode (DecisionNode *node) |
Add a parent node. More... | |
void | addDaughterNode (ControlFlowNode *node) |
Add a daughter node. More... | |
const std::vector< ControlFlowNode * > & | getDaughters () const |
Get children nodes. More... | |
void | printState (std::stringstream &output, EventSlot &slot, const unsigned int &recursionLevel) const override |
Print a string representing the control flow state. More... | |
Public Member Functions inherited from concurrency::ControlFlowNode | |
ControlFlowNode (PrecedenceRulesGraph &graph, unsigned int nodeIndex, const std::string &name) | |
Constructor. More... | |
virtual | ~ControlFlowNode ()=default |
Destructor. More... | |
const unsigned int & | getNodeIndex () const |
Get node index. More... | |
const std::string & | name () const |
Get node name. More... | |
Public Attributes | |
bool | m_modeConcurrent |
Whether all daughters will be evaluated concurrently or sequentially. More... | |
bool | m_modePromptDecision |
Whether to evaluate the hub decision ASA its child decisions allow to do that. More... | |
bool | m_modeOR |
Whether acting as "and" (false) or "or" node (true) More... | |
bool | m_allPass |
Whether always passing regardless of daughter results. More... | |
bool | m_inverted { false } |
Whether the selection result is negated or not. More... | |
std::vector< ControlFlowNode * > | m_children |
All direct daughter nodes in the tree. More... | |
std::vector< DecisionNode * > | m_parents |
Direct parent nodes. More... | |
Public Attributes inherited from concurrency::ControlFlowNode | |
PrecedenceRulesGraph * | m_graph |
Additional Inherited Members | |
Protected Attributes inherited from concurrency::ControlFlowNode | |
unsigned int | m_nodeIndex |
std::string | m_nodeName |
Definition at line 439 of file PrecedenceRulesGraph.h.
|
inline |
|
overridevirtual |
Visitor entry point.
Implements concurrency::ControlFlowNode.
Definition at line 65 of file PrecedenceRulesGraph.cpp.
void concurrency::DecisionNode::addDaughterNode | ( | ControlFlowNode * | node | ) |
Add a daughter node.
Definition at line 47 of file PrecedenceRulesGraph.cpp.
void concurrency::DecisionNode::addParentNode | ( | DecisionNode * | node | ) |
|
inline |
|
overridevirtual |
Print a string representing the control flow state.
Implements concurrency::ControlFlowNode.
Definition at line 53 of file PrecedenceRulesGraph.cpp.
bool concurrency::DecisionNode::m_allPass |
Whether always passing regardless of daughter results.
Definition at line 472 of file PrecedenceRulesGraph.h.
std::vector<ControlFlowNode*> concurrency::DecisionNode::m_children |
All direct daughter nodes in the tree.
Definition at line 476 of file PrecedenceRulesGraph.h.
bool concurrency::DecisionNode::m_inverted { false } |
Whether the selection result is negated or not.
Definition at line 474 of file PrecedenceRulesGraph.h.
bool concurrency::DecisionNode::m_modeConcurrent |
Whether all daughters will be evaluated concurrently or sequentially.
Definition at line 465 of file PrecedenceRulesGraph.h.
bool concurrency::DecisionNode::m_modeOR |
Whether acting as "and" (false) or "or" node (true)
Definition at line 470 of file PrecedenceRulesGraph.h.
bool concurrency::DecisionNode::m_modePromptDecision |
Whether to evaluate the hub decision ASA its child decisions allow to do that.
Applicable to "sequential" hub only.
Definition at line 468 of file PrecedenceRulesGraph.h.
std::vector<DecisionNode*> concurrency::DecisionNode::m_parents |
Direct parent nodes.
Definition at line 478 of file PrecedenceRulesGraph.h.