| The Gaudi Framework v28r2p1 (f1a77ff4)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

IGraphVisitor.h
Go to the documentation of this file.
1 #ifndef IGRAPHVISITOR_H_
2 #define IGRAPHVISITOR_H_
3
4 namespace concurrency {
5
6 class DecisionNode;
7 class AlgorithmNode;
8
9 class IGraphVisitor {
10 public:
11 virtual ~IGraphVisitor() {};
12
13 virtual bool visitEnter(DecisionNode&) const = 0;
14 virtual bool visit(DecisionNode&) = 0;
15 virtual bool visitLeave(DecisionNode&) const = 0;
16
17 virtual bool visitEnter(AlgorithmNode&) const = 0;
18 virtual bool visit(AlgorithmNode& node) = 0;
19
20 virtual void reset() = 0;
21
22 public:
23 int m_nodesSucceeded;
24 int m_slotNum;
25 };
26 }
27
28 #endif /* IGRAPHVISITOR_H_ */
concurrency::IGraphVisitor::visitEnter
virtual bool visitEnter(DecisionNode &) const =0
concurrency::DecisionNode
Definition: PrecedenceRulesGraph.h:86
concurrency
Definition: ExecutionFlowManager.cpp:3
concurrency::IGraphVisitor::m_slotNum
int m_slotNum
Definition: IGraphVisitor.h:24
concurrency::IGraphVisitor::visit
virtual bool visit(DecisionNode &)=0
concurrency::IGraphVisitor
Definition: IGraphVisitor.h:9
concurrency::IGraphVisitor::~IGraphVisitor
virtual ~IGraphVisitor()
Definition: IGraphVisitor.h:11
concurrency::IGraphVisitor::visitLeave
virtual bool visitLeave(DecisionNode &) const =0
concurrency::IGraphVisitor::m_nodesSucceeded
int m_nodesSucceeded
Definition: IGraphVisitor.h:23
concurrency::AlgorithmNode
Definition: PrecedenceRulesGraph.h:140
concurrency::IGraphVisitor::reset
virtual void reset()=0