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