VR-Forces Development_Version 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
vrfGuiObjectInformationQt
entityStatePageItems.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2014 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
9
10
#pragma once
11
12
#include <
vrfGuiObjectInformationQt/vrfGuiObjectInformationQt.h
>
13
#include <
vrfGuiObjectInformationQt/entityInformationPageItems.h
>
14
#include <
vrfGuiObjectInformationQt/informationDialogPage.h
>
15
16
class
DtUUID
;
17
18
namespace
makVrf
19
{
20
namespace
makVrfGuiObjectInformationQt
21
{
22
class
DtInformationDialogPageLogic;
23
25
class
DT_DLL_VRFGUIOBJECTINFORMATIONQT
DtEntityLocation
:
26
public
DtEntityStatePageItem
27
{
28
public
:
29
DtEntityLocation
(
makVrv::DtDe
& de)
30
:
DtEntityStatePageItem
(de)
31
{
32
}
33
34
DtEntityLocation
(
DtInformationDialogPageLogic
* l)
35
:
DtEntityStatePageItem
(l)
36
{
37
}
38
39
virtual
QString value(
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
40
virtual
QString title(
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
41
virtual
bool
valueNeedsUpdate(
int
col,
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
42
43
static
std::string creatorName();
44
45
protected
:
46
DtVector
myCurrentLocation
;
47
};
48
49
typedef
DtItemUpdateFunctionCreator<DtEntityLocation>
DtEntityLocationCreator
;
50
52
class
DT_DLL_VRFGUIOBJECTINFORMATIONQT
DtEntityAltitude
:
53
public
DtEntityLocation
54
{
55
public
:
56
DtEntityAltitude
(
makVrv::DtDe
& de)
57
:
DtEntityLocation
(de)
58
{
59
}
60
61
DtEntityAltitude
(
DtInformationDialogPageLogic
* l)
62
:
DtEntityLocation
(l)
63
{
64
}
65
66
virtual
QString value(
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
67
virtual
QString title(
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
68
virtual
QString widgetValue(
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
* s);
69
70
static
std::string creatorName();
71
};
72
73
typedef
DtItemUpdateFunctionCreator<DtEntityAltitude>
DtEntityAltitudeCreator
;
74
75
class
DT_DLL_VRFGUIOBJECTINFORMATIONQT
DtEntitySpeed
:
public
DtEntityStatePageItem
76
{
77
public
:
78
DtEntitySpeed
(
makVrv::DtDe
& de)
79
:
DtEntityStatePageItem
(de)
80
{
81
}
82
83
DtEntitySpeed
(
DtInformationDialogPageLogic
* l)
84
:
DtEntityStatePageItem
(l)
85
{
86
}
87
88
virtual
QString value(
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
89
virtual
QString title(
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
90
virtual
QString widgetValue(
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
* s);
91
virtual
bool
valueNeedsUpdate(
int
col,
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
92
93
static
std::string creatorName();
94
95
protected
:
96
DtVector
myCurrentLocation
;
97
DtVector
myCurrentVelocity
;
98
};
99
100
typedef
DtItemUpdateFunctionCreator<DtEntitySpeed>
DtEntitySpeedCreator
;
101
102
class
DT_DLL_VRFGUIOBJECTINFORMATIONQT
DtEntityVelocity
:
public
DtEntitySpeed
103
{
104
public
:
105
DtEntityVelocity
(
makVrv::DtDe
& de)
106
:
DtEntitySpeed
(de)
107
{
108
}
109
110
DtEntityVelocity
(
DtInformationDialogPageLogic
* l)
111
:
DtEntitySpeed
(l)
112
{
113
}
114
115
virtual
QString value(
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
116
virtual
QString title(
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
117
118
static
std::string creatorName();
119
};
120
121
typedef
DtItemUpdateFunctionCreator<DtEntityVelocity>
DtEntityVelocityCreator
;
122
123
class
DT_DLL_VRFGUIOBJECTINFORMATIONQT
DtEntityAcceleration
:
public
DtEntitySpeed
124
{
125
public
:
126
DtEntityAcceleration
(
makVrv::DtDe
& de)
127
:
DtEntitySpeed
(de)
128
{
129
}
130
131
DtEntityAcceleration
(
DtInformationDialogPageLogic
* l)
132
:
DtEntitySpeed
(l)
133
{
134
}
135
136
virtual
QString value(
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
137
virtual
QString title(
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
138
139
static
std::string creatorName();
140
};
141
142
typedef
DtItemUpdateFunctionCreator<DtEntityAcceleration>
DtEntityAccelerationCreator
;
143
144
class
DT_DLL_VRFGUIOBJECTINFORMATIONQT
DtEntityHeadingPitchRoll
:
public
DtEntityStatePageItem
145
{
146
public
:
147
DtEntityHeadingPitchRoll
(
makVrv::DtDe
& de)
148
:
DtEntityStatePageItem
(de)
149
{
150
}
151
152
DtEntityHeadingPitchRoll
(
DtInformationDialogPageLogic
* l)
153
:
DtEntityStatePageItem
(l)
154
{
155
}
156
157
virtual
QString value(
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
158
virtual
QString title(
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
159
virtual
bool
valueNeedsUpdate(
int
col,
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
160
virtual
QString widgetValue(
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
* s);
161
static
std::string creatorName();
162
163
protected
:
164
DtVector
myCurrentLocation
;
165
DtTaitBryan
myCurrentOrientation
;
166
};
167
168
typedef
DtItemUpdateFunctionCreator<DtEntityHeadingPitchRoll>
DtEntityHeadingPitchRollCreator
;
169
170
class
DT_DLL_VRFGUIOBJECTINFORMATIONQT
DtEntityLocalOrientation
:
public
DtEntityStatePageItem
171
{
172
public
:
173
DtEntityLocalOrientation
(
makVrv::DtDe
& de)
174
:
DtEntityStatePageItem
(de)
175
{
176
}
177
178
DtEntityLocalOrientation
(
DtInformationDialogPageLogic
* l)
179
:
DtEntityStatePageItem
(l)
180
{
181
}
182
183
virtual
QString value(
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
184
virtual
QString title(
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
185
virtual
bool
valueNeedsUpdate(
int
col,
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
186
virtual
QString widgetValue(
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
* s);
187
188
static
std::string creatorName();
189
190
protected
:
191
DtVector
myCurrentLocation
;
192
DtTaitBryan
myCurrentOrientation
;
193
};
194
195
typedef
DtItemUpdateFunctionCreator<DtEntityLocalOrientation>
DtEntityLocalOrientationCreator
;
196
197
class
DT_DLL_VRFGUIOBJECTINFORMATIONQT
DtEntityRotationalVelocity
:
public
DtEntityStatePageItem
198
{
199
public
:
200
DtEntityRotationalVelocity
(
makVrv::DtDe
& de)
201
:
DtEntityStatePageItem
(de)
202
{
203
}
204
205
DtEntityRotationalVelocity
(
DtInformationDialogPageLogic
* l)
206
:
DtEntityStatePageItem
(l)
207
{
208
}
209
210
virtual
QString value(
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
211
virtual
QString title(
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
212
virtual
bool
valueNeedsUpdate(
int
col,
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
213
214
static
std::string creatorName();
215
216
protected
:
217
DtVector
myCurrentLocation
;
218
DtVector
myCurrentRotationalVelocity
;
219
DtTaitBryan
myCurrentOrientation
;
220
};
221
222
typedef
DtItemUpdateFunctionCreator<DtEntityRotationalVelocity>
DtEntityRotationalVelocityCreator
;
223
224
class
DT_DLL_VRFGUIOBJECTINFORMATIONQT
DtEntityCurrentTask
:
public
DtEntityStatePageItem
225
{
226
public
:
227
DtEntityCurrentTask
(
makVrv::DtDe
& de)
228
:
DtEntityStatePageItem
(de)
229
{
230
}
231
232
DtEntityCurrentTask
(
DtInformationDialogPageLogic
* l)
233
:
DtEntityStatePageItem
(l)
234
{
235
}
236
237
virtual
void
activate(
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
238
virtual
void
deactivate(
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
239
240
virtual
void
slot_onTaskUpdated(
const
DtUUID
& entity);
241
242
virtual
QString value(
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
243
virtual
QString title(
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
244
virtual
bool
valueNeedsUpdate(
int
col,
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
* state);
245
246
static
std::string creatorName();
247
};
248
249
typedef
DtItemUpdateFunctionCreator<DtEntityCurrentTask>
DtEntityCurrentTaskCreator
;
250
}
251
}
Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)