-
Notifications
You must be signed in to change notification settings - Fork 5
/
DIS5.xml
1528 lines (1104 loc) · 51.2 KB
/
DIS5.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!-- XML description file for the DIS-1995 protocol. A few classes require manual clean up and intervention. -->
<!-- Classes that need hand-modification include SignalPdu, TransmitterPdu, ElectromagneticEmmissionPdu. -->
<classes>
<java imports="java.util.*, java.io.*"
package="edu.nps.moves.dis"/>
<!--PES added for C# support-->
<csharp using="System, System.Collections.Generic, System.Text, System.Diagnostics, System.Xml.Serialization, DISnet.DataStreamUtilities"/>
<csharp namespace="DIS1995net"/>
<cpp namespace="DIS"/>
<class name="AngularVelocityVector" inheritsFrom="root"
comment="5.2.2: angular velocity measured in radians per second out each of the entity's own coordinate axes.">
<attribute name="x" comment="velocity about the x axis">
<primitive type="float" defaultValue="0"/>
</attribute>
<attribute name="y" comment="velocity about the y axis">
<primitive type="float" defaultValue="0"/>
</attribute>
<attribute name="z" comment="velocity about the zaxis">
<primitive type="float" defaultValue="0"/>
</attribute>
</class>
<class name="AntennaLocation" inheritsFrom="root"
comment="5.2.3: location of the radiating portion of the antenna, specified in world coordinates and
entity coordinates.">
<attribute name="antennaLocation" comment="Location of the radiating portion of the antenna in world
coordinates">
<classRef name="Vector3Double"/>
</attribute>
<attribute name="relativeAntennaLocation" comment="Location of the radiating portion of the antenna
in entity coordinates">
<classRef name="Vector3Float"/>
</attribute>
</class>
<class name="BeamAntennaPattern" inheritsFrom="root"
comment="Section 5.2.4.2. Used when the antenna pattern type field has a value of 1. Specifies
the direction, patter, and polarization of radiation from an antenna.">
<attribute name="beamDirection" comment="The rotation that transformst he reference coordinate sytem
into the beam coordinate system. Either world coordinates or entity coordinates may be used as the
reference coordinate system, as specified by teh reference system field of the antenna pattern record.">
<classRef name="Orientation"/>
</attribute>
<attribute name="azimuthBeamwidth" comment="Full width of the beam to the -3dB power density points
in the x-y plane of the beam coordinnate system. Elevation beamwidth is represented by a 32 bit
floating point number in units of radians.">
<primitive type="float" defaultValue="0"/>
</attribute>
<attribute name="referenceSystem" comment="The reference coordinate system wrt which beam direction
is specified. This field should not change over the duration of an exercise. World coordindate systemis
prefered for exercises. The entity coordinate system should be used only when highly directional antennas must be precisely modeled.">
<primitive type="float" defaultValue="0"/>
</attribute>
<attribute name="padding1" comment="Padding">
<primitive type="short" defaultValue="0"/>
</attribute>
<attribute name="padding2" comment="Padding">
<primitive type="byte" defaultValue="0"/>
</attribute>
<attribute name="ez" comment="Magnigute of the z-component in beam coordinates at some arbitrary
single point in the mainbeam
and in the far field of the antenna.">
<primitive type="float"/>
</attribute>
<attribute name="ex" comment="Magnigute of the x-component in beam coordinates at some arbitrary
single point in the mainbeam
and in the far field of the antenna.">
<primitive type="float"/>
</attribute>
<attribute name="phase" comment="THe phase angle between Ez and Ex in radians.">
<primitive type="float"/>
</attribute>
</class>
<class name="SphericalHarmonicAntennaPattern" inheritsFrom="root"
comment="Section 5.2.4.3. Used when the antenna pattern type in the transmitter pdu is of value 2.
Specified the direction and radiation pattern from a radio transmitter's antenna.
NOTE: this class must be hand-coded to clean up some implementation details.">
<attribute name="order" comment="The highest order of the expansion in spherical harmonics, couting
from zero. There are 2n+1 coefficients for each order n, and a total of N^2 + 2N + 1 coefficients
through order N.">
<primitive type="byte"/>
</attribute>
</class>
<class name="ArticulationParameter" inheritsFrom="root" comment="Section 5.2.5. Articulation parameters for
movable parts and attached parts of an entity. Specifes wether or not a change has occured,
the part identifcation of the articulated part to which it is attached, and the type and
value of each parameter.">
<attribute name="parameterTypeDesignator">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="changeIndicator">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="partAttachedTo">
<primitive type="unsigned short"/>
</attribute>
<attribute name="parameterType">
<primitive type="int"/>
</attribute>
<attribute name="parameterValue">
<primitive type="double"/>
</attribute>
</class>
<class name="BurstDescriptor" inheritsFrom="root"
comment="Section 5.2.7. Specifies the type of muntion fired, the type of warhead, the
type of fuse, the number of rounds fired, and the rate at which the roudns are fired in
rounds per minute.">
<attribute name="munition" comment="What munition was used in the burst">
<classRef name="EntityType"/>
</attribute>
<attribute name="warhead" comment="type of warhead">
<primitive type="unsigned short"/>
</attribute>
<attribute name="fuse" comment="type of fuse used">
<primitive type="unsigned short"/>
</attribute>
<attribute name="quantity" comment="how many of the munition were fired">
<primitive type="unsigned short"/>
</attribute>
<attribute name="rate" comment="rate at which the munition was fired">
<primitive type="unsigned short"/>
</attribute>
</class>
<class name="ClockTime" inheritsFrom="root"
comment="Section 5.2.8. Time measurements that exceed one hour. Hours is the number of
hours since January 1, 1970, UTC">
<attribute name="hour" comment="Hours in UTC">
<primitive type="int"/>
</attribute>
<attribute name="timePastHour" comment="Time past the hour">
<primitive type="unsigned int"/>
</attribute>
</class>
<class name="EmitterSystem" inheritsFrom="root"
comment="Section 5.2.11. This field shall specify information about a particular emitter system">
<attribute name="emitterName" comment="Name of the emitter, 16 bit enumeration">
<primitive type= "unsigned short"/>
</attribute>
<attribute name="function" comment="function of the emitter, 8 bit enumeration">
<primitive type= "unsigned byte"/>
</attribute>
<attribute name="emitterIdNumber" comment="emitter ID, 8 bit enumeration">
<primitive type= "unsigned byte"/>
</attribute>
</class>
<class name="SimulationAddress" inheritsFrom="root" comment="Section 5.2.14.1. A Simulation Address
record shall consist of the Site Identification number and the Application Identification number.">
<attribute name="site" comment="The site ID">
<primitive type="unsigned short"/>
</attribute>
<attribute name="application" comment="The application ID">
<primitive type="unsigned short"/>
</attribute>
</class>
<class name="EntityType" inheritsFrom="root" comment="Section 5.2.16. Identifies the type of entity, including
kind of entity, domain (surface, subsurface, air, etc) country, category, etc.">
<attribute name="entityKind" comment="Kind of entity">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="domain" comment="Domain of entity (air, surface, subsurface, space, etc)">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="country" comment="country to which the design of the entity is attributed" >
<primitive type="unsigned short"/>
</attribute>
<attribute name="category" comment = "category of entity">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="subcategory" comment="subcategory of entity">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="specific" comment="specific info based on subcategory field">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="extra">
<primitive type="unsigned byte"/>
</attribute>
</class>
<class name="Orientation" inheritsFrom="root" comment="Section 5.2.17. Three floating point values representing an orientation, psi, theta, and phi, aka the euler angles, in radians">
<attribute name="psi">
<primitive type="float"/>
</attribute>
<attribute name="theta">
<primitive type="float"/>
</attribute>
<attribute name="phi">
<primitive type="float"/>
</attribute>
</class>
<class name="EventID" inheritsFrom="root" comment="Section 5.2.18. Identifies a unique event in a simulation via the combination of three values">
<attribute name="application" comment="The application ID">
<primitive type="unsigned short"/>
</attribute>
<attribute name="site" comment="The site ID">
<primitive type="unsigned short"/>
</attribute>
<attribute name="eventNumber" comment="the number of the event">
<primitive type="unsigned short"/>
</attribute>
</class>
<class name="FixedDatum" inheritsFrom="root" comment="Section 5.2.18. Fixed Datum Record">
<attribute name="fixedDatumID" comment="ID of the fixed datum">
<primitive type="unsigned int"/>
</attribute>
<attribute name="fixedDatumValue" comment="Value for the fixed datum">
<primitive type="unsigned int"/>
</attribute>
</class>
<class name="FundamentalParameterData" inheritsFrom="root"
comment="Section 5.2.22. Contains electromagnetic emmision regineratin parameters that are
variable throughout a scenario dependent on the actions of the participants in the simulation.
Also provides basic parametric data that may be used to support low-fidelity simulations.">
<attribute name="frequency" comment="center frequency of the emission in hertz.">
<primitive type="float"/>
</attribute>
<attribute name="frequencyRange" comment="Bandwidth of the frequencies corresponding to the fequency field.">
<primitive type="float"/>
</attribute>
<attribute name="effectiveRadiatedPower" comment="Effective radiated power for the emission in DdBm. For a
radar noise jammer, indicates the peak of the transmitted power.">
<primitive type="float"/>
</attribute>
<attribute name="pulseRepetitionFrequency" comment="Average repetition frequency of the emission in hertz.">
<primitive type="float"/>
</attribute>
<attribute name="pusleWidth" comment="Average pulse width of the emission in microseconds.">
<primitive type="float"/>
</attribute>
<attribute name="beamAzimuthCenter" comment="Specifies the beam azimuth an elevation centers and corresponding half-angles
to describe the scan volume">
<primitive type="float"/>
</attribute>
<attribute name="beamAzimuthSweep" comment="Specifies the beam azimuth sweep to determine scan volume">
<primitive type="float"/>
</attribute>
<attribute name="beamElevationCenter" comment="Specifies the beam elevation center to determine scan volume">
<primitive type="float"/>
</attribute>
<attribute name="beamElevationSweep" comment="Specifies the beam elevation sweep to determine scan volume">
<primitive type="float"/>
</attribute>
<attribute name="beamSweepSync" comment="allows receiver to synchronize its regenerated scan pattern to
that of the emmitter. Specifies the percentage of time a scan is through its pattern from its origion.">
<primitive type="float"/>
</attribute>
</class>
<class name="RadioEntityType" inheritsFrom="root" comment="Section 5.2.25. Identifies the type of radio">
<attribute name="entityKind" comment="Kind of entity">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="domain" comment="Domain of entity (air, surface, subsurface, space, etc)">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="country" comment="country to which the design of the entity is attributed" >
<primitive type="unsigned short"/>
</attribute>
<attribute name="category" comment = "category of entity">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="subcategory" comment="subcategory of entity">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="nomenclatureVersion" comment="specific info based on subcategory field">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="nomenclature">
<primitive type="unsigned short"/>
</attribute>
</class>
<class name="SupplyQuantity" inheritsFrom="root" comment="Section 5.2.30. A supply, and the amount of that supply. Similar to an entity kind but with the addition of a quantity.">
<attribute name="supplyType" comment="Type of supply">
<classRef name="EntityID"/>
</attribute>
<attribute name="quantity" comment="quantity to be supplied">
<primitive type="unsigned byte"/>
</attribute>
</class>
<class name="VariableDatum" inheritsFrom="root" comment="Section 5.2.32. Variable Datum Record">
<attribute name="variableDatumID" comment="ID of the variable datum">
<primitive type="unsigned int"/>
</attribute>
<attribute name="variableDatumLength" comment="length of the variable datums">
<primitive type="unsigned int"/>
</attribute>
<attribute name="variableDatums" comment="variable length list of 64-bit datums">
<list type="variable" countFieldName="variableDatumLength">
<classRef name="EightByteChunk"/>
</list>
</attribute>
</class>
<class name="Vector3Float" inheritsFrom="root" comment="Section 5.2.33. Three floating point values, x, y, and z">
<attribute name="x" comment = "X value">
<primitive type="float"/>
</attribute>
<attribute name="y" comment="y Value">
<primitive type="float"/>
</attribute>
<attribute name="z" comment="Z value">
<primitive type="float"/>
</attribute>
</class>
<class name="Vector3Double" inheritsFrom="root" comment="Section 5.3.34. Three double precision floating point values, x, y, and z">
<attribute name="x" comment="X value">
<primitive type="double"/>
</attribute>
<attribute name="y" comment="Y value">
<primitive type="double"/>
</attribute>
<attribute name="z" comment="Z value">
<primitive type="double"/>
</attribute>
</class>
<class name="EntityID" inheritsFrom="root" comment="Each entity in a given DIS simulation application shall be given an entity identifier number unique to all
other entities in that application. This identifier number is valid for the duration of the exercise; however,
entity identifier numbers may be reused when all possible numbers have been exhausted. No entity shall
have an entity identifier number of NO_ENTITY, ALL_ENTITIES, or RQST_ASSIGN_ID. The entity iden-
tifier number need not be registered or retained for future exercises. The entity identifier number shall be
specified by a 16-bit unsigned integer.
An entity identifier number equal to zero with valid site and application identification shall address a
simulation application. An entity identifier number equal to ALL_ENTITIES shall mean all entities within
the specified site and application. An entity identifier number equal to RQST_ASSIGN_ID allows the
receiver of the create entity to define the entity identifier number of the new entity.">
<attribute name="site" comment="The site ID">
<primitive type="unsigned short"/>
</attribute>
<attribute name="application" comment="The application ID">
<primitive type="unsigned short"/>
</attribute>
<attribute name="entity" comment="the entity ID">
<primitive type="unsigned short"/>
</attribute>
</class>
<class name="EightByteChunk" inheritsFrom="root" comment="64 bit piece of data">
<attribute name="otherParameters" comment="Eight bytes of arbitrary data">
<list type="fixed" length="8">
<primitive type="byte"/>
</list>
</attribute>
</class>
<class name="ModulationType" inheritsFrom="root" comment="Radio modulation">
<attribute name="spreadSpectrum" comment="spread spectrum, 16 bit boolean array">
<primitive type="unsigned short"/>
</attribute>
<attribute name="major" comment="major">
<primitive type="unsigned short"/>
</attribute>
<attribute name="detail" comment="detail">
<primitive type="unsigned short"/>
</attribute>
<attribute name="system" comment="system">
<primitive type="unsigned short"/>
</attribute>
</class>
<class name="DeadReckoningParameter" inheritsFrom="root" comment="represents values used in dead reckoning algorithms">
<attribute name="deadReckoningAlgorithm" comment="enumeration of what dead reckoning algorighm to use">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="otherParameters" comment="other parameters to use in the dead reckoning algorithm">
<list type="fixed" length="15">
<primitive type="byte"/>
</list>
</attribute>
<attribute name="entityLinearAcceleration" comment="Linear acceleration of the entity">
<classRef name="Vector3Float"/>
</attribute>
<attribute name="entityAngularVelocity" comment = "angular velocity of the entity">
<classRef name="Vector3Float"/>
</attribute>
</class>
<!-- PDUs start here -->
<class name="Pdu" inheritsFrom="root" comment="The superclass for all PDUs. This incorporates the
PduHeader record, section 5.2.29.">
<attribute name="protocolVersion" comment="The version of the protocol. 5=DIS-1995, 6=DIS-1998.">
<primitive type= "unsigned byte" defaultValue="5"/>
</attribute>
<attribute name="exerciseID" comment="Exercise ID">
<primitive type= "unsigned byte" defaultValue="0"/>
</attribute>
<attribute name="pduType" comment="Type of pdu, unique for each PDU class">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="protocolFamily" comment="value that refers to the protocol family, eg SimulationManagement, et">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="timestamp" comment="Timestamp value">
<primitive type="unsigned int"/>
</attribute>
<attribute name="length" comment="Length, in bytes, of the PDU">
<primitive type="unsigned short"/>
</attribute>
<attribute name="padding" comment="zero-filled array of padding">
<primitive type="short" defaultValue="0"/>
</attribute>
</class>
<class name="EntityInformationPdu" inheritsFrom="Pdu"
comment="Section 5.3.3. Common superclass for EntityState and Collision PDUs. This should be abstract.">
<initialValue name="protocolFamily" value="1"/>
</class>
<class name="EntityStatePdu" inheritsFrom="EntityInformationPdu" comment="Section 5.3.3.1. Represents the postion and state of one entity in the world">
<initialValue name="pduType" value="1"/>
<attribute name="entityID" comment="Unique ID for an entity that is tied to this state information">
<classRef name="EntityID"/>
</attribute>
<attribute name="forceId">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="articulationParameterCount" comment="How many articulation parameters are in the variable length list">
<primitive type="byte"/>
</attribute>
<attribute name="entityType" comment="Describes the type of entity in the world">
<classRef name="EntityType"/>
</attribute>
<attribute name="alternativeEntityType">
<classRef name="EntityType"/>
</attribute>
<attribute name="entityLinearVelocity" comment="Describes the speed of the entity in the world">
<classRef name="Vector3Float"/>
</attribute>
<attribute name="entityLocation" comment="describes the location of the entity in the world">
<classRef name="Vector3Double"/>
</attribute>
<attribute name="entityOrientation" comment="describes the orientation of the entity, in euler angles">
<classRef name="Orientation"/>
</attribute>
<attribute name="entityAppearance" comment="a series of bit flags that are used to help draw the entity, such as smoking, on fire, etc.">
<primitive type="int"/>
</attribute>
<attribute name="deadReckoningParameters" comment="parameters used for dead reckoning">
<classRef name="DeadReckoningParameter"/>
</attribute>
<attribute name="marking" comment="characters that can be used for debugging, or to draw unique strings on the side of entities in the world">
<list type="fixed" length="12">
<primitive type="byte"/>
</list>
</attribute>
<attribute name="capabilities" comment="a series of bit flags">
<primitive type="int"/>
</attribute>
<attribute name="articulationParameters" comment="variable length list of articulation parameters">
<list type="variable" countFieldName="articulationParameterCount">
<classRef name="ArticulationParameter"/>
</list>
</attribute>
</class>
<class name="CollisionPdu" inheritsFrom="EntityInformationPdu" comment="Section 5.3.3.2. Information about a collision">
<initialValue name="pduType" value="4"/>
<initialValue name="protocolFamily" value="1"/>
<attribute name="issuingEntityID" comment="ID of the entity that issued the collision PDU">
<classRef name="EntityID"/>
</attribute>
<attribute name="collidingEntityID" comment="ID of entity that has collided with the issuing entity ID">
<classRef name="EntityID"/>
</attribute>
<attribute name="eventID" comment="ID of event">
<classRef name="EventID"/>
</attribute>
<attribute name="collisionType" comment="ID of event">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="pad" comment="some padding">
<primitive type="byte" defaultValue = "0"/>
</attribute>
<attribute name="velocity" comment="velocity at collision">
<classRef name="Vector3Float"/>
</attribute>
<attribute name="mass" comment="mass of issuing entity">
<primitive type="float"/>
</attribute>
<attribute name="location" comment="Location with respect to entity the issuing entity collided with">
<classRef name="Vector3Float"/>
</attribute>
</class>
<class name="Warfare" inheritsFrom="Pdu"
comment="Section 5.3.4. abstract superclass for fire and detonation pdus that have shared information">
<initialValue name="protocolFamily" value="2"/>
<attribute name="firingEntityID" comment="ID of the entity that shot">
<classRef name="EntityID"/>
</attribute>
<attribute name="targetEntityID" comment="ID of the entity that is being shot at">
<classRef name="EntityID"/>
</attribute>
</class>
<class name="FirePdu" inheritsFrom="Warfare" comment="Sectioin 5.3.4.1. Information about someone firing something">
<initialValue name="pduType" value="2"/>
<attribute name="munitionID" comment="ID of the munition that is being shot">
<classRef name="EntityID"/>
</attribute>
<attribute name="eventID" comment="ID of event">
<classRef name="EventID"/>
</attribute>
<attribute name="fireMissionIndex">
<primitive type="int"/>
</attribute>
<attribute name="locationInWorldCoordinates" comment="location of the firing event">
<classRef name="Vector3Double"/>
</attribute>
<attribute name="burstDescriptor" comment="Describes munitions used in the firing event">
<classRef name="BurstDescriptor"/>
</attribute>
<attribute name="velocity" comment="Velocity of the ammunition">
<classRef name="Vector3Float"/>
</attribute>
<attribute name="range" comment="range to the target">
<primitive type="float"/>
</attribute>
</class>
<class name="DetonationPdu" inheritsFrom="Warfare" comment="Section 5.3.4.2. Information about Stuff Exploding">
<initialValue name="pduType" value="3"/>
<attribute name="munitionID" comment="ID of muntion that was fired">
<classRef name="EntityID"/>
</attribute>
<attribute name="eventID" comment="ID firing event">
<classRef name="EventID"/>
</attribute>
<attribute name="velocity" comment="ID firing event">
<classRef name="Vector3Float"/>
</attribute>
<attribute name="locationInWorldCoordinates" comment="where the detonation is, in world coordinates">
<classRef name="Vector3Double"/>
</attribute>
<attribute name="burstDescriptor" comment="Describes munition used">
<classRef name="BurstDescriptor"/>
</attribute>
<attribute name="detonationResult" comment="result of the explosion">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="numberOfArticulationParameters" comment="How many articulation parameters we have">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="pad" comment="padding">
<primitive type="short" defaultValue = "0"/>
</attribute>
<attribute name="articulationParameters">
<list type="variable" countFieldName="numberOfArticulationParameters">
<classRef name="ArticulationParameter"/>
</list>
</attribute>
</class>
<class name="LogisticsPdu" inheritsFrom="Pdu" comment="Section 5.3.5. Abstract superclass for logistics PDUs">
<initialValue name="protocolFamily" value="3"/>
</class>
<class name="ServiceRequestPdu" inheritsFrom="LogisticsPdu" comment="Section 5.3.5.1. Information about a request for supplies">
<initialValue name="pduType" value="5"/>
<attribute name="requestingEntityID" comment="Entity that is requesting service">
<classRef name="EntityID"/>
</attribute>
<attribute name="servicingEntityID" comment="Entity that is providing the service">
<classRef name="EntityID"/>
</attribute>
<attribute name="serviceTypeRequested" comment="type of service requested">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="numberOfSupplyTypes" comment="How many requested">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="serviceRequestPadding" comment="padding">
<primitive type="short" defaultValue = "0"/>
</attribute>
<attribute name="supplies">
<list type="variable" countFieldName="numberOfSupplyTypes">
<classRef name="SupplyQuantity"/>
</list>
</attribute>
</class>
<class name="ResupplyOfferPdu" inheritsFrom="LogisticsPdu" comment="Section 5.3.5.2. Information about a request for supplies">
<initialValue name="pduType" value="6"/>
<attribute name="receivingEntityID" comment="Entity that is receiving service">
<classRef name="EntityID"/>
</attribute>
<attribute name="supplyingEntityID" comment="Entity that is supplying">
<classRef name="EntityID"/>
</attribute>
<attribute name="numberOfSupplyTypes" comment="how many supplies are being offered">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="padding1" comment="padding">
<primitive type="short" defaultValue="0"/>
</attribute>
<attribute name="padding2" comment="padding">
<primitive type="byte" defaultValue = "0"/>
</attribute>
<attribute name="supplies">
<list type="variable" countFieldName="numberOfSupplyTypes">
<classRef name="SupplyQuantity"/>
</list>
</attribute>
</class>
<class name="ResupplyReceivedPdu" inheritsFrom="LogisticsPdu" comment="Section 5.3.5.3. Receipt of supplies is communiated">
<initialValue name="pduType" value="7"/>
<attribute name="receivingEntityID" comment="Entity that is receiving service">
<classRef name="EntityID"/>
</attribute>
<attribute name="supplyingEntityID" comment="Entity that is supplying">
<classRef name="EntityID"/>
</attribute>
<attribute name="numberOfSupplyTypes" comment="how many supplies are being offered">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="padding1" comment="padding">
<primitive type="short" defaultValue="0"/>
</attribute>
<attribute name="padding2" comment="padding">
<primitive type="byte" defaultValue="0"/>
</attribute>
<attribute name="supplies">
<list type="variable" countFieldName="numberOfSupplyTypes">
<classRef name="SupplyQuantity"/>
</list>
</attribute>
</class>
<class name="ResupplyCancelPdu" inheritsFrom="LogisticsPdu" comment="Section 5.2.5.4. Cancel of resupply by either the receiving or supplying entity">
<initialValue name="pduType" value="8"/>
<attribute name="receivingEntityID" comment="Entity that is receiving service">
<classRef name="EntityID"/>
</attribute>
<attribute name="supplyingEntityID" comment="Entity that is supplying">
<classRef name="EntityID"/>
</attribute>
</class>
<class name="RepairCompletePdu" inheritsFrom="LogisticsPdu" comment="Section 5.2.5.5. Repair is complete">
<initialValue name="pduType" value="9"/>
<attribute name="receivingEntityID" comment="Entity that is receiving service">
<classRef name="EntityID"/>
</attribute>
<attribute name="repairingEntityID" comment="Entity that is supplying">
<classRef name="EntityID"/>
</attribute>
<attribute name="repair" comment="Enumeration for type of repair">
<primitive type="unsigned short"/>
</attribute>
<attribute name="padding" comment="padding">
<primitive type="short" defaultValue="0"/>
</attribute>
</class>
<class name="RepairResponsePdu" inheritsFrom="LogisticsPdu" comment="Section 5.2.5.6. Sent after repair conplete PDU">
<initialValue name="pduType" value="10"/>
<attribute name="receivingEntityID" comment="Entity that is receiving service">
<classRef name="EntityID"/>
</attribute>
<attribute name="repairingEntityID" comment="Entity that is supplying">
<classRef name="EntityID"/>
</attribute>
<attribute name="repairResult" comment="Result of repair operation">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="padding1" comment="padding">
<primitive type="short" defaultValue="0"/>
</attribute>
<attribute name="padding2" comment="padding">
<primitive type="byte" defaultValue="0"/>
</attribute>
</class>
<class name="SimulationManagementPdu" inheritsFrom="Pdu" comment="Section 5.3.6. Abstract superclass for PDUs relating to the simulation itself">
<initialValue name="protocolFamily" value="5"/>
<attribute name="originatingEntityID" comment="Entity that is sending message">
<classRef name="EntityID"/>
</attribute>
<attribute name="receivingEntityID" comment="Entity that is intended to receive message">
<classRef name="EntityID"/>
</attribute>
</class>
<class name="CreateEntityPdu" inheritsFrom="SimulationManagementPdu" comment="Section 5.3.6.1. Create a new entity">
<initialValue name="pduType" value="11"/>
<attribute name="requestID" comment="Identifier for the request">
<primitive type="unsigned int"/>
</attribute>
</class>
<class name="RemoveEntityPdu" inheritsFrom="SimulationManagementPdu" comment="Section 5.3.6.2. Remove an entity">
<initialValue name="pduType" value="12"/>
<attribute name="requestID" comment="Identifier for the request">
<primitive type="unsigned int"/>
</attribute>
</class>
<class name="StartResumePdu" inheritsFrom="SimulationManagementPdu" comment="Section 5.2.6.3. Start or resume an exercise">
<initialValue name="pduType" value="13"/>
<attribute name="realWorldTime" comment="UTC time at which the simulation shall start or resume">
<classRef name="ClockTime"/>
</attribute>
<attribute name="simulationTime" comment="Simulation clock time at which the simulation shall start or resume">
<classRef name="ClockTime"/>
</attribute>
<attribute name="requestID" comment="Identifier for the request">
<primitive type="unsigned int"/>
</attribute>
</class>
<class name="StopFreezePdu" inheritsFrom="SimulationManagementPdu" comment="Section 5.2.3.4. Stop or freeze an exercise">
<initialValue name="pduType" value="14"/>
<attribute name="realWorldTime" comment="UTC time at which the simulation shall stop or freeze">
<classRef name="ClockTime"/>
</attribute>
<attribute name="reason" comment="Reason the simulation was stopped or frozen">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="frozenBehavior" comment="Internal behavior of the simulation and its appearance while frozento the other participants">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="padding1" comment="padding">
<primitive type="short" defaultValue="0"/>
</attribute>
<attribute name="requestID" comment="Request ID that is unique">
<primitive type="unsigned int"/>
</attribute>
</class>
<class name="AcknowledgePdu" inheritsFrom="SimulationManagementPdu" comment="Section 5.3.6.5. Acknowledge the receiptof a start/resume, stop/freeze, or RemoveEntityPDU">
<initialValue name="pduType" value="15"/>
<attribute name="acknowledgeFlag" comment="type of message being acknowledged">
<primitive type="unsigned short"/>
</attribute>
<attribute name="responseFlag" comment="Whether or not the receiving entity was able to comply with the request">
<primitive type="unsigned short"/>
</attribute>
<attribute name="requestID" comment="Request ID that is unique">
<primitive type="unsigned int"/>
</attribute>
</class>
<class name="ActionRequestPdu" inheritsFrom="SimulationManagementPdu" comment="Section 5.3.6.6. Request from simulation manager to an entity">
<initialValue name="pduType" value="16"/>