-
Notifications
You must be signed in to change notification settings - Fork 0
/
VertexVisitor.h
49 lines (42 loc) · 1.7 KB
/
VertexVisitor.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/* Visitor pattern constituent, update function
*
* File: VertexVisitor.h
* Author: ivek
*
* Created on January 9, 2012, 4:25 PM
*/
#ifndef VERTEXVISITOR_H
#define VERTEXVISITOR_H
#include "UpdateFunctionDelegator.h"
class TRow;
class VCol;
class TmpCol;
class XCol;
class SupportXCol;
class SigTRow;
class SigVCol;
class THyperRow;
class ShapeHyperCol;
class ScaleHyperCol;
class AuxCol;
class DirichletCol;
class DiscreteCol;
class DirichletHyperCol;
class VertexVisitor {
public:
virtual void visit(TRow *e, gl::iscope& scope, gl::icallback& schedule) = 0;
virtual void visit(VCol *e, gl::iscope& scope, gl::icallback& schedule) = 0;
virtual void visit(TmpCol *e, gl::iscope& scope, gl::icallback& schedule) = 0;
virtual void visit(XCol *e, gl::iscope& scope, gl::icallback& schedule) = 0;
virtual void visit(SupportXCol *e, gl::iscope& scope, gl::icallback& schedule) = 0;
virtual void visit(SigTRow *e, gl::iscope& scope, gl::icallback& schedule) = 0;
virtual void visit(SigVCol *e, gl::iscope& scope, gl::icallback& schedule) = 0;
virtual void visit(THyperRow *e, gl::iscope& scope, gl::icallback& schedule) = 0;
virtual void visit(ShapeHyperCol *e, gl::iscope& scope, gl::icallback& schedule) = 0;
virtual void visit(ScaleHyperCol *e, gl::iscope& scope, gl::icallback& schedule) = 0;
virtual void visit(AuxCol *e, gl::iscope& scope, gl::icallback& schedule) = 0;
virtual void visit(DirichletCol *e, gl::iscope& scope, gl::icallback& schedule) = 0;
virtual void visit(DiscreteCol *e, gl::iscope& scope, gl::icallback& schedule) = 0;
virtual void visit(DirichletHyperCol *e, gl::iscope& scope, gl::icallback& schedule) = 0;
};
#endif /* VERTEXVISITOR_H */