-
Notifications
You must be signed in to change notification settings - Fork 0
/
SigTRow.h
49 lines (37 loc) · 1 KB
/
SigTRow.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
/*
* File: SigTRow.h
* Author: ivek
*
* Created on January 19, 2012, 11:27 AM
*/
#ifndef SIGTROW_H
#define SIGTROW_H
#include "UpdateFunctionDelegator.h"
#include <vector>
/* Wrapper related */
#include "VertexProxy.h"
class SigTRow : public UpdateFunctionDelegator {
public:
SigTRow();
SigTRow(const SigTRow& orig);
~SigTRow();
UpdateFunctionDelegator* clone();
/* elements of row this class describes, ordered by increasing indices */
element_type* values;
void accept(VertexVisitor &v, gl::iscope& scope, gl::icallback& schedule);
void updateFunction(gl::iscope& scope, gl::icallback& scheduler);
private:
};
class SigTRowWrapper : public VertexProxy {
public:
SigTRowWrapper(){
this->essence = new SigTRow();
}
SigTRowWrapper(const SigTRowWrapper& orig) {
this->essence = orig.essence->clone();
};
~SigTRowWrapper() {
delete(this->essence);
}
};
#endif /* SIGTROW_H */