-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSystemManagerUI.h
46 lines (37 loc) · 1.01 KB
/
SystemManagerUI.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
#ifndef SystemManager_SystemMangerUI_h_IsIncluded
#define SystemManager_SystemMangerUI_h_IsIncluded
#include"SystemManager/IncludeExtLibs.h"
#include"SystemManager/SystemManager.h"
#include<map>
#include<fstream>
namespace SystemManagerSpace
{
// -------------------------------------------------------
// class SystemManagerUI
// - a simple command interface to the SystemManager
// -------------------------------------------------------
/**
* class SystemManagerUI is a simple command interface to the SystemManager.
*/
class SystemManagerUI : public Thread
{
public:
/**
* Constructor for SystemManagerUI.
* Uses a SystemManager reference to call SystemManager's class functions for kill, print, etc.
*
* @param sm The SystemManager object.
*/
SystemManagerUI(SystemManager &sm);
/**
* Empty destructor.
*/
~SystemManagerUI();
private:
void printCommand();
virtual void run();
private:
SystemManager &systemManager;
};
} // namespace SystemManagerSpace
#endif //SystemManager_SystemMangerUI_h_IsIncluded