VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfGuiObjectInformationQt
DtEntityStatePageItems.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2011 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
9
10
#pragma once
11
12
#include <
vrfGuiObjectInformationQt/vrfGuiObjectInformationQt.h
>
13
#include <
vrfGuiObjectInformationQt/DtInformationDialogPage.h
>
14
15
namespace
makVrf
16
{
17
namespace
makVrfGuiObjectInformationQt
18
{
19
class
DtInformationDialogPageLogic;
20
22
class
DT_DLL_VRFGUIOBJECTINFORMATIONQT
DtEntityLocation
:
23
public
DtItemUpdateFunction
24
{
25
public
:
26
DtEntityLocation
()
27
:
DtItemUpdateFunction
()
28
{
29
}
30
31
DtEntityLocation
(
DtInformationDialogPageLogic
* l)
32
:
DtItemUpdateFunction
(l)
33
{
34
}
35
36
virtual
QVariant value(
int
col,
int
role,
const
QTreeWidgetItem
*,
37
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
38
virtual
bool
valueNeedsUpdate(
int
col,
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
39
40
static
std::string creatorName();
41
42
protected
:
43
DtVector
myCurrentLocation
;
44
};
45
46
typedef
DtItemUpdateFunctionCreator<DtEntityLocation>
DtEntityLocationCreator
;
47
48
class
DT_DLL_VRFGUIOBJECTINFORMATIONQT
DtEntitySpeed
:
public
DtItemUpdateFunction
49
{
50
public
:
51
DtEntitySpeed
()
52
:
DtItemUpdateFunction
()
53
{
54
}
55
56
DtEntitySpeed
(
DtInformationDialogPageLogic
* l)
57
:
DtItemUpdateFunction
(l)
58
{
59
}
60
61
virtual
QVariant value(
int
col,
int
role,
const
QTreeWidgetItem
*,
62
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
63
virtual
bool
valueNeedsUpdate(
int
col,
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
64
65
static
std::string creatorName();
66
67
protected
:
68
DtVector
myCurrentLocation
;
69
DtVector
myCurrentVelocity
;
70
};
71
72
typedef
DtItemUpdateFunctionCreator<DtEntitySpeed>
DtEntitySpeedCreator
;
73
74
class
DT_DLL_VRFGUIOBJECTINFORMATIONQT
DtEntityVelocity
:
public
DtEntitySpeed
75
{
76
public
:
77
DtEntityVelocity
()
78
:
DtEntitySpeed
()
79
{
80
}
81
82
DtEntityVelocity
(
DtInformationDialogPageLogic
* l)
83
:
DtEntitySpeed
(l)
84
{
85
}
86
87
virtual
QVariant value(
int
col,
int
role,
const
QTreeWidgetItem
*,
88
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
89
90
static
std::string creatorName();
91
};
92
93
typedef
DtItemUpdateFunctionCreator<DtEntityVelocity>
DtEntityVelocityCreator
;
94
95
class
DT_DLL_VRFGUIOBJECTINFORMATIONQT
DtEntityAcceleration
:
public
DtEntitySpeed
96
{
97
public
:
98
DtEntityAcceleration
()
99
:
DtEntitySpeed
()
100
{
101
}
102
103
DtEntityAcceleration
(
DtInformationDialogPageLogic
* l)
104
:
DtEntitySpeed
(l)
105
{
106
}
107
108
virtual
QVariant value(
int
col,
int
role,
const
QTreeWidgetItem
*,
109
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
110
111
static
std::string creatorName();
112
};
113
114
typedef
DtItemUpdateFunctionCreator<DtEntityAcceleration>
DtEntityAccelerationCreator
;
115
116
class
DT_DLL_VRFGUIOBJECTINFORMATIONQT
DtEntityHeadingPitchRoll
:
public
DtItemUpdateFunction
117
{
118
public
:
119
DtEntityHeadingPitchRoll
()
120
:
DtItemUpdateFunction
()
121
{
122
}
123
124
DtEntityHeadingPitchRoll
(
DtInformationDialogPageLogic
* l)
125
:
DtItemUpdateFunction
(l)
126
{
127
}
128
129
virtual
QVariant value(
int
col,
int
role,
const
QTreeWidgetItem
*,
130
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
131
virtual
bool
valueNeedsUpdate(
int
col,
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
132
133
static
std::string creatorName();
134
135
protected
:
136
DtVector
myCurrentLocation
;
137
DtTaitBryan
myCurrentOrientation
;
138
};
139
140
typedef
DtItemUpdateFunctionCreator<DtEntityHeadingPitchRoll>
DtEntityHeadingPitchRollCreator
;
141
142
class
DT_DLL_VRFGUIOBJECTINFORMATIONQT
DtEntityLocalOrientation
:
public
DtItemUpdateFunction
143
{
144
public
:
145
DtEntityLocalOrientation
()
146
:
DtItemUpdateFunction
()
147
{
148
}
149
150
DtEntityLocalOrientation
(
DtInformationDialogPageLogic
* l)
151
:
DtItemUpdateFunction
(l)
152
{
153
}
154
155
virtual
QVariant value(
int
col,
int
role,
const
QTreeWidgetItem
*,
156
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
157
virtual
bool
valueNeedsUpdate(
int
col,
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
158
159
static
std::string creatorName();
160
161
protected
:
162
DtVector
myCurrentLocation
;
163
DtTaitBryan
myCurrentOrientation
;
164
};
165
166
typedef
DtItemUpdateFunctionCreator<DtEntityLocalOrientation>
DtEntityLocalOrientationCreator
;
167
168
class
DT_DLL_VRFGUIOBJECTINFORMATIONQT
DtEntityRotationalVelocity
:
public
DtItemUpdateFunction
169
{
170
public
:
171
DtEntityRotationalVelocity
()
172
:
DtItemUpdateFunction
()
173
{
174
}
175
176
DtEntityRotationalVelocity
(
DtInformationDialogPageLogic
* l)
177
:
DtItemUpdateFunction
(l)
178
{
179
}
180
181
virtual
QVariant value(
int
col,
int
role,
const
QTreeWidgetItem
*,
182
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
183
virtual
bool
valueNeedsUpdate(
int
col,
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
184
185
static
std::string creatorName();
186
187
protected
:
188
DtVector
myCurrentLocation
;
189
DtVector
myCurrentRotationalVelocity
;
190
DtTaitBryan
myCurrentOrientation
;
191
};
192
193
typedef
DtItemUpdateFunctionCreator<DtEntityRotationalVelocity>
DtEntityRotationalVelocityCreator
;
194
195
class
DT_DLL_VRFGUIOBJECTINFORMATIONQT
DtEntityCurrentTask
:
public
DtItemUpdateFunction
196
{
197
public
:
198
DtEntityCurrentTask
()
199
:
DtItemUpdateFunction
()
200
{
201
}
202
203
DtEntityCurrentTask
(
DtInformationDialogPageLogic
* l)
204
:
DtItemUpdateFunction
(l)
205
{
206
}
207
208
virtual
void
activate(
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
209
virtual
void
deactivate(
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
210
211
virtual
void
slot_onTaskUpdated(
const
std::string& entity);
212
213
virtual
QVariant value(
int
col,
int
role,
const
QTreeWidgetItem
*,
214
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
215
virtual
bool
valueNeedsUpdate(
int
col,
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
* state);
216
217
static
std::string creatorName();
218
};
219
220
typedef
DtItemUpdateFunctionCreator<DtEntityCurrentTask>
DtEntityCurrentTaskCreator
;
221
}
222
}
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)