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
propulsionNoiseInformationPageItems.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2013 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
9
10
#pragma once
11
12
#include <
vrfGuiObjectInformationQt/vrfGuiObjectInformationQt.h
>
13
#include <
vrfGuiObjectInformationQt/informationDialogPage.h
>
14
15
namespace
makVrf
16
{
17
namespace
makVrfGuiObjectInformationQt
18
{
19
class
DtInformationDialogPageLogic;
20
22
class
DT_DLL_VRFGUIOBJECTINFORMATIONQT
DtPropulsionNoiseLocation
:
public
DtItemUpdateFunction
23
{
24
public
:
25
DtPropulsionNoiseLocation
(
makVrv::DtDe
& de)
26
:
DtItemUpdateFunction
(de)
27
{
28
}
29
30
DtPropulsionNoiseLocation
(
DtInformationDialogPageLogic
* l)
31
:
DtItemUpdateFunction
(l)
32
{
33
}
34
35
virtual
QVariant value(
int
col,
int
role,
const
QTreeWidgetItem
*,
36
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
37
virtual
bool
valueNeedsUpdate(
int
col,
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
38
39
static
std::string creatorName();
40
41
protected
:
42
DtVector
myCurrentLocation
;
43
};
44
45
typedef
DtItemUpdateFunctionCreator<DtPropulsionNoiseLocation>
DtPropulsionNoiseLocationCreator
;
46
48
class
DT_DLL_VRFGUIOBJECTINFORMATIONQT
DtPropulsionNoisePropulsionPlant
:
public
DtItemUpdateFunction
49
{
50
public
:
51
DtPropulsionNoisePropulsionPlant
(
makVrv::DtDe
& de)
52
:
DtItemUpdateFunction
(de)
53
{
54
}
55
56
DtPropulsionNoisePropulsionPlant
(
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
QString
myValue
;
69
};
70
71
typedef
DtItemUpdateFunctionCreator<DtPropulsionNoisePropulsionPlant>
DtPropulsionNoisePropulsionPlantCreator
;
72
74
class
DT_DLL_VRFGUIOBJECTINFORMATIONQT
DtPropulsionNoisePassiveParameterIndex
:
public
DtItemUpdateFunction
75
{
76
public
:
77
DtPropulsionNoisePassiveParameterIndex
(
makVrv::DtDe
& de)
78
:
DtItemUpdateFunction
(de)
79
{
80
}
81
82
DtPropulsionNoisePassiveParameterIndex
(
DtInformationDialogPageLogic
* l)
83
:
DtItemUpdateFunction
(l)
84
{
85
}
86
87
virtual
QVariant value(
int
col,
int
role,
const
QTreeWidgetItem
*,
88
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
89
virtual
bool
valueNeedsUpdate(
int
col,
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
90
91
static
std::string creatorName();
92
93
protected
:
94
short
myValue
;
95
};
96
97
typedef
DtItemUpdateFunctionCreator<DtPropulsionNoisePassiveParameterIndex>
DtPropulsionNoisePassiveParameterIndexCreator
;
98
100
class
DT_DLL_VRFGUIOBJECTINFORMATIONQT
DtPropulsionNoiseHullMasker
:
public
DtItemUpdateFunction
101
{
102
public
:
103
DtPropulsionNoiseHullMasker
(
makVrv::DtDe
& de)
104
:
DtItemUpdateFunction
(de)
105
{
106
}
107
108
DtPropulsionNoiseHullMasker
(
DtInformationDialogPageLogic
* l)
109
:
DtItemUpdateFunction
(l)
110
{
111
}
112
113
virtual
QVariant value(
int
col,
int
role,
const
QTreeWidgetItem
*,
114
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
115
virtual
bool
valueNeedsUpdate(
int
col,
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
116
117
static
std::string creatorName();
118
119
protected
:
120
bool
myValue
;
121
};
122
123
typedef
DtItemUpdateFunctionCreator<DtPropulsionNoiseHullMasker>
DtPropulsionNoiseHullMaskerCreator
;
124
126
class
DT_DLL_VRFGUIOBJECTINFORMATIONQT
DtPropulsionNoiseCurrentShaftRPM
:
public
DtItemUpdateFunction
127
{
128
public
:
129
DtPropulsionNoiseCurrentShaftRPM
(
makVrv::DtDe
& de)
130
:
DtItemUpdateFunction
(de)
131
{
132
}
133
134
DtPropulsionNoiseCurrentShaftRPM
(
DtInformationDialogPageLogic
* l)
135
:
DtItemUpdateFunction
(l)
136
{
137
}
138
139
virtual
QVariant value(
int
col,
int
role,
const
QTreeWidgetItem
*,
140
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
141
virtual
bool
valueNeedsUpdate(
int
col,
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
142
143
static
std::string creatorName();
144
145
protected
:
146
std::vector<short>
myValues
;
147
};
148
149
typedef
DtItemUpdateFunctionCreator<DtPropulsionNoiseCurrentShaftRPM>
DtPropulsionNoiseCurrentShaftRPMCreator
;
150
151
class
DT_DLL_VRFGUIOBJECTINFORMATIONQT
DtPropulsionNoiseOrderedShaftRPM
:
public
DtItemUpdateFunction
152
{
153
public
:
154
DtPropulsionNoiseOrderedShaftRPM
(
makVrv::DtDe
& de)
155
:
DtItemUpdateFunction
(de)
156
{
157
}
158
159
DtPropulsionNoiseOrderedShaftRPM
(
DtInformationDialogPageLogic
* l)
160
:
DtItemUpdateFunction
(l)
161
{
162
}
163
164
virtual
QVariant value(
int
col,
int
role,
const
QTreeWidgetItem
*,
165
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
166
virtual
bool
valueNeedsUpdate(
int
col,
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
167
168
static
std::string creatorName();
169
170
protected
:
171
std::vector<short>
myValues
;
172
};
173
174
typedef
DtItemUpdateFunctionCreator<DtPropulsionNoiseOrderedShaftRPM>
DtPropulsionNoiseOrderedShaftRPMCreator
;
175
176
class
DT_DLL_VRFGUIOBJECTINFORMATIONQT
DtPropulsionNoiseShaftRPMRateOfChange
:
public
DtItemUpdateFunction
177
{
178
public
:
179
DtPropulsionNoiseShaftRPMRateOfChange
(
makVrv::DtDe
& de)
180
:
DtItemUpdateFunction
(de)
181
{
182
}
183
184
DtPropulsionNoiseShaftRPMRateOfChange
(
DtInformationDialogPageLogic
* l)
185
:
DtItemUpdateFunction
(l)
186
{
187
}
188
189
virtual
QVariant value(
int
col,
int
role,
const
QTreeWidgetItem
*,
190
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
191
virtual
bool
valueNeedsUpdate(
int
col,
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
192
193
static
std::string creatorName();
194
195
protected
:
196
std::vector<int>
myValues
;
197
};
198
199
typedef
DtItemUpdateFunctionCreator<DtPropulsionNoiseShaftRPMRateOfChange>
DtPropulsionNoiseShaftRPMRateOfChangeCreator
;
200
}
201
}
Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)