VR-Forces 4.3.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrfGuiCoreQt
simulationCommandActions.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2013 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
11
12
#pragma once
13
14
#include <
vrfGuiCoreQt/vrfGuiCoreQt.h
>
15
#include <
vrvCoreQt/DtMenuItem.h
>
16
17
#include <QtGui/QAction>
18
19
class
DtSimCommand
;
20
21
namespace
makVrf
22
{
23
class
DtVrfSimulationCommandMenu;
24
class
DtSimCommandObjectWrapper;
25
26
class
DT_DLL_VRFGUICOREQT
DtVrfSimulationCommandAction
:
public
QAction
27
{
28
Q_OBJECT
29
30
public
:
31
DtVrfSimulationCommandAction
(
QWidget
*);
32
virtual
~
DtVrfSimulationCommandAction
();
33
34
void
setParentMenu(
DtVrfSimulationCommandMenu
* p)
35
{
36
myParentMenu = p;
37
}
38
39
DtVrfSimulationCommandMenu
* parentMenu()
40
{
41
return
myParentMenu;
42
}
43
44
void
setCommandAction(
const
std::string& s)
45
{
46
myCommandAction = s;
47
}
48
49
const
std::string& commandAction()
const
50
{
51
return
myCommandAction;
52
}
53
54
public
:
55
virtual
void
slot_onSimCommandActivated(
const
DtSimCommandObjectWrapper
&);
56
boost::signal<void (const DtSimCommandObjectWrapper&)>
signal_simCommandActivated
;
57
58
protected
:
59
DtVrfSimulationCommandMenu
*
myParentMenu
;
60
std::string
myCommandAction
;
61
};
62
65
66
class
DT_DLL_VRFGUICOREQT
DtVrfSimulationCommand
:
public
makVrv::DtMenuItem
67
{
68
Q_OBJECT
69
70
public
:
71
DtVrfSimulationCommand
(
const
std::string&,
makVrv::DtDe
&);
72
virtual
~
DtVrfSimulationCommand
();
73
74
protected
:
75
virtual
QAction
* registerMenuItem(
DtVrfSimulationCommandAction
* action,
const
std::string& commandAction);
76
virtual
void
on_triggered();
77
78
protected
:
79
makVrv::DtDe
&
myDe
;
80
};
81
82
class
DT_DLL_VRFGUICOREQT
DtSimulationCommandAbandonPlan
:
public
DtVrfSimulationCommand
83
{
84
Q_OBJECT
85
86
public
:
87
//CTOR
88
DtSimulationCommandAbandonPlan
(
makVrv::DtDe
& de);
89
90
//DTOR
91
virtual
~
DtSimulationCommandAbandonPlan
();
92
94
virtual
QAction
* createAction(
makVrv::DtDe
&,
QWidget
* parent);
95
};
96
97
class
DT_DLL_VRFGUICOREQT
DtSimulationCommandComment
:
public
DtVrfSimulationCommand
98
{
99
Q_OBJECT
100
101
public
:
102
//CTOR
103
DtSimulationCommandComment
(
makVrv::DtDe
& de);
104
105
//DTOR
106
virtual
~
DtSimulationCommandComment
();
107
109
virtual
QAction
* createAction(
makVrv::DtDe
&,
QWidget
* parent);
110
};
111
112
class
DT_DLL_VRFGUICOREQT
DtSimulationCommandChangeHostility
:
public
DtVrfSimulationCommand
113
{
114
Q_OBJECT
115
116
public
:
117
//CTOR
118
DtSimulationCommandChangeHostility
(
makVrv::DtDe
& de);
119
120
//DTOR
121
virtual
~
DtSimulationCommandChangeHostility
();
122
124
virtual
QAction
* createAction(
makVrv::DtDe
&,
QWidget
* parent);
125
};
126
127
class
DT_DLL_VRFGUICOREQT
DtSimulationCommandSetTimeOfDay
:
public
DtVrfSimulationCommand
128
{
129
Q_OBJECT
130
131
public
:
132
//CTOR
133
DtSimulationCommandSetTimeOfDay
(
makVrv::DtDe
& de);
134
135
//DTOR
136
virtual
~
DtSimulationCommandSetTimeOfDay
();
137
139
virtual
QAction
* createAction(
makVrv::DtDe
&,
QWidget
* parent);
140
};
141
142
class
DT_DLL_VRFGUICOREQT
DtSimulationCommandSetGlobalWeather
:
public
DtVrfSimulationCommand
143
{
144
Q_OBJECT
145
146
public
:
147
//CTOR
148
DtSimulationCommandSetGlobalWeather
(
makVrv::DtDe
& de);
149
150
//DTOR
151
virtual
~
DtSimulationCommandSetGlobalWeather
();
152
154
virtual
QAction
* createAction(
makVrv::DtDe
&,
QWidget
* parent);
155
};
156
157
class
DT_DLL_VRFGUICOREQT
DtSimulationCommandDelete
:
public
DtVrfSimulationCommand
158
{
159
Q_OBJECT
160
161
public
:
162
//CTOR
163
DtSimulationCommandDelete
(
makVrv::DtDe
& de);
164
165
//DTOR
166
virtual
~
DtSimulationCommandDelete
();
167
169
virtual
QAction
* createAction(
makVrv::DtDe
&,
QWidget
* parent);
170
};
171
172
class
DT_DLL_VRFGUICOREQT
DtSimulationCommandStealthCommand
:
public
DtVrfSimulationCommand
173
{
174
Q_OBJECT
175
176
public
:
177
//CTOR
178
DtSimulationCommandStealthCommand
(
makVrv::DtDe
& de);
179
180
//DTOR
181
virtual
~
DtSimulationCommandStealthCommand
();
182
184
virtual
QAction
* createAction(
makVrv::DtDe
&,
QWidget
* parent);
185
};
186
187
class
DT_DLL_VRFGUICOREQT
DtSimulationCommandScenarioEvent
:
public
DtVrfSimulationCommand
188
{
189
Q_OBJECT
190
191
public
:
192
//CTOR
193
DtSimulationCommandScenarioEvent
(
makVrv::DtDe
& de);
194
195
//DTOR
196
virtual
~
DtSimulationCommandScenarioEvent
();
197
199
virtual
QAction
* createAction(
makVrv::DtDe
&,
QWidget
* parent);
200
};
201
203
class
DT_DLL_VRFGUICOREQT
DtSimulationCommandSelfDelete
:
public
DtVrfSimulationCommand
204
{
205
Q_OBJECT
206
207
public
:
208
//CTOR
209
DtSimulationCommandSelfDelete
(
makVrv::DtDe
& de);
210
211
//DTOR
212
virtual
~
DtSimulationCommandSelfDelete
();
213
215
virtual
QAction
* createAction(
makVrv::DtDe
&,
QWidget
* parent);
216
219
virtual
void
on_triggered();
220
};
221
222
class
DT_DLL_VRFGUICOREQT
DtSimulationCommandRestartPlan
:
public
DtVrfSimulationCommand
223
{
224
Q_OBJECT
225
226
public
:
227
//CTOR
228
DtSimulationCommandRestartPlan
(
makVrv::DtDe
& de);
229
230
//DTOR
231
virtual
~
DtSimulationCommandRestartPlan
();
232
234
virtual
QAction
* createAction(
makVrv::DtDe
&,
QWidget
* parent);
235
};
236
238
class
DT_DLL_VRFGUICOREQT
DtSimulationCommandIssuePlan
:
public
DtVrfSimulationCommand
239
{
240
Q_OBJECT
241
242
public
:
243
//CTOR
244
DtSimulationCommandIssuePlan
(
makVrv::DtDe
& de);
245
246
//DTOR
247
virtual
~
DtSimulationCommandIssuePlan
();
248
250
virtual
QAction
* createAction(
makVrv::DtDe
&,
QWidget
* parent);
251
};
252
}
Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)