VR-Link API Documentation for HLA Evolved
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
vlpi
EntityTypes.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
*********************************************************************/
5
6
#ifndef EntityTypes_H_
7
#define EntityTypes_H_
8
12
18
19
//#include "packets/disVersion.h"
20
22
enum
DtEntityKind
23
{
24
DtEntityKindOther
= 0,
25
DtPlatform
= 1,
26
DtMunition
= 2,
27
DtLifeForm
= 3,
28
DtEnvironmental
= 4,
29
DtCulturalFeature
= 5,
30
DtSupply
= 6,
31
DtRadio
= 7,
32
DtExpendable
= 8,
33
DtSensor
= 9
34
};
35
37
38
enum
DtPlatformDomain
39
{
40
DtPlatformDomainOther
= 0,
41
DtPlatformDomainLand
= 1,
42
DtPlatformDomainAir
= 2,
43
DtPlatformDomainSurface
= 3,
44
DtPlatformDomainSubsurface
= 4,
45
DtPlatformDomainSpace
= 5
46
};
47
49
enum
DtMunitionDomain
50
{
51
DtMunitionDomainOther
= 0,
52
DtAntiAir
= 1,
53
DtAntiArmor
= 2,
54
DtAntiGuidedMunition
= 3,
55
DtAntiRadar
= 4,
56
DtAntiSatellite
= 5,
57
DtAntiShip
= 6,
58
DtAntiSubmarine
= 7,
59
DtAntiPersonnel
= 8,
60
DtBattlefieldSupport
= 9,
61
DtStrategic
= 10
62
};
63
64
enum
DtLifeFormDomain
65
{
66
DtLifeFormDomainOther
= 0,
67
DtLifeFormDomainLand
= 1,
68
DtLifeFormDomainAir
= 2,
69
DtLifeFormDomainSurface
= 3,
70
DtLifeFormDomainSubsurface
= 4,
71
DtLifeFormDomainSpace
= 5
72
};
73
74
enum
DtEnvironmentalDomain
75
{
76
DtEnvironmentalDomainOther
= 0,
77
DtEnvironmentalDomainLand
= 1,
78
DtEnvironmentalDomainAir
= 2,
79
DtEnvironmentalDomainSurface
= 3,
80
DtEnvironmentalDomainSubsurface
= 4,
81
DtEnvironmentalDomainSpace
= 5
82
};
83
84
enum
DtCulturalFeatureDomain
85
{
86
DtCulturalFeatureDomainOther
= 0,
87
DtCulturalFeatureDomainLand
= 1,
88
DtCulturalFeatureDomainAir
= 2,
89
DtCulturalFeatureDomainSurface
= 3,
90
DtCulturalFeatureDomainSubsurface
= 4,
91
DtCulturalFeatureDomainSpace
= 5
92
};
94
96
enum
DtCountryCode
97
{
98
DtCountryCodeOther
= 0,
99
DtFrance
= 71,
100
DtIraq
= 102,
101
DtUnionOfSovietSocialistRepublics
= 222,
102
DtUnitedKingdom
= 224,
103
DtUnitedStates
= 225
104
};
105
106
107
110
111
enum
DtPlatformLand
112
{
113
DtTank
= 1,
114
DtArmoredFightingVehicle
= 2,
115
DtArmoredUtilityVehicle
= 3,
116
DtSelfPropelledArtillery
= 4,
117
DtTowedArtillery
= 5,
118
DtSmallWheeledUtilityVehicle
= 6,
119
DtLargeWheeledUtilityVehicle
= 7,
120
DtSmallTrackedUtilityVehicle
= 8,
121
DtLargeTrackedUtilityVehicle
= 9,
122
DtMortar
= 10
123
};
124
125
enum
DtPlatformAir
126
{
127
DtFighter
= 1,
128
DtAttack
= 2,
129
DtBomber
= 3,
130
DtCargo
= 4,
131
DtAntiSubmarinePatrol
= 5,
132
DtAttackHelicopter
= 20,
133
DtUtilityHelicopter
= 21,
134
DtSeaGoingHelicopter
= 22,
135
DtElectronicWarfare
= 6,
136
DtUnmannedAirVehicle
= 50,
137
DtReconnaisance
= 8,
138
DtSpecialOperations
= 25
139
};
140
141
enum
DtPlatformSurface
142
{
143
DtCarrier
= 1,
144
DtCommandShip
= 2,
145
DtGuidedMissleCruiser
= 3,
146
DtGuidedMissleDestroyer
= 4,
147
DtDestroyer
= 5,
148
DtGuidedMissleFrigate
= 6,
149
DtPatrolCraft
= 7,
150
DtMineCounterMeasureShip
= 8,
151
DtDockLandingShip
= 9,
152
DtTankLandingShip
= 10,
153
DtLandingCraft
= 11,
154
DtFrigate
= 50,
155
DtBattleship
= 51,
156
DtHeavyCruiser
= 52,
157
DtDestroyerTender
= 53,
158
DtAmphibiousAssaultShip
= 54,
159
DtAmphibiousCargoShip
= 55,
160
DtAmphibiousTransportDock
= 56,
161
DtAmmunitionShip
= 57,
162
DtCombatStoresShip
= 58
163
};
164
168
169
enum
DtPlatformLandAnySmallWheeledUtilityVehicle
170
{
171
DtCivilianCar
= 0
172
};
173
177
178
enum
DtPlatformLandUSTank
179
{
180
DtM1
= 1
181
};
182
183
enum
DtPlatformLandUSArmoredFightingVehicle
184
{
185
DtM2
= 1,
186
DtM3
= 1,
187
DtM113
= 3
188
};
189
190
191
enum
DtPlatformLandUSArmoredUtilityVehicle
192
{
193
DtM88
= 1,
194
DtM577
= 11
195
};
196
197
198
enum
DtPlatformLandUSSelfPropelledArtillery
199
{
200
DtM109
= 3
201
};
202
203
204
205
enum
DtPlatformLandUSSmallWheeledUtilityVehicle
206
{
207
DtUSCivilianCar
= 0,
208
DtHMMWV
= 1
209
};
210
211
212
213
enum
DtPlatformAirUSFighter
{
214
DtF117
= 1,
215
DtF16
= 3,
216
DtF15
= 5,
217
DtF15E
= 5,
218
DtF18
= 9
219
};
220
221
enum
DtF16
222
{
223
DtBasicF16
= 0,
224
DtF16C
= 3
225
};
226
227
enum
DtPlatformAirUSAttack
228
{
229
DtA10
= 4
230
};
231
232
enum
DtPlatformAirUSCargo
233
{
234
DtC130
= 1,
235
DtKC130
= 1
236
237
};
238
239
enum
DtPlatformAirUSAttackHelicopter
240
{
241
DtAH64
= 1,
242
DtAH1W
= 2,
243
DtRAH66
= 3
244
};
245
246
enum
DtAH1WSpecific
247
{
248
DtSpecificAH1W
= 10
249
};
250
251
enum
DtPlatformAirUSObservationHelicopter
252
{
253
DtOH58
= 1
254
};
255
256
enum
DtPlatformAirUSUnmannedAirVehicle
257
{
258
DtUAV
= 0
259
};
260
261
262
enum
DtPlatformAirUSSpecialOperations
263
{
264
DtMH60
= 1,
265
DtMH53
= 3
266
};
267
268
enum
DtPlatformSurfaceUSCarrier
269
{
270
DtCV59
= 4
271
};
272
273
enum
DtCV59Specific
274
{
275
DtSpecificCV59
= 1
276
};
277
278
enum
DtPlatformSurfaceUSGuidedMissleCruiser
279
{
280
DtTiconderogaClass
281
};
282
283
enum
DtAegisCruiserSpecific
284
{
285
DtTiconderoga
= 1,
286
DtYorktown
= 2,
287
DtVincennes
= 3,
288
DtValleyForge
= 4,
289
DtThomasSGates
= 5
290
};
291
292
enum
DtPlatformSurfaceUSGuidedMissleFrigate
293
{
294
DtFFG7
= 1
295
};
296
297
enum
DtFFG7Specific
298
{
299
DtSpecificFFG7
= 1
300
};
301
302
enum
DtPlatformSurfaceUSAmphibiousAssaultShip
303
{
304
DtTarawaClass
= 1
305
};
306
307
enum
DtLHASpecific
308
{
309
DtTarawa
= 1,
310
DtSaipan
= 2,
311
DtBelleauWood
= 3,
312
DtNassau
= 4,
313
DtPeleliu
= 5
314
};
315
316
enum
DtPlatformSubsurfaceUSStrategicMissleSubmarine
317
{
318
DtSBBNOhio
= 1
319
};
320
321
325
326
enum
DtPlatformAirFranceUtilityHelicopter
327
{
328
DtGazelle
= 6
329
};
330
334
335
enum
DtPlatformLandUKTank
336
{
337
DtChallengerMBT
= 2
338
};
339
340
344
345
enum
DtPlatformLandUSSRTank
346
{
347
DtT72
= 2,
348
DtT64
= 3
349
};
350
351
enum
DtT72Specific
352
{
353
DtBasicT72
= 1
354
};
355
356
enum
DtPlatformLandUSSRArmoredFightingVehicle
357
{
358
DtBMP1
= 1,
359
DtBMP2
= 2,
360
DtBRDM1
= 3,
361
DtMTLB
= 7
362
};
363
364
365
enum
DtPlatformLandUSSRSelfPropelledArtillery
366
{
367
DtSS1ScudMissileLauncher
= 10,
368
DtZSU23_4
= 18,
369
DtSA6Launcher
= 19,
370
DtSAMSite
= 19,
371
DtSA10FlapLidRadar
= 42,
372
DtSA8LauncherRadar
= 41
373
};
374
375
enum
DtSA10Specific
376
{
377
DtSpecificSA10
= 1
378
};
379
380
enum
DtSA8Specific
381
{
382
DtSpecificSA8
= 1
383
};
384
385
enum
DtPlatformLandUSSRSelfTowedArtillery
386
{
387
DtD20
= 3
388
};
389
390
391
enum
DtPlatformLandUSSRLargeWheeledUtilityVehicle
392
{
393
DtZIL157
= 6,
394
DtGAZ66
= 8,
395
DtUral375
= 9
396
};
397
398
enum
DtPlatformAirUSSRAttackHelicopter
399
{
400
DtMI28
= 1,
401
DtMI24
= 2
402
};
403
404
enum
DtPlatformAirUSSRFighter
405
{
406
DtMiG29
= 2,
407
DtMiG23
= 5
408
};
409
410
enum
DtPlatformAirUSSRAttack
411
{
412
DtSU25
= 8
413
};
414
415
enum
DtPlatformAirUSSRBomber
416
{
417
DtTU26
= 3,
418
DtTU95
= 5
419
};
420
422
425
enum
DtMunitionAntiAir
426
{
427
DtMunitionGuided
= 1,
428
DtMunitionUnguided
= 2
429
};
430
431
enum
DtMunitionAntiArmor
432
{
433
DtAntiArmorGuided
= 1,
434
DtAntiArmorUnguided
= 2
435
};
436
437
enum
DtMunitionAntiRadar
438
{
439
DtAntiRadarGuided
= 1,
440
DtAntiRadarUnguided
= 2
441
};
442
443
enum
DtMunitionAntiShip
444
{
445
DtAntiShipGuided
= 1,
446
DtAntiShipUnguided
= 2
447
};
448
449
enum
DtMunitionAntiSubmarine
450
{
451
DtAntiSubmarineGuided
= 1,
452
DtAntiSubmarineUnguided
= 2
453
};
454
455
enum
DtMunitionAntiPersonnel
456
{
457
DtAntiPersonnelGuided
= 1,
458
DtAntiPersonnelUnguided
= 2
459
};
460
461
enum
DtMunitionBattlefieldSupport
462
{
463
DtBattlefieldSupportGuided
= 1,
464
DtBattlefieldSupportUnguided
= 2
465
};
466
470
471
enum
DtMunitionUSAntiAirGuided
472
{
473
DtSidewinder
= 1,
474
DtAMRAAM
= 2,
475
DtHawk
= 6,
476
DtPhoenix
= 8,
477
DtRoland
= 11,
478
DtSeaSparrow
= 12,
479
DtSparrow
= 13,
480
DtStinger
= 15,
481
DtPatriot
= 16
482
};
483
484
485
enum
DtMunitionUSAntiArmorGuided
486
{
487
DtBGM71TOW
= 1,
488
DtHellfire
= 3,
489
DtMaverick
= 4
490
};
491
492
enum
DtMunitionUSAntiArmorUnguided
493
{
494
Dt25mm
= 3,
495
Dt105m
= 10,
496
Dt120mm
= 13
497
};
498
499
enum
DtMunitionUSAntiRadarGuided
500
{
501
DtAGM88HARM
= 1
502
};
503
504
enum
DtMunitionUSAntiSubmarineGuided
505
{
506
DtMk48AntiSubmarine
= 2
507
};
508
509
enum
DtMunitionUSAntiPersonnelUnguided
510
{
511
Dt7_62mm
= 2
512
};
513
514
enum
DtMunitionUSBattlefieldSupportUnguided
515
{
516
DtBattlefield20mm
= 1,
517
DtBattlefield30mm
= 3,
518
DtBattlefield105mm
= 10,
519
DtBattlefield120mm
= 11
520
};
521
522
enum
DtMunitionUSBattlefieldSupportGuided
523
{
524
DtBGM109Tomahawk
= 6
525
};
526
527
528
532
533
enum
DtMunitionUSSRAntiAirGuided
534
{
535
DtAA3Anan
= 3,
536
DtAA9Amos
= 9,
537
DtSA2Guideline
= 14,
538
DtSA3Goa
= 15,
539
DtSA4Ganef
= 16,
540
DtSA6Gainful
= 18,
541
DtSA7Grail
= 19,
542
DtSA8Gecko
= 20,
543
DtSA9Gaskin
= 21,
544
DtSA10Grumble
= 22
545
};
546
547
enum
DtMunitionUSSRAntiPersonnelUnguided
548
{
549
Dt7_62mmUSSR
= 2
550
};
551
553
enum
DtMunitionUKAntiPersonnelUnguided
554
{
555
Dt7_62mmUK
= 1
556
};
557
558
enum
DtMunitionUKBattlefieldSupportUnguided
559
{
560
DtBattlefield105mmUK
= 3
561
};
562
564
567
enum
DtLifeFormLand
568
{
569
DtLifeformOther
= 0,
570
DtDismountedInfantry
= 1,
571
DtDismountedInfantryNonVisible
= 2,
572
DtCivilianUnarmed
= 3,
573
DtCivilianWithWeapons
= 4,
574
DtLifeFormAnimal
= 5
575
};
576
577
enum
DtNumberOfIndividualLifeForms
578
{
579
DtFireTeam
= 101,
580
DtSquad
= 102,
581
DtPlatoon
= 103,
582
DtCompany
= 104,
583
DtBattalion
= 105,
584
DtRegiment
= 106,
585
DtDivision
= 107,
586
DtCorps
= 108,
587
DtArmy
= 109
588
};
590
592
enum
DtEnvironmentalAir
593
{
594
DtEnvironmentalDomainAirOther
= 0,
595
DtSmoke
= 1,
596
DtFog
= 2,
597
DtCloud
= 3,
598
DtCloudWithRainFalling
= 4,
599
DtCloudWithSnowFalling
= 5
600
};
601
603
enum
DtCulturalFeatureLand
604
{
605
DtBridgeConcreteTwoLane
= 1,
606
DtBuildingOneStory
= 7,
607
DtBuildingTwoStory
= 8,
608
DtBuildingThreeStory
= 9,
609
DtBuildingFourStory
= 10,
610
DtDragonsTeeth
= 20
611
};
612
614
enum
DtSupplyCategories
615
{
616
DtSupplyOther
= 0,
617
DtSupplyFuels
= 1,
618
DtSupplyOils
= 2,
619
DtSupplyLubricants
= 3,
620
DtSupplyFood
= 4,
621
DtSupplySpareParts
= 5,
622
DtSupplyPersonnel
= 6
623
};
624
626
enum
DtSizeQualifier
627
{
628
DtOther
= 0,
629
DtVerySmall
= 20,
630
DtSmall
= 40,
631
DtMedium
= 60,
632
DtLarge
= 80,
633
DtVeryLarge
= 100
634
};
635
636
637
#define DtSameEntityKind(a,b) \
638
((a)->DtEntityKind == (b)->DtEntityKind && \
639
(a)->DtDomain == (b)->DtDomain && \
640
(a)->DtCountry == (b)->DtCountry && \
641
(a)->DtCategory == (b)->DtCategory && \
642
(a)->DtSubCategory == (b)->DtSubCategory && \
643
(a)->DtSpecific == (b)->DtSpecific && \
644
(a)->DtExtra == (b)->DtExtra)
645
646
#define DtIsLandPlatform(a) \
647
((a)->DtEntityKind == DtPlatform && \
648
(a)->DtDomain == DtPlatformDomainLand)
649
650
#define DtIsLandLifeForm(a) \
651
((a)->DtEntityKind == DtLifeForm && \
652
(a)->DtDomain == DtLifeFormDomainLand)
653
654
#define DtIsAirPlatform(a) \
655
((a)->DtEntityKind == DtPlatform && \
656
(a)->DtDomain == DtPlatformDomainAir)
657
658
#define DtIsTank(a) \
659
(DtIsLandPlatform(a) && (a)->DtCategory == DtTank)
660
661
#define DtIsRotaryWing(a) \
662
(DtIsAirPlatform(a) && \
663
(a)->DtCategory >= 20 && \
664
(a)->DtCategory < 30)
665
666
#define DtIsFixedWing(a) \
667
(DtIsAirPlatform(a) && \
668
(!DtIsRotaryWing(a)))
669
670
671
#define antiPersonell 8
672
673
674
#define DtEntityIsAntiPersonnel(a) \
675
(((a)->DtEntityKind == DtMunition) && ((a)->DtDomain == antiPersonell))
676
677
#endif
Document ID: Generated on Wed Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)