-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTOR.cpp
More file actions
46 lines (41 loc) · 911 Bytes
/
TOR.cpp
File metadata and controls
46 lines (41 loc) · 911 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
/************************************************************************************************
* File: TOR.cpp
* Author: Abbey DuBois
* Date: 3/14/2024
* Description: This file contains the implementation of the TOR class
*************************************************************************************************/
#include "TOR.h"
TOR::TOR() {
m_lowerEnd = 0;
m_higherEnd = 0;
}
TOR::TOR(Task T1, Task T2, int lowerEnd, int higherEnd) {
m_T1 = T1;
m_T2 = T2;
m_lowerEnd = lowerEnd;
m_higherEnd = higherEnd;
}
void TOR::setT1(Task T1) {
m_T1 = T1;
}
void TOR::setT2(Task T2) {
m_T2 = T2;
}
void TOR::setLowerEnd(int lowerEnd) {
m_lowerEnd = lowerEnd;
}
void TOR::setHigherEnd(int higherEnd) {
m_higherEnd = higherEnd;
}
Task TOR::getT1() {
return m_T1;
}
Task TOR::getT2() {
return m_T2;
}
int TOR::getLowerEnd() {
return m_lowerEnd;
}
int TOR::getHigherEnd() {
return m_higherEnd;
}