forked from mhernando/Apolo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
manageWindows.h
52 lines (37 loc) · 1.29 KB
/
manageWindows.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
50
51
52
#ifndef __APOLO__MANAGEWINDOWS__H
#define __APOLO__MANAGEWINDOWS__H
#include "robotSimPanel.h"
#include "robotSimGoTo.h"
#include "wheeledBasePanel.h"
#include "nodeTree.h"
class RobotSimPanel;
class WheeledBasePanel;
class RobotSimGoTo;
class ManageWindows
{
public:
ManageWindows();
~ManageWindows(void);
void RefreshVectorPages(NodeTree* node);
bool CheckWindowsExist (NodeTree* node);
//manage robotsimpanel
void addWindowRobotSim(RobotSimPanel* robot);
void WindowRobotSimIsClosed (RobotSimPanel* rb);
//manage wheeledbase
void addWindowWheeledBase(WheeledBasePanel* wh);
void WindowWheeledBaseIsClosed (WheeledBasePanel* wh);
//manage robotsimgoto
void addWindowRobotSimGoTo(RobotSimGoTo* robot);
void WindowRobotSimGoToIsClosed (RobotSimGoTo* rb);
vector<NodeTree*> getVectorWindows(){return vectorwindows;}
vector<RobotSimPanel*> getVectorRobotSimPanel(){return robotsim;}
vector<WheeledBasePanel*> getVectorWheeledBasePanel(){return wheelebase;}
vector<RobotSimGoTo*> getVectorRobotSimGoTo(){return robotsimgoto;}
private:
vector<NodeTree*> vectorwindows;
vector<RobotSimPanel*> robotsim;
vector<WheeledBasePanel*> wheelebase;
vector<RobotSimGoTo*> robotsimgoto;
NodeTree* nodetree;
};
#endif // __APOLO__MANAGEWINDOWS__H