| The Gaudi Framework v27r1

- 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::visitLeave
virtual bool visitLeave(DecisionNode &) const =0
concurrency::DecisionNode
Definition: ExecutionFlowGraph.h:86
concurrency
Definition: EFGraphVisitors.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::m_nodesSucceeded
int m_nodesSucceeded
Definition: IGraphVisitor.h:23
concurrency::AlgorithmNode
Definition: ExecutionFlowGraph.h:137
concurrency::IGraphVisitor::reset
virtual void reset()=0
concurrency::IGraphVisitor::visitEnter
virtual bool visitEnter(DecisionNode &) const =0