-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathStatus.cpp
More file actions
46 lines (36 loc) · 808 Bytes
/
Copy pathStatus.cpp
File metadata and controls
46 lines (36 loc) · 808 Bytes
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
#include "Status.h"
Status::Status() {
_ruleIndicator = -1;
_ruleThreshold = -1;
_actionValue = -1;
}
Status::Status(int ruleIndicator, int ruleThreshold, int actionValue) {
_ruleIndicator = ruleIndicator;
_ruleThreshold = ruleThreshold;
_actionValue = actionValue;
}
Status::~Status() {
}
int Status::ruleIndicator() {
return _ruleIndicator;
}
int Status::ruleThreshold() {
return _ruleThreshold;
}
int Status::actionValue() {
return _actionValue;
}
void Status::setRuleIndicator(int ruleIndicator) {
_ruleIndicator = ruleIndicator;
}
void Status::setRuleThreshold(int ruleThreshold) {
_ruleThreshold = ruleThreshold;
}
void Status::setActionValue(int actionValue) {
_actionValue = actionValue;
}
void Status::clean() {
_ruleIndicator = -1;
_ruleThreshold = -1;
_actionValue = -1;
}