VR-Forces 4.7 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrfGuiCoreQt
simulationCommandActions.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2015 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 <QtWidgets/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
DtSimulationCommandSendTextMessage
:
public
DtVrfSimulationCommand
158
{
159
Q_OBJECT
160
161
public
:
162
//CTOR
163
DtSimulationCommandSendTextMessage
(
makVrv::DtDe
& de);
164
165
//DTOR
166
virtual
~
DtSimulationCommandSendTextMessage
();
167
169
virtual
QAction
* createAction(
makVrv::DtDe
&, QWidget* parent);
170
};
171
172
class
DT_DLL_VRFGUICOREQT
DtSimulationCommandDelete
:
public
DtVrfSimulationCommand
173
{
174
Q_OBJECT
175
176
public
:
177
//CTOR
178
DtSimulationCommandDelete
(
makVrv::DtDe
& de);
179
180
//DTOR
181
virtual
~
DtSimulationCommandDelete
();
182
184
virtual
QAction
* createAction(
makVrv::DtDe
&, QWidget* parent);
185
};
186
187
class
DT_DLL_VRFGUICOREQT
DtSimulationCommandLaunchGlobalPlan
:
public
DtVrfSimulationCommand
188
{
189
Q_OBJECT
190
191
public
:
192
//CTOR
193
DtSimulationCommandLaunchGlobalPlan
(
makVrv::DtDe
& de);
194
195
//DTOR
196
virtual
~
DtSimulationCommandLaunchGlobalPlan
();
197
199
virtual
QAction
* createAction(
makVrv::DtDe
&, QWidget* parent);
200
};
201
202
class
DT_DLL_VRFGUICOREQT
DtSimulationCommandStealthCommand
:
public
DtVrfSimulationCommand
203
{
204
Q_OBJECT
205
206
public
:
207
//CTOR
208
DtSimulationCommandStealthCommand
(
makVrv::DtDe
& de);
209
210
//DTOR
211
virtual
~
DtSimulationCommandStealthCommand
();
212
214
virtual
QAction
* createAction(
makVrv::DtDe
&, QWidget* parent);
215
};
216
217
class
DT_DLL_VRFGUICOREQT
DtSimulationCommandScenarioEvent
:
public
DtVrfSimulationCommand
218
{
219
Q_OBJECT
220
221
public
:
222
//CTOR
223
DtSimulationCommandScenarioEvent
(
makVrv::DtDe
& de);
224
225
//DTOR
226
virtual
~
DtSimulationCommandScenarioEvent
();
227
229
virtual
QAction
* createAction(
makVrv::DtDe
&, QWidget* parent);
230
};
231
233
class
DT_DLL_VRFGUICOREQT
DtSimulationCommandSelfDelete
:
public
DtVrfSimulationCommand
234
{
235
Q_OBJECT
236
237
public
:
238
//CTOR
239
DtSimulationCommandSelfDelete
(
makVrv::DtDe
& de);
240
241
//DTOR
242
virtual
~
DtSimulationCommandSelfDelete
();
243
245
virtual
QAction
* createAction(
makVrv::DtDe
&, QWidget* parent);
246
249
virtual
void
on_triggered();
250
};
251
252
class
DT_DLL_VRFGUICOREQT
DtSimulationCommandRestartPlan
:
public
DtVrfSimulationCommand
253
{
254
Q_OBJECT
255
256
public
:
257
//CTOR
258
DtSimulationCommandRestartPlan
(
makVrv::DtDe
& de);
259
260
//DTOR
261
virtual
~
DtSimulationCommandRestartPlan
();
262
264
virtual
QAction
* createAction(
makVrv::DtDe
&, QWidget* parent);
265
};
266
268
class
DT_DLL_VRFGUICOREQT
DtSimulationCommandIssuePlan
:
public
DtVrfSimulationCommand
269
{
270
Q_OBJECT
271
272
public
:
273
//CTOR
274
DtSimulationCommandIssuePlan
(
makVrv::DtDe
& de);
275
276
//DTOR
277
virtual
~
DtSimulationCommandIssuePlan
();
278
280
virtual
QAction
* createAction(
makVrv::DtDe
&, QWidget* parent);
281
};
282
283
class
DT_DLL_VRFGUICOREQT
DtSimulationCommandRemoveDynamicTerrainDamage
:
public
DtVrfSimulationCommand
284
{
285
public
:
286
//CTOR
287
DtSimulationCommandRemoveDynamicTerrainDamage
(
makVrv::DtDe
& de);
288
289
//DTOR
290
virtual
~
DtSimulationCommandRemoveDynamicTerrainDamage
();
291
293
virtual
QAction
* createAction(
makVrv::DtDe
&, QWidget* parent);
294
};
295
296
class
DT_DLL_VRFGUICOREQT
DtSimulationCommandAddDynamicTerrainChangesAction
:
public
DtVrfSimulationCommand
297
{
298
public
:
299
//CTOR
300
DtSimulationCommandAddDynamicTerrainChangesAction
(
makVrv::DtDe
& de);
301
302
//DTOR
303
virtual
~
DtSimulationCommandAddDynamicTerrainChangesAction
();
304
306
virtual
QAction
* createAction(
makVrv::DtDe
&, QWidget* parent);
307
};
308
309
class
DT_DLL_VRFGUICOREQT
DtSimulationCommandResetDynamicTerrainChangesAction
:
public
DtVrfSimulationCommand
310
{
311
public
:
312
//CTOR
313
DtSimulationCommandResetDynamicTerrainChangesAction
(
makVrv::DtDe
& de);
314
315
//DTOR
316
virtual
~
DtSimulationCommandResetDynamicTerrainChangesAction
();
317
319
virtual
QAction
* createAction(
makVrv::DtDe
&, QWidget* parent);
320
};
321
}
Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)