-
Notifications
You must be signed in to change notification settings - Fork 0
/
TasksStruct.h
49 lines (35 loc) · 831 Bytes
/
TasksStruct.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
#ifndef ___TasksStruct_H___
#define ___TasksStruct_H___
#include "Task.h"
#include <vector>
class AttemptMatch: public Task
{
private:
public:
int TimeChangeOn;
Task* startAttempt;
Task* backUpStartAttempt;
Task* finishAttempt;
Task* killedAttempt;
int setStartAttempt(Task& _task);
int setBackUpStartAttempt(Task& _task);
int setFinishAttempt( Task& _task );
int setKilledAttempt( Task& _task );
void Display();
AttemptMatch();
virtual ~AttemptMatch();
};
class TasksStruct
{
private:
std::string* attemptName;
//int matchesCount;
public:
//LogsMatch();
//AttemptMatch* attemptMatch;
std::vector<AttemptMatch*> attemptMatch;
int getMatchesCount();
TasksStruct( std::list<Task*> _all_task, int _numOfAttempt );
~TasksStruct();
};
#endif //___TasksStruct_H___