VR-Exchange 2.5 API Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
portal
pMessageKinds.h
Go to the documentation of this file.
1
/****************************************************************************
2
* Copyright (c) 2016 VT MAK
3
* All rights reserved.
4
****************************************************************************/
5
9
10
#pragma once
11
12
namespace
MAKVrExchange
13
{
14
16
//
23
enum
DtPortalMessageKind
24
{
25
DtEmptyMessageKind
= 0,
26
DtBrokerShutdownRequestKind
= 1,
27
DtBrokerExitingMessageKind
= 2,
28
DtBrokerStartedMessageKind
= 3,
29
DtBrokerRunningMessageKind
= 4,
30
DtPortalFireInteractionMessageKind
= 5,
31
DtPortalDetonationInteractionMessageKind
= 6,
32
DtPortalBaseEntityObjectMessageKind
= 7,
33
DtPortalEntityObjectMessageKind
= 8,
34
DtPortalAggregateObjectMessageKind
= 9,
35
DtBrokerErrorMessageKind
= 10,
36
DtRequestBrokerStartMessageKind
= 11,
37
DtRequestBrokerLaunchGuiMessageKind
= 12,
38
DtAbnormalBrokerExitKind
= 13,
39
DtHeartbeatRequestMessageKind
= 14,
40
DtHeartbeatResponseMessageKind
= 15,
41
DtPortalGenericObjectMessageKind
= 16,
42
DtPortalGenericInteractionMessageKind
= 17,
43
DtCollisionInteractionKind
= 18,
44
DtStartInteractionKind
= 19,
45
DtStopInteractionKind
= 20,
46
DtAcknowledgeInteractionKind
= 21,
47
DtCommentInteractionKind
= 22,
48
DtEmbeddedSystemObjectMessageKind
= 23,
49
DtRadioTransmitterObjectKind
= 24,
50
DtRadioReceiverObjectKind
= 25,
51
DtRadioSignalInteractionKind
= 26,
52
DtDatabaseIndexInteractionKind
= 27,
53
DtEncodedAudioInteractionKind
= 28,
54
DtRawBinaryInteractionKind
= 29,
55
DtIffObjectKind
= 30,
56
DtNatoObjectKind
= 31,
57
DtNatoInterrogatorObjectKind
= 32,
58
DtNatoTransponderObjectKind
= 33,
59
DtSovietObjectKind
= 34,
60
DtSovietInterrogatorObjectKind
= 35,
61
DtSovietTransponderObjectKind
= 36,
62
DtTestMessageKind
= 37,
63
DtTestInteractionMessageKind
= 38,
64
DtTestObjectMessageKind
= 39,
65
DtObjectFilterKind
= 40,
66
DtEmitterSystemObjectKind
= 41,
67
DtEnvironmentProcessObjectKind
= 42,
68
DtDataInteractionKind
= 43,
69
DtSetDataInteractionKind
= 44,
70
DtDesignatorObjectKind
= 45,
71
DtEventReportInteractionKind
= 46,
72
DtCreateEntityInteractionMessageKind
= 47,
73
DtRemoveEntityInteractionMessageKind
= 48,
74
DtDataQueryInteractionKind
= 49,
75
DtActionRequestInteractionKind
= 50,
76
DtActionResponseInteractionKind
= 51,
77
DtViewControlInteractionKind
= 52,
78
DtGriddedDataObjectKind
= 53,
79
DtBrokerEnableOneToOneKind
= 54,
80
DtBrokerDisableOneToOneKind
= 55,
81
DtTransferControlInteractionKind
= 56,
82
DtRepairCompleteInteractionKind
= 57,
83
DtRepairResponseInteractionKind
= 58,
84
DtResupplyCancelInteractionKind
= 59,
85
DtResupplyOfferInteractionKind
= 60,
86
DtResupplyReceivedInteractionKind
= 61,
87
DtServiceRequestInteractionKind
= 62,
88
89
// Logger Control Types.
90
DtLoggerControlInteractionKind
= 63,
// Base class.
91
DtLoggerDeleteFileInteractionKind
= 64,
92
DtLoggerEmptyInteractionKind
= 65,
93
DtLoggerEndInteractionKind
= 66,
94
DtLoggerEndOfActionInteractionKind
= 67,
95
DtLoggerHeartbeatInteractionKind
= 68,
96
DtLoggerPauseInteractionKind
= 69,
97
DtLoggerPlayFileInteractionKind
= 70,
98
DtLoggerPlayActionInteractionKind
= 71,
99
DtLoggerPlayInteractionKind
= 72,
100
DtLoggerQuitInteractionKind
= 73,
101
DtLoggerRecordFileInteractionKind
= 74,
102
DtLoggerRecordActionInteractionKind
= 75,
103
DtLoggerRecordInteractionKind
= 76,
104
DtLoggerSetTimeInteractionKind
= 77,
105
DtLoggerSkipTimeInteractionKind
= 78,
106
DtLoggerStartInteractionKind
= 79,
107
DtLoggerStateFlagInteractionKind
= 80,
108
DtLoggerStopInteractionKind
= 81,
109
DtLoggerTimeoutInteractionKind
= 82,
110
DtLoggerTimeScaleInteractionKind
= 83,
111
DtLoggerTotalStateInteractionKind
= 84,
112
// End Logger Control Types.
113
114
// AFMSTT
115
DtPortalDamageAssessmentInteractionMessageKind
= 85,
116
DtAirMissionKind
= 86,
117
DtPortalBasicEncyclopediaObjectKind
= 87,
118
DtPortalBeDmpiObjectKind
= 88,
119
DtPortalBeFacilityObjectKind
= 89,
120
DtPortalBeFacilityAirbaseObjectKind
= 90,
121
// end AFMSTT
122
123
DtStatisticsReportMessageKind
= 91,
124
DtRequestTranslationDiagnosticMessageKind
= 92,
125
DtTranslationDiagnosticMessageKind
= 93,
126
DtPortalEnvironmentObjectMessageKind
= 94,
127
DtPortalArealObjectMessageKind
= 95,
128
DtPortalLinearObjectMessageKind
= 96,
129
DtPortalPointObjectMessageKind
= 97,
130
DtPortalUnderwaterAcousticObjectMessageKind
= 98,
131
DtPortalActiveSonarObjectMessageKind
= 99,
132
DtPortalAdditionalPassiveActivitiesObjectMessageKind
= 100,
133
DtPortalPropulsionNoiseObjectMessageKind
= 101,
134
DtPortalDiGuyObjectMessageKind
= 102,
135
136
// VR-Forces specific Messages
137
DtPortalVrfAggregateObjectMessageKind
= 103,
138
DtPortalVrfBackEndObjectKind
= 104,
139
DtPortalVrfChangeGlobalWeatherCommandInteractionKind
= 105,
140
DtPortalVrfChangeTimeOfDayCommandInteractionKind
= 106,
141
DtPortalVrfControlInteractionKind
= 107,
142
DtPortalVrfCreateObjInteractionKind
= 108,
143
DtPortalVrfCurrentResourceRequestInteractionKind
= 109,
144
DtPortalVrfCurrentTasksInteractionKind
= 110,
145
DtPortalVrfDeleteObjInteractionKind
= 111,
146
DtPortalVrfEntityResourceResponseInteractionKind
= 112,
147
DtPortalVrfResourceMonitorResponseInteractionKind
= 113,
148
DtPortalVrfScenarioInteractionKind
= 114,
149
DtPortalVrfScriptedTaskInteractionKind
= 115,
150
DtPortalVrfSetDataInteractionKind
= 116,
151
DtPortalVrfSkipTaskInteractionKind
= 117,
152
DtPortalVrfSpotReportInteractionKind
= 118,
153
DtPortalVrfTextReportInteractionKind
= 119,
154
155
// VR-Vantage specific Messages
156
DtPortalVrvDynamicOceanInteractionKind
= 120,
157
DtPortalVrvFollowViewInteractionKind
= 121,
158
DtPortalVrvInputEventInteractionKind
= 122,
159
DtPortalVrvKeyPressInteractionKind
= 123,
160
DtPortalVrvMimicTrackViewInteractionKind
= 124,
161
DtPortalVrvMimicViewInteractionKind
= 125,
162
DtPortalVrvModelScaleFactorInteractionKind
= 126,
163
DtPortalVrvModelScalingInteractionKind
= 127,
164
DtPortalVrvModelSetInteractionKind
= 128,
165
DtPortalVrvMouseEventInteractionKind
= 129,
166
DtPortalVrvObserverModeInteractionKind
= 130,
167
DtPortalVrvSensorModeInteractionKind
= 131,
168
DtPortalVrvSetSystemStateInteractionKind
= 132,
169
DtPortalVrvTetherViewInteractionKind
= 133,
170
DtPortalVrvTimingSignalInteractionKind
= 134,
171
DtPortalVrvTrackHistoriesInteractionKind
= 135,
172
DtPortalVrvUseSavedViewInteractionKind
= 136,
173
DtPortalVrvViewMagnificationInteractionKind
= 137,
174
175
DtPortalBaseObjectMessageKind
= 250,
176
DtPortalBaseInteractionMessageKind
= 350,
177
DtMaxReservedMessageKinds
= 500
178
};
179
181
const
unsigned
int
DtMaxPortalMessageKinds
= 1000;
182
184
#define DtMACRO_TO_STR(id) #id
185
188
#define DtCASE_STRING(af) case af: return (DtMACRO_TO_STR(af) + 2)
189
191
inline
const
char
*
DtPortalMessageKindToString
(
DtPortalMessageKind
param )
192
{
193
switch
( param )
194
{
195
DtCASE_STRING
(
DtEmptyMessageKind
);
196
DtCASE_STRING
(
DtBrokerShutdownRequestKind
);
197
DtCASE_STRING
(
DtSetDataInteractionKind
);
198
DtCASE_STRING
(
DtEnvironmentProcessObjectKind
);
199
DtCASE_STRING
(
DtBrokerExitingMessageKind
);
200
DtCASE_STRING
(
DtBrokerStartedMessageKind
);
201
DtCASE_STRING
(
DtPortalFireInteractionMessageKind
);
202
DtCASE_STRING
(
DtPortalDetonationInteractionMessageKind
);
203
DtCASE_STRING
(
DtPortalBaseEntityObjectMessageKind
);
204
DtCASE_STRING
(
DtPortalEntityObjectMessageKind
);
205
DtCASE_STRING
(
DtPortalAggregateObjectMessageKind
);
206
DtCASE_STRING
(
DtBrokerErrorMessageKind
);
207
DtCASE_STRING
(
DtRequestBrokerLaunchGuiMessageKind
);
208
DtCASE_STRING
(
DtAbnormalBrokerExitKind
);
209
DtCASE_STRING
(
DtHeartbeatRequestMessageKind
);
210
DtCASE_STRING
(
DtHeartbeatResponseMessageKind
);
211
DtCASE_STRING
(
DtPortalGenericObjectMessageKind
);
212
DtCASE_STRING
(
DtPortalGenericInteractionMessageKind
);
213
DtCASE_STRING
(
DtCollisionInteractionKind
);
214
DtCASE_STRING
(
DtStartInteractionKind
);
215
DtCASE_STRING
(
DtStopInteractionKind
);
216
DtCASE_STRING
(
DtAcknowledgeInteractionKind
);
217
DtCASE_STRING
(
DtCommentInteractionKind
);
218
DtCASE_STRING
(
DtEmbeddedSystemObjectMessageKind
);
219
DtCASE_STRING
(
DtRadioTransmitterObjectKind
);
220
DtCASE_STRING
(
DtRadioReceiverObjectKind
);
221
DtCASE_STRING
(
DtRadioSignalInteractionKind
);
222
DtCASE_STRING
(
DtDatabaseIndexInteractionKind
);
223
DtCASE_STRING
(
DtDataInteractionKind
);
224
DtCASE_STRING
(
DtEncodedAudioInteractionKind
);
225
DtCASE_STRING
(
DtRawBinaryInteractionKind
);
226
DtCASE_STRING
(
DtIffObjectKind
);
227
DtCASE_STRING
(
DtNatoObjectKind
);
228
DtCASE_STRING
(
DtNatoInterrogatorObjectKind
);
229
DtCASE_STRING
(
DtNatoTransponderObjectKind
);
230
DtCASE_STRING
(
DtSovietObjectKind
);
231
DtCASE_STRING
(
DtSovietInterrogatorObjectKind
);
232
DtCASE_STRING
(
DtSovietTransponderObjectKind
);
233
DtCASE_STRING
(
DtEmitterSystemObjectKind
);
234
DtCASE_STRING
(
DtTestMessageKind
);
235
DtCASE_STRING
(
DtTestInteractionMessageKind
);
236
DtCASE_STRING
(
DtTestObjectMessageKind
);
237
DtCASE_STRING
(
DtObjectFilterKind
);
238
DtCASE_STRING
(
DtDesignatorObjectKind
);
239
DtCASE_STRING
(
DtEventReportInteractionKind
);
240
DtCASE_STRING
(
DtCreateEntityInteractionMessageKind
);
241
DtCASE_STRING
(
DtRemoveEntityInteractionMessageKind
);
242
DtCASE_STRING
(
DtDataQueryInteractionKind
);
243
DtCASE_STRING
(
DtActionRequestInteractionKind
);
244
DtCASE_STRING
(
DtActionResponseInteractionKind
);
245
DtCASE_STRING
(
DtViewControlInteractionKind
);
246
DtCASE_STRING
(
DtGriddedDataObjectKind
);
247
DtCASE_STRING
(
DtBrokerEnableOneToOneKind
);
248
DtCASE_STRING
(
DtBrokerDisableOneToOneKind
);
249
DtCASE_STRING
(
DtTransferControlInteractionKind
);
250
DtCASE_STRING
(
DtRepairCompleteInteractionKind
);
251
DtCASE_STRING
(
DtRepairResponseInteractionKind
);
252
DtCASE_STRING
(
DtResupplyCancelInteractionKind
);
253
DtCASE_STRING
(
DtResupplyOfferInteractionKind
);
254
DtCASE_STRING
(
DtResupplyReceivedInteractionKind
);
255
DtCASE_STRING
(
DtServiceRequestInteractionKind
);
256
257
// Logger control:
258
DtCASE_STRING
(
DtLoggerControlInteractionKind
);
259
DtCASE_STRING
(
DtLoggerDeleteFileInteractionKind
);
260
DtCASE_STRING
(
DtLoggerEmptyInteractionKind
);
261
DtCASE_STRING
(
DtLoggerEndInteractionKind
);
262
DtCASE_STRING
(
DtLoggerEndOfActionInteractionKind
);
263
DtCASE_STRING
(
DtLoggerHeartbeatInteractionKind
);
264
DtCASE_STRING
(
DtLoggerPauseInteractionKind
);
265
DtCASE_STRING
(
DtLoggerPlayFileInteractionKind
);
266
DtCASE_STRING
(
DtLoggerPlayActionInteractionKind
);
267
DtCASE_STRING
(
DtLoggerPlayInteractionKind
);
268
DtCASE_STRING
(
DtLoggerQuitInteractionKind
);
269
DtCASE_STRING
(
DtLoggerRecordFileInteractionKind
);
270
DtCASE_STRING
(
DtLoggerRecordActionInteractionKind
);
271
DtCASE_STRING
(
DtLoggerRecordInteractionKind
);
272
DtCASE_STRING
(
DtLoggerSetTimeInteractionKind
);
273
DtCASE_STRING
(
DtLoggerSkipTimeInteractionKind
);
274
DtCASE_STRING
(
DtLoggerStartInteractionKind
);
275
DtCASE_STRING
(
DtLoggerStateFlagInteractionKind
);
276
DtCASE_STRING
(
DtLoggerStopInteractionKind
);
277
DtCASE_STRING
(
DtLoggerTimeoutInteractionKind
);
278
DtCASE_STRING
(
DtLoggerTimeScaleInteractionKind
);
279
DtCASE_STRING
(
DtLoggerTotalStateInteractionKind
);
280
281
// AFMSTT:
282
DtCASE_STRING
(
DtPortalDamageAssessmentInteractionMessageKind
);
283
DtCASE_STRING
(
DtAirMissionKind
);
284
DtCASE_STRING
(
DtPortalBasicEncyclopediaObjectKind
);
285
DtCASE_STRING
(
DtPortalBeDmpiObjectKind
);
286
DtCASE_STRING
(
DtPortalBeFacilityObjectKind
);
287
DtCASE_STRING
(
DtPortalBeFacilityAirbaseObjectKind
);
288
289
DtCASE_STRING
(
DtStatisticsReportMessageKind
);
290
DtCASE_STRING
(
DtRequestTranslationDiagnosticMessageKind
);
291
DtCASE_STRING
(
DtTranslationDiagnosticMessageKind
);
292
DtCASE_STRING
(
DtPortalEnvironmentObjectMessageKind
);
293
DtCASE_STRING
(
DtPortalPointObjectMessageKind
);
294
DtCASE_STRING
(
DtPortalUnderwaterAcousticObjectMessageKind
);
295
DtCASE_STRING
(
DtPortalActiveSonarObjectMessageKind
);
296
DtCASE_STRING
(
DtPortalAdditionalPassiveActivitiesObjectMessageKind
);
297
DtCASE_STRING
(
DtPortalPropulsionNoiseObjectMessageKind
);
298
DtCASE_STRING
(
DtPortalDiGuyObjectMessageKind
);
299
300
// VR-Forces:
301
DtCASE_STRING
(
DtPortalVrfAggregateObjectMessageKind
);
302
DtCASE_STRING
(
DtPortalVrfBackEndObjectKind
);
303
DtCASE_STRING
(
DtPortalVrfChangeGlobalWeatherCommandInteractionKind
);
304
DtCASE_STRING
(
DtPortalVrfChangeTimeOfDayCommandInteractionKind
);
305
DtCASE_STRING
(
DtPortalVrfControlInteractionKind
);
306
DtCASE_STRING
(
DtPortalVrfCreateObjInteractionKind
);
307
DtCASE_STRING
(
DtPortalVrfCurrentResourceRequestInteractionKind
);
308
DtCASE_STRING
(
DtPortalVrfCurrentTasksInteractionKind
);
309
DtCASE_STRING
(
DtPortalVrfDeleteObjInteractionKind
);
310
DtCASE_STRING
(
DtPortalVrfEntityResourceResponseInteractionKind
);
311
DtCASE_STRING
(
DtPortalVrfResourceMonitorResponseInteractionKind
);
312
DtCASE_STRING
(
DtPortalVrfScenarioInteractionKind
);
313
DtCASE_STRING
(
DtPortalVrfScriptedTaskInteractionKind
);
314
DtCASE_STRING
(
DtPortalVrfSetDataInteractionKind
);
315
DtCASE_STRING
(
DtPortalVrfSkipTaskInteractionKind
);
316
DtCASE_STRING
(
DtPortalVrfSpotReportInteractionKind
);
317
DtCASE_STRING
(
DtPortalVrfTextReportInteractionKind
);
318
319
// VR-Vantage:
320
DtCASE_STRING
(
DtPortalVrvDynamicOceanInteractionKind
);
321
DtCASE_STRING
(
DtPortalVrvFollowViewInteractionKind
);
322
DtCASE_STRING
(
DtPortalVrvInputEventInteractionKind
);
323
DtCASE_STRING
(
DtPortalVrvKeyPressInteractionKind
);
324
DtCASE_STRING
(
DtPortalVrvMimicTrackViewInteractionKind
);
325
DtCASE_STRING
(
DtPortalVrvMimicViewInteractionKind
);
326
DtCASE_STRING
(
DtPortalVrvModelScaleFactorInteractionKind
);
327
DtCASE_STRING
(
DtPortalVrvModelScalingInteractionKind
);
328
DtCASE_STRING
(
DtPortalVrvModelSetInteractionKind
);
329
DtCASE_STRING
(
DtPortalVrvMouseEventInteractionKind
);
330
DtCASE_STRING
(
DtPortalVrvObserverModeInteractionKind
);
331
DtCASE_STRING
(
DtPortalVrvSensorModeInteractionKind
);
332
DtCASE_STRING
(
DtPortalVrvSetSystemStateInteractionKind
);
333
DtCASE_STRING
(
DtPortalVrvTetherViewInteractionKind
);
334
DtCASE_STRING
(
DtPortalVrvTimingSignalInteractionKind
);
335
DtCASE_STRING
(
DtPortalVrvTrackHistoriesInteractionKind
);
336
DtCASE_STRING
(
DtPortalVrvUseSavedViewInteractionKind
);
337
DtCASE_STRING
(
DtPortalVrvViewMagnificationInteractionKind
);
338
339
default
:
340
return
"UnknownEnum"
;
341
342
}
343
}
344
345
}
346
347
#undef DtMACRO_TO_STR
348
#undef DtCASE_STRING
Document ID: Generated on Wed Dec 21 15:05:11 EST 2016 from SVN revision 171891
Copyright © 2005-2016 VT MÄK. All Rights Reserved (
www.mak.com
)