| The Gaudi Framework v32r1 (f65d50dc)

Public Member Functions | Public Attributes | Protected Attributes | List of all members
concurrency::ControlFlowNode Class Referenceabstract

`#include <src/PRGraph/PrecedenceRulesGraph.h>`

Inheritance diagram for concurrency::ControlFlowNode:
[legend]
Collaboration diagram for concurrency::ControlFlowNode:
[legend]

## Public Member Functions
| ControlFlowNode (PrecedenceRulesGraph &graph, unsigned int nodeIndex, const std::string &name)
| Constructor. More...
virtual | ~ControlFlowNode ()=default
| Destructor. More...
virtual bool | accept (IGraphVisitor &visitor)=0
| Visitor entry point. More...
virtual void | printState (std::stringstream &output, EventSlot &slot, 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
PrecedenceRulesGraph * | m_graph

## Protected Attributes
unsigned int | m_nodeIndex
std::string | m_nodeName

## Detailed Description

Definition at line 405 of file PrecedenceRulesGraph.h.

## Constructor & Destructor Documentation

## ◆ ControlFlowNode()

concurrency::ControlFlowNode::ControlFlowNode | ( | PrecedenceRulesGraph & | graph,
|  | unsigned int | nodeIndex,
|  | const std::string & | name
| ) |  |
| inline

Constructor.

Definition at line 408 of file PrecedenceRulesGraph.h.

409 : m_graph( &graph ), m_nodeIndex( nodeIndex ), m_nodeName( name ) {}
gaudiComponentHelp.name
name
Definition: gaudiComponentHelp.py:41
concurrency::ControlFlowNode::m_graph
PrecedenceRulesGraph * m_graph
Definition: PrecedenceRulesGraph.h:423
concurrency::ControlFlowNode::m_nodeIndex
unsigned int m_nodeIndex
Definition: PrecedenceRulesGraph.h:426
concurrency::ControlFlowNode::m_nodeName
std::string m_nodeName
Definition: PrecedenceRulesGraph.h:427
plotSpeedupsPyRoot.graph
graph
Definition: plotSpeedupsPyRoot.py:140

## ◆ ~ControlFlowNode()

virtual concurrency::ControlFlowNode::~ControlFlowNode | ( |  | ) |
| virtual default

Destructor.

## Member Function Documentation

## ◆ accept()

virtual bool concurrency::ControlFlowNode::accept | ( | IGraphVisitor & | visitor | ) |
| pure virtual

Visitor entry point.

Implemented in concurrency::AlgorithmNode, and concurrency::DecisionNode.

## ◆ getNodeIndex()

const unsigned int& concurrency::ControlFlowNode::getNodeIndex | ( |  | ) | const
| inline

Get node index.

Definition at line 418 of file PrecedenceRulesGraph.h.

418 { return m_nodeIndex; }
concurrency::ControlFlowNode::m_nodeIndex
unsigned int m_nodeIndex
Definition: PrecedenceRulesGraph.h:426

## ◆ getNodeName()

const std::string& concurrency::ControlFlowNode::getNodeName | ( |  | ) | const
| inline

Get node name.

Definition at line 420 of file PrecedenceRulesGraph.h.

420 { return m_nodeName; }
concurrency::ControlFlowNode::m_nodeName
std::string m_nodeName
Definition: PrecedenceRulesGraph.h:427

## ◆ printState()

virtual void concurrency::ControlFlowNode::printState | ( | std::stringstream & | output,
|  | EventSlot & | slot,
|  | const unsigned int & | recursionLevel
| ) |  | const
| pure virtual

Print a string representing the control flow state.

Implemented in concurrency::AlgorithmNode, and concurrency::DecisionNode.

## Member Data Documentation

## ◆ m_graph

PrecedenceRulesGraph* concurrency::ControlFlowNode::m_graph

Definition at line 423 of file PrecedenceRulesGraph.h.

## ◆ m_nodeIndex

unsigned int concurrency::ControlFlowNode::m_nodeIndex
| protected

Definition at line 426 of file PrecedenceRulesGraph.h.

## ◆ m_nodeName

std::string concurrency::ControlFlowNode::m_nodeName
| protected

Definition at line 427 of file PrecedenceRulesGraph.h.

The documentation for this class was generated from the following file:

- GaudiHive/src/PRGraph/PrecedenceRulesGraph.h