| The Gaudi Framework v29r1 (5cd95fa2)

- 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
7 class DecisionNode;
8 class AlgorithmNode;
9 class DataNode;
10 class ConditionNode;
11
12 class IGraphVisitor
13 {
14 public:
15 virtual ~IGraphVisitor() = default;
16
17 virtual bool visitEnter( DecisionNode& ) const { return true; };
18 virtual bool visit( DecisionNode& ) { return true; };
19
20 virtual bool visitEnter( AlgorithmNode& ) const { return true; };
21 virtual bool visit( AlgorithmNode& ) { return true; };
22
23 virtual bool visitEnter( DataNode& ) const { return true; };
24 virtual bool visit( DataNode& ) { return true; };
25
26 virtual bool visitEnter( ConditionNode& ) const { return true; };
27 virtual bool visit( ConditionNode& ) { return true; };
28
29 virtual void reset(){};
30 };
31 }
32
33 #endif /* IGRAPHVISITOR_H_ */
concurrency::DecisionNode
Definition: PrecedenceRulesGraph.h:364
concurrency::DataNode
Definition: PrecedenceRulesGraph.h:498
concurrency
Definition: ControlFlowGraph.cpp:4
concurrency::IGraphVisitor::visit
virtual bool visit(DecisionNode &)
Definition: IGraphVisitor.h:18
concurrency::IGraphVisitor::visitEnter
virtual bool visitEnter(DataNode &) const
Definition: IGraphVisitor.h:23
concurrency::IGraphVisitor::visit
virtual bool visit(ConditionNode &)
Definition: IGraphVisitor.h:27
concurrency::IGraphVisitor::visitEnter
virtual bool visitEnter(DecisionNode &) const
Definition: IGraphVisitor.h:17
concurrency::IGraphVisitor::visit
virtual bool visit(AlgorithmNode &)
Definition: IGraphVisitor.h:21
concurrency::IGraphVisitor::visit
virtual bool visit(DataNode &)
Definition: IGraphVisitor.h:24
concurrency::IGraphVisitor
Definition: IGraphVisitor.h:12
concurrency::IGraphVisitor::reset
virtual void reset()
Definition: IGraphVisitor.h:29
concurrency::IGraphVisitor::visitEnter
virtual bool visitEnter(ConditionNode &) const
Definition: IGraphVisitor.h:26
concurrency::ConditionNode
Definition: PrecedenceRulesGraph.h:541
concurrency::AlgorithmNode
Definition: PrecedenceRulesGraph.h:413
concurrency::IGraphVisitor::visitEnter
virtual bool visitEnter(AlgorithmNode &) const
Definition: IGraphVisitor.h:20
concurrency::IGraphVisitor::~IGraphVisitor
virtual ~IGraphVisitor()=default