-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathScaleHyperCol.h
50 lines (37 loc) · 1 KB
/
ScaleHyperCol.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
49
/*
* File: ScaleHyperCol.h
* Author: ivek
*
* Created on February 16, 2012, 10:35 AM
*/
#ifndef SCALEHYPERCOL_H
#define SCALEHYPERCOL_H
#include "UpdateFunctionDelegator.h"
#include "GenericScale.h"
/* Wrapper related*/
#include "VertexProxy.h"
class ScaleHyperCol : public GenericScale
{
public:
ScaleHyperCol();
ScaleHyperCol(const ScaleHyperCol& orig);
~ScaleHyperCol();
UpdateFunctionDelegator* clone();
/* UpdateFunctionDelegator */
void accept(VertexVisitor& v, gl::iscope& scope, gl::icallback& schedule);
void updateFunction(gl::iscope& scope, gl::icallback& scheduler);
/* UpdateFunctionDelegator ends */
};
class ScaleHyperColWrapper : public VertexProxy {
public:
ScaleHyperColWrapper() {
this->essence = new ScaleHyperCol();
}
ScaleHyperColWrapper(const ScaleHyperColWrapper& orig) {
this->essence = orig.essence->clone();
};
~ScaleHyperColWrapper() {
delete(this->essence);
}
};
#endif /* SCALEHYPERCOL_H */