-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathDIS6.xml
4161 lines (3034 loc) · 146 KB
/
DIS6.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-1998 protocol. A few classes require manual clean up and intervention. -->
<!-- Classes that need hand-modification include SignalPdu, TransmitterPdu, ElectromagneticEmissionPdu, etc -->
<classes>
<!-- properties can be overridden with -Dxmlpg.generatedSourceDir="java/blah/blah"-->
<java imports="java.util.*, java.io.*, edu.nps.moves.disenum.*, edu.nps.moves.disutil.*"
package="edu.nps.moves.dis"
directory="src/main/java/edu/nps/moves/dis"/>
<!--PES added for C# support-->
<csharp using="System, System.Collections.Generic, System.Text, System.Diagnostics, System.Xml.Serialization, DISnet.DataStreamUtilities"
namespace="DIS1998net"
directory="CSharp/DIS"/>
<cpp namespace="DIS"
directory="cpp/DIS"/>
<objc directory="Objc"/>
<javascript namespace="dis" directory="javascript"/>
<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="UnsignedIntegerWrapper" inheritsFrom="root"
comment="Wrapper for an unsigned 32 bit integer">
<attribute name="wrapper" comment="name can't be too accurate or the generated source code will have reserved word problems">
<primitive type="unsigned int" 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="elevationBeamwidth" comment="The full width of the beam to the –3 dB power density points in the x-z plane of the beam coordinate system. Elevation beamwidth shall be 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="harmonicOrder" comment="The highest order of the expansion in spherical harmonics, counting
from zero. There are 2n+1 coefficients for each order n, and a total of N^2 + 2N + 1 coefficients
through order N. note that order by itself is a sql reserved word">
<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="spec" comment="specific info based on subcategory field. Renamed from specific because that is a reserved word in SQL">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="extra">
<primitive type="unsigned byte"/>
</attribute>
</class>
<class name="ObjectType" inheritsFrom="root" comment="Identifies type of object. This is a shorter version of EntityType
that omits the specific and extra fields.">
<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>
</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="site" comment="The site ID">
<primitive type="unsigned short"/>
</attribute>
<attribute name="application" comment="The application 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="pulseWidth" 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="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="EntityType"/>
</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, in bits. Note that this is not programmatically tied to the size of the variableData. The variable data field may be 64 bits long but only 16 bits of it could actually be used.">
<primitive type="unsigned int"/>
</attribute>
<attribute name="variableData" comment="data can be any length, but must increase in 8 byte quanta. This requires some postprocessing patches. Note that setting the data allocates a new internal array to account for the possibly increased size. The default initial size is 64 bits.">
<variablelist countFieldName="variableDatumLength">
<classRef name="OneByteChunk"/>
</variablelist>
</attribute>
</class>
<class name="AcousticEmitter" inheritsFrom="root" comment="Section 5.2.35. information about a specific UA emmtter">
<attribute name="acousticName" comment="the system for a particular UA emitter, and an enumeration">
<primitive type="unsigned short"/>
</attribute>
<attribute name="function" comment="The function of the acoustic system">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="acousticIdNumber" comment="The UA emitter identification number relative to a specific system">
<primitive type="unsigned byte"/>
</attribute>
</class>
<class name="TrackJamTarget" inheritsFrom="root" comment="One track/jam target">
<attribute name="trackJam" comment="track/jam target">
<classRef name="EntityID"/>
</attribute>
<attribute name="emitterID" comment="Emitter ID">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="beamID" comment="beam ID">
<primitive type="unsigned byte"/>
</attribute>
</class>
<class name="ElectronicEmissionBeamData" inheritsFrom="root" comment="Description of one electronic emission beam">
<attribute name="beamDataLength" comment="This field shall specify the length of this beams data in 32 bit words">
<primitive type= "unsigned byte"/>
</attribute>
<attribute name="beamIDNumber" comment="This field shall specify a unique emitter database number assigned to differentiate between otherwise similar or identical emitter beams within an emitter system.">
<primitive type= "unsigned byte"/>
</attribute>
<attribute name="beamParameterIndex" comment="This field shall specify a Beam Parameter Index number that shall be used by receiving entities in conjunction with the Emitter Name field to provide a pointer to the stored database parameters required to regenerate the beam. ">
<primitive type= "unsigned short"/>
</attribute>
<attribute name="fundamentalParameterData" comment="Fundamental parameter data such as frequency range, beam sweep, etc.">
<classRef name="FundamentalParameterData"/>
</attribute>
<attribute name="beamFunction" comment="beam function of a particular beam">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="numberOfTrackJamTargets" comment="Number of track/jam targets">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="highDensityTrackJam" comment="wheher or not the receiving simulation apps can assume all the targets in the scan pattern are being tracked/jammed">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="pad4" comment="padding">
<primitive type="unsigned byte" defaultValue="0"/>
</attribute>
<attribute name="jammingModeSequence" comment="identify jamming techniques used">
<primitive type="unsigned int"/>
</attribute>
<attribute name="trackJamTargets" comment="variable length variablelist of track/jam targets">
<variablelist countFieldName="numberOfTrackJamTargets">
<classRef name="TrackJamTarget"/>
</variablelist>
</attribute>
</class>
<class name="ElectronicEmissionSystemData" inheritsFrom="root" comment="Data about one electronic system">
<attribute name="systemDataLength" comment="This field shall specify the length of this emitter system�s data (including beam data and its track/jam information) in 32-bit words. The length shall include the System Data Length field. ">
<primitive type= "unsigned byte"/>
</attribute>
<attribute name="numberOfBeams" comment="This field shall specify the number of beams being described in the current PDU for the system being described. ">
<primitive type= "unsigned byte"/>
</attribute>
<attribute name="emissionsPadding2" comment="padding.">
<primitive type= "unsigned short" defaultValue="0"/>
</attribute>
<attribute name="emitterSystem" comment="This field shall specify information about a particular emitter system">
<classRef name="EmitterSystem"/>
</attribute>
<attribute name="location" comment="Location with respect to the entity">
<classRef name="Vector3Float"/>
</attribute>
<attribute name="beamDataRecords" comment="variable length variablelist of beam data records">
<variablelist countFieldName="numberOfBeams">
<classRef name="ElectronicEmissionBeamData"/>
</variablelist>
</attribute>
</class>
<class name="AggregateID" inheritsFrom="root" comment="Section 5.2.36. Each agregate in a given simulation app is given an aggregate identifier number unique for all other aggregates in that app and in that exercise. The id is valid for the duration of the the exercise.">
<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="aggregateID" comment="the aggregate ID">
<primitive type="unsigned short"/>
</attribute>
</class>
<class name="Marking" inheritsFrom="root"
comment="Section 5.2.15. Specifies the character set used inthe first byte, followed by 11 characters of text data.">
<attribute name="characterSet" comment="The character set">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="characters" comment="The characters">
<fixedlist length="11" couldBeString="true">
<primitive type="byte"/>
</fixedlist>
</attribute>
</class>
<class name="AggregateMarking" inheritsFrom="root"
comment="Section 5.2.37. Specifies the character set used inthe first byte, followed by up to 31 characters of text data.">
<attribute name="characterSet" comment="The character set">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="characters" comment="The characters">
<fixedlist length="31">
<primitive type="byte"/>
</fixedlist>
</attribute>
</class>
<class name="AggregateType" inheritsFrom="root" comment="Section 5.2.38. Identifies the type of aggregate including kind of entity, domain (surface, subsurface, air, etc) country, category, etc.">
<attribute name="aggregateKind" 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="specificInfo" comment="specific info based on subcategory field, sql has a reserved word for specific">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="extra">
<primitive type="unsigned byte"/>
</attribute>
</class>
<class name="BeamData" inheritsFrom="root" comment="Section 5.2.39. Specification of the data necessary to
describe the scan volume of an emitter.">
<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="Environment" inheritsFrom="root"
comment="Section 5.2.40. Information about a geometry, a state associated with a geometry, a bounding
volume, or an associated entity ID. NOTE: this class requires hand coding.">
<attribute name="environmentType" comment="Record type">
<primitive type="unsigned int"/>
</attribute>
<attribute name="length" comment="length, in bits">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="recordIndex" comment="Identify the sequentially numbered record index">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="padding1" comment="padding">
<primitive type="unsigned byte" initialValue="0"/>
</attribute>
<attribute name="geometry" comment="Geometry or state record">
<primitive type="unsigned byte" initialValue="0"/>
</attribute>
<attribute name="padding2" comment="padding to bring the total size up to a 64 bit boundry">
<primitive type="unsigned byte" initialValue="0"/>
</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="ShaftRPMs" inheritsFrom="root" comment="Shaft RPMs, used in underwater acoustic clacluations.">
<attribute name="currentShaftRPMs" comment = "Current shaft RPMs">
<primitive type="short"/>
</attribute>
<attribute name="orderedShaftRPMs" comment="ordered shaft rpms">
<primitive type="short"/>
</attribute>
<attribute name="shaftRPMRateOfChange" comment="rate of change of shaft RPMs">
<primitive type="float"/>
</attribute>
</class>
<class name="PropulsionSystemData" inheritsFrom="root" comment="Data about a propulsion system">
<attribute name="powerSetting" comment="powerSetting">
<primitive type="float"/>
</attribute>
<attribute name="engineRpm" comment="engine RPMs">
<primitive type="float"/>
</attribute>
</class>
<class name="VectoringNozzleSystemData" inheritsFrom="root" comment="Data about a vectoring nozzle system">
<attribute name="horizontalDeflectionAngle" comment="horizontal deflection angle">
<primitive type="float"/>
</attribute>
<attribute name="verticalDeflectionAngle" comment="vertical deflection angle">
<primitive type="float"/>
</attribute>
</class>
<class name="AcousticEmitterSystem" inheritsFrom="root" comment="5.3.35: Information about a particular UA emitter shall be represented using an Acoustic Emitter System record. This record shall consist of three fields: Acoustic Name, Function, and Acoustic ID Number">
<attribute name="acousticName" comment="This field shall specify the system for a particular UA emitter.">
<primitive type="unsigned short"/>
</attribute>
<attribute name="acousticFunction" comment="This field shall describe the function of the acoustic system. ">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="acousticID" comment="This field shall specify the UA emitter identification number relative to a specific system. This field shall be represented by an 8-bit unsigned integer. This field allows the differentiation of multiple systems on an entity, even if in some instances two or more of the systems may be identical UA emitter types. Numbering of systems shall begin with the value 1. ">
<primitive type="unsigned byte"/>
</attribute>
</class>
<class name="AcousticEmitterSystemData" inheritsFrom="root" comment="Used in the UA pdu; ties together an emmitter and a location. This requires manual cleanup; the beam data should not be attached to each emitter system.">
<attribute name="emitterSystemDataLength" comment="Length of emitter system data">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="numberOfBeams" comment="Number of beams">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="pad2" comment="padding">
<primitive type="unsigned short"/>
</attribute>
<attribute name="acousticEmitterSystem" comment="This field shall specify the system for a particular UA emitter.">
<classRef name="AcousticEmitterSystem"/>
</attribute>
<attribute name="emitterLocation" comment="Represents the location wrt the entity">
<classRef name="Vector3Float"/>
</attribute>
<attribute name="beamRecords" comment="For each beam in numberOfBeams, an emitter system. This is not right--the beam records need to be at the end of the PDU, rather than attached to each system.">
<variablelist countFieldName="numberOfBeams">
<classRef name="AcousticBeamData"/>
</variablelist>
</attribute>
</class>
<class name="AcousticBeamData" inheritsFrom="root" comment="Used in UA PDU">
<attribute name="beamDataLength" comment="beam data length">
<primitive type="unsigned short"/>
</attribute>
<attribute name="beamIDNumber" comment="beamIDNumber">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="pad2" comment="padding">
<primitive type="unsigned short"/>
</attribute>
<attribute name="fundamentalDataParameters" comment="fundamental data parameters">
<classRef name="AcousticBeamFundamentalParameter"/>
</attribute>
</class>
<class name="AcousticBeamFundamentalParameter" inheritsFrom="root" comment="Used in UaPdu">
<attribute name="activeEmissionParameterIndex" comment="parameter index">
<primitive type="unsigned short"/>
</attribute>
<attribute name="scanPattern" comment="scan pattern">
<primitive type="unsigned short"/>
</attribute>
<attribute name="beamCenterAzimuth" comment="beam center azimuth">
<primitive type="float"/>
</attribute>
<attribute name="azimuthalBeamwidth" comment="azimuthal beamwidth">
<primitive type="float"/>
</attribute>
<attribute name="beamCenterDE" comment="beam center">
<primitive type="float"/>
</attribute>
<attribute name="deBeamwidth" comment="DE beamwidth (vertical beamwidth)">
<primitive type="float"/>
</attribute>
</class>
<class name="ApaData" inheritsFrom="root" comment="Used in UA PDU">
<attribute name="parameterIndex" comment="Index of APA parameter">
<primitive type="unsigned short"/>
</attribute>
<attribute name="parameterValue" comment="Index of APA parameter">
<primitive type="short"/>
</attribute>
</class>
<class name="IffFundamentalData" inheritsFrom="root" comment="5.2.42. Basic operational data ofr IFF ATC NAVAIDS">
<attribute name="systemStatus" comment="system status">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="alternateParameter4" comment="Alternate parameter 4">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="informationLayers" comment="eight boolean fields">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="modifier" comment="enumeration">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="parameter1" comment="parameter, enumeration">
<primitive type="unsigned short"/>
</attribute>
<attribute name="parameter2" comment="parameter, enumeration">
<primitive type="unsigned short"/>
</attribute>
<attribute name="parameter3" comment="parameter, enumeration">
<primitive type="unsigned short"/>
</attribute>
<attribute name="parameter4" comment="parameter, enumeration">
<primitive type="unsigned short"/>
</attribute>
<attribute name="parameter5" comment="parameter, enumeration">
<primitive type="unsigned short"/>
</attribute>
<attribute name="parameter6" comment="parameter, enumeration">
<primitive type="unsigned short"/>
</attribute>
</class>
<class name="IntercomCommunicationsParameters" inheritsFrom="root" comment="5.2.46. Intercom communcations parameters">
<attribute name="recordType" comment="Type of intercom parameters record">
<primitive type="unsigned short"/>
</attribute>
<attribute name="recordLength" comment="length of record-specifid field, in octets">
<primitive type="unsigned short"/>
</attribute>
<attribute name="parameterValues" comment="variable length variablelist of data parameters ">
<variablelist countFieldName="recordLength">
<classRef name="OneByteChunk"/>
</variablelist>
</attribute>
</class>
<class name="LayerHeader" inheritsFrom="root" comment="5.2.47. Layer header.">
<attribute name="layerNumber" comment="Layer number">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="layerSpecificInformaiton" comment="Layer speccific information enumeration">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="length" comment="information length">
<primitive type="unsigned short"/>
</attribute>
</class>
<class name="SystemID" inheritsFrom="root" comment="5.2.58. Used in IFF ATC PDU">
<attribute name="systemType" comment="System Type">
<primitive type="unsigned short"/>
</attribute>
<attribute name="systemName" comment="System name, an enumeration">
<primitive type="unsigned short"/>
</attribute>
<attribute name="systemMode" comment="System mode">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="changeOptions" comment="Change Options">
<primitive type="unsigned byte"/>
</attribute>
</class>
<class name="FundamentalParameterDataIff" inheritsFrom="root" comment="5.2.45. Fundamental IFF atc data">
<attribute name="erp" comment="ERP">
<primitive type="float"/>
</attribute>
<attribute name="frequency" comment="frequency">
<primitive type="float"/>
</attribute>
<attribute name="pgrf" comment="pgrf">
<primitive type="float"/>
</attribute>
<attribute name="pulseWidth" comment="Pulse width">
<primitive type="float"/>
</attribute>
<attribute name="burstLength" comment="Burst length">
<primitive type="unsigned int"/>