VR-Link API Documentation for HLA 1516
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vl
packets
iffAtcNavP.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
*******************************************************************************/
5
6
7
#ifndef _iffAtcNavP_h_
8
#define _iffAtcNavP_h_ 1
9
13
14
15
16
#include <
vlpi/netStructs.h
>
17
#include <
vl/eventId.h
>
18
#include "
pduHeader.h
"
19
22
23
struct
DtNetIffAtcNavaidsSystemID
24
{
25
DtNetU16
myType
;
26
DtNetU16
myName
;
27
DtNetU8
myMode
;
28
DtNetU8
myChangeOptions
;
29
};
30
31
struct
DtNetIffAtcNavaidsOperational
32
{
33
DtNetU8
myStatus
;
34
DtNetU8
myAltParameter4
;
35
DtNetU8
myLayers
;
36
DtNetU8
myModifier
;
37
DtNetU16
myParameter
[6];
38
};
39
40
struct
DtNetIffAtcNavaidsLayerHeader
41
{
42
DtNetU8
myLayerNumber
;
43
DtNetU8
myLayerInfo
;
44
DtNetU16
myLayerLength
;
45
};
46
47
struct
DtNetIffAtcNavaidsBeamData
48
{
49
DtNetFloat32
myAzimuthCenter
;
50
DtNetFloat32
myAzimuthSweep
;
51
DtNetFloat32
myElevationCenter
;
52
DtNetFloat32
myElevationSweep
;
53
DtNetFloat32
mySweepSync
;
54
};
55
56
struct
DtNetIffAtcNavaidsSecondOperational
57
{
58
DtNetU8
myParameter1
;
59
DtNetU8
myParameter2
;
60
DtNetU16
myNumParameterSets
;
61
};
62
63
struct
DtNetIffAtcNavaidsParameter
64
{
65
DtNetFloat32
myERP
;
66
DtNetFloat32
myFrequency
;
67
DtNetFloat32
myPgRF
;
68
DtNetFloat32
myPulseWidth
;
69
DtNetU32
myBurstLength
;
70
DtNetU8
myApplicableModes
;
71
DtNetU8
padding
;
72
DtNetU8
padding1
;
73
DtNetU8
padding2
;
74
};
75
76
struct
DtNetIffAtcNavaidsPduLayer1
77
{
78
DtNetPduHeader
myHeader
;
79
DtNetEntityIdentifier
myEmittingEntityID
;
80
DtNetEventId
myEventID
;
81
DtNet32Vector
myLocation
;
82
DtNetIffAtcNavaidsSystemID
mySystemID
;
83
DtNetU8
mySystemDesignator
;
84
DtNetU8
mySystemSpecificData
;
85
DtNetIffAtcNavaidsOperational
myOperational
;
86
};
87
88
struct
DtNetIffAtcNavaidsPduLayer2
89
{
90
DtNetIffAtcNavaidsLayerHeader
myLayerHeader
;
91
DtNetIffAtcNavaidsBeamData
myBeamData
;
92
DtNetIffAtcNavaidsSecondOperational
mySecondOperational
;
93
};
94
95
typedef
DtNetIffAtcNavaidsPduLayer1
DtNetIffAtcNavaidsPdu
;
96
97
// Every structure below this line is represented in DIS 7 (Evolved) or later only.
98
99
// see B.2.26 in DIS Standard
100
struct
DtNetIffAtcNavaidsMode5Interrogator
101
{
102
DtNetU8
myMode5Status
;
103
DtNetU8
padding
;
104
DtNetU16
padding1
;
105
DtNetU32
myMessageFormatsPresent
;
106
DtNetEntityIdentifier
myInterrogatedEntityID
;
107
DtNetU16
padding2
;
108
};
109
110
// see B.2.29 in DIS Standard
111
struct
DtNetIffAtcNavaidsMode5Transponder
112
{
113
DtNetU16
myMode5Status
;
114
DtNetU16
myPIN
;
115
DtNetU32
myMessageFormatsPresent
;
116
DtNetU16
myEnhancedMode1
;
117
DtNetU16
myNationalOrigin
;
118
DtNetU8
mySupplementalData
;
119
DtNetU8
myNavigationSource
;
//see [UID 359].
120
DtNetU8
myFigureOfMerit
;
121
DtNetU8
padding
;
122
};
123
124
// see B.2.37 in DIS Standard
125
struct
DtNetIffAtcNavaidsModeSInterrogator
126
{
127
DtNetU8
myModeSStatus
;
128
DtNetU16
padding
;
129
DtNetU8
myModeSLevelsPresent
;
130
DtNetU16
padding1
;
131
DtNetU32
padding2
[5];
132
};
133
134
// see B.2.41 in DIS Standard
135
struct
DtNetIffAtcNavaidsModeSTransponder
136
{
137
DtNetU16
myModeSStatus
;
138
DtNetU8
myModeSLevelsPresent
;
139
DtNetU8
myAircraftPresentDomain
;
140
DtNetU8
myAircraftID
[8];
141
DtNetU32
myAircraftAddress
;
142
DtNetU8
myAircraftIDType
;
//see [UID 357]
143
DtNetU8
myDAPSource
;
144
DtNetU16
myModeSAltitude
;
145
DtNetU8
myCapabilityReport
;
//see [UID 358]
146
DtNetU8
padding
;
147
DtNetU16
padding1
;
148
};
149
150
//TODO See B2.1.1 For IFF Data Record List.
151
// OR Alternatively Work off the generic variable record stuff that Shagoto wrote
152
153
struct
DtNetIffAtcNavaidsIFFDataRecord
154
{
155
DtNetU32
myRecordType
;
156
DtNetU16
myRecordLength
;
157
};
158
159
struct
DtNetIffAtcNavaidsPduLayer
160
{
161
DtNetIffAtcNavaidsLayerHeader
myLayerHeader
;
162
DtNetFederateId
myReportingSimulation
;
163
};
164
165
struct
DtNetIffAtcNavaidsPduLayer3Interrogator
:
DtNetIffAtcNavaidsPduLayer
166
{
167
DtNetIffAtcNavaidsMode5Interrogator
myMode5Data
;
168
DtNetU16
padding
;
169
DtNetU16
myNumParameterSets
;
170
};
171
172
struct
DtNetIffAtcNavaidsPduLayer3Transponder
:
DtNetIffAtcNavaidsPduLayer
173
{
174
DtNetIffAtcNavaidsMode5Transponder
myMode5Data
;
175
DtNetU16
padding
;
176
DtNetU16
myNumParameterSets
;
177
};
178
179
180
struct
DtNetIffAtcNavaidsPduLayer4Interrogator
:
DtNetIffAtcNavaidsPduLayer
181
{
182
DtNetIffAtcNavaidsModeSInterrogator
myModeSData
;
183
DtNetU16
padding
;
184
DtNetU16
myNumParameterSets
;
185
};
186
187
struct
DtNetIffAtcNavaidsPduLayer4Transponder
:
DtNetIffAtcNavaidsPduLayer
188
{
189
DtNetIffAtcNavaidsModeSTransponder
myModeSData
;
190
DtNetU16
padding
;
191
DtNetU16
myNumParameterSets
;
192
};
193
194
195
struct
DtNetIffAtcNavaidsPduLayer5
:
DtNetIffAtcNavaidsPduLayer
196
{
197
DtNetU16
padding
;
198
DtNetU8
myLayers
;
199
DtNetU8
myDataCategory
;
200
DtNetU16
padding1
;
201
DtNetU16
myNumParameterSets
;
202
};
203
204
205
#endif
206
207
Document ID: Generated on Wed Jan 7 13:31:29 EST 2015 from SVN revision 149162
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)