VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
runwayEncoderHLA.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2023 MAK Technologies, Inc
3  * All rights reserved.
4  ****************************************************************************/
5 
8 
9 #pragma once
10 
11 #if DtHLA
12 
13 #include <vl/hlaStateEncoder.h>
14 
15 
17 
22 class DT_DLL_VL DtRunwayEncoder : public DtHlaStateEncoder
23 {
24 public:
25 
28  DtExerciseConn* exConn,
29  DtObjClassDesc* classDesc);
30 
32  virtual ~DtRunwayEncoder();
33 
35  DtRunwayEncoder(const DtRunwayEncoder& orig);
36 
38  DtRunwayEncoder& operator=(const DtRunwayEncoder& orig);
39 
40 public:
42  static DtHlaStateEncoder* create(
43  DtExerciseConn* exConn,
44  DtObjClassDesc* classDesc);
45 
46 protected:
47 
50  static bool needUniqueId(
51  const DtRunwayStateRepository& stateRep,
52  const DtRunwayStateRepository& asSeenByRemote);
53 
55  static void encodeUniqueId(
56  const DtRunwayStateRepository& rep,
57  RTI::AttributeHandleValuePairSet* attrs,
58  RTI::AttributeHandle attrHandle);
59 
62  static bool needAerodromeId(
63  const DtRunwayStateRepository& stateRep,
64  const DtRunwayStateRepository& asSeenByRemote);
65 
67  static void encodeAerodromeId(
68  const DtRunwayStateRepository& rep,
69  RTI::AttributeHandleValuePairSet* attrs,
70  RTI::AttributeHandle attrHandle);
71 
74  static bool needDamaged(
75  const DtRunwayStateRepository& stateRep,
76  const DtRunwayStateRepository& asSeenByRemote);
77 
79  static void encodeDamaged(
80  const DtRunwayStateRepository& rep,
81  RTI::AttributeHandleValuePairSet* attrs,
82  RTI::AttributeHandle attrHandle);
83 
86  static bool needCondition(
87  const DtRunwayStateRepository& stateRep,
88  const DtRunwayStateRepository& asSeenByRemote);
89 
91  static void encodeCondition(
92  const DtRunwayStateRepository& rep,
93  RTI::AttributeHandleValuePairSet* attrs,
94  RTI::AttributeHandle attrHandle);
95 
98  static bool needRunway1Name(
99  const DtRunwayStateRepository& stateRep,
100  const DtRunwayStateRepository& asSeenByRemote);
101 
103  static void encodeRunway1Name(
104  const DtRunwayStateRepository& rep,
105  RTI::AttributeHandleValuePairSet* attrs,
106  RTI::AttributeHandle attrHandle);
107 
110  static bool needRunway2Name(
111  const DtRunwayStateRepository& stateRep,
112  const DtRunwayStateRepository& asSeenByRemote);
113 
115  static void encodeRunway2Name(
116  const DtRunwayStateRepository& rep,
117  RTI::AttributeHandleValuePairSet* attrs,
118  RTI::AttributeHandle attrHandle);
119 
122  static bool needRunway1Active(
123  const DtRunwayStateRepository& stateRep,
124  const DtRunwayStateRepository& asSeenByRemote);
125 
127  static void encodeRunway1Active(
128  const DtRunwayStateRepository& rep,
129  RTI::AttributeHandleValuePairSet* attrs,
130  RTI::AttributeHandle attrHandle);
131 
134  static bool needRunway2Active(
135  const DtRunwayStateRepository& stateRep,
136  const DtRunwayStateRepository& asSeenByRemote);
137 
139  static void encodeRunway2Active(
140  const DtRunwayStateRepository& rep,
141  RTI::AttributeHandleValuePairSet* attrs,
142  RTI::AttributeHandle attrHandle);
143 
146  static bool needRunway1CenterLineLight(
147  const DtRunwayStateRepository& stateRep,
148  const DtRunwayStateRepository& asSeenByRemote);
149 
151  static void encodeRunway1CenterLineLight(
152  const DtRunwayStateRepository& rep,
153  RTI::AttributeHandleValuePairSet* attrs,
154  RTI::AttributeHandle attrHandle);
155 
158  static bool needRunway2CenterLineLight(
159  const DtRunwayStateRepository& stateRep,
160  const DtRunwayStateRepository& asSeenByRemote);
161 
163  static void encodeRunway2CenterLineLight(
164  const DtRunwayStateRepository& rep,
165  RTI::AttributeHandleValuePairSet* attrs,
166  RTI::AttributeHandle attrHandle);
167 
170  static bool needRunway1DistanceToGoLight(
171  const DtRunwayStateRepository& stateRep,
172  const DtRunwayStateRepository& asSeenByRemote);
173 
175  static void encodeRunway1DistanceToGoLight(
176  const DtRunwayStateRepository& rep,
177  RTI::AttributeHandleValuePairSet* attrs,
178  RTI::AttributeHandle attrHandle);
179 
182  static bool needRunway2DistanceToGoLight(
183  const DtRunwayStateRepository& stateRep,
184  const DtRunwayStateRepository& asSeenByRemote);
185 
187  static void encodeRunway2DistanceToGoLight(
188  const DtRunwayStateRepository& rep,
189  RTI::AttributeHandleValuePairSet* attrs,
190  RTI::AttributeHandle attrHandle);
191 
194  static bool needRunway1EdgeLight(
195  const DtRunwayStateRepository& stateRep,
196  const DtRunwayStateRepository& asSeenByRemote);
197 
199  static void encodeRunway1EdgeLight(
200  const DtRunwayStateRepository& rep,
201  RTI::AttributeHandleValuePairSet* attrs,
202  RTI::AttributeHandle attrHandle);
203 
206  static bool needRunway2EdgeLight(
207  const DtRunwayStateRepository& stateRep,
208  const DtRunwayStateRepository& asSeenByRemote);
209 
211  static void encodeRunway2EdgeLight(
212  const DtRunwayStateRepository& rep,
213  RTI::AttributeHandleValuePairSet* attrs,
214  RTI::AttributeHandle attrHandle);
215 
218  static bool needRunway1DisplacedThresholdLight(
219  const DtRunwayStateRepository& stateRep,
220  const DtRunwayStateRepository& asSeenByRemote);
221 
223  static void encodeRunway1DisplacedThresholdLight(
224  const DtRunwayStateRepository& rep,
225  RTI::AttributeHandleValuePairSet* attrs,
226  RTI::AttributeHandle attrHandle);
227 
230  static bool needRunway2DisplacedThresholdLight(
231  const DtRunwayStateRepository& stateRep,
232  const DtRunwayStateRepository& asSeenByRemote);
233 
235  static void encodeRunway2DisplacedThresholdLight(
236  const DtRunwayStateRepository& rep,
237  RTI::AttributeHandleValuePairSet* attrs,
238  RTI::AttributeHandle attrHandle);
239 
242  static bool needRunway1EndLight(
243  const DtRunwayStateRepository& stateRep,
244  const DtRunwayStateRepository& asSeenByRemote);
245 
247  static void encodeRunway1EndLight(
248  const DtRunwayStateRepository& rep,
249  RTI::AttributeHandleValuePairSet* attrs,
250  RTI::AttributeHandle attrHandle);
251 
254  static bool needRunway2EndLight(
255  const DtRunwayStateRepository& stateRep,
256  const DtRunwayStateRepository& asSeenByRemote);
257 
259  static void encodeRunway2EndLight(
260  const DtRunwayStateRepository& rep,
261  RTI::AttributeHandleValuePairSet* attrs,
262  RTI::AttributeHandle attrHandle);
263 
266  static bool needRunway1TouchDownZoneLight(
267  const DtRunwayStateRepository& stateRep,
268  const DtRunwayStateRepository& asSeenByRemote);
269 
271  static void encodeRunway1TouchDownZoneLight(
272  const DtRunwayStateRepository& rep,
273  RTI::AttributeHandleValuePairSet* attrs,
274  RTI::AttributeHandle attrHandle);
275 
278  static bool needRunway2TouchDownZoneLight(
279  const DtRunwayStateRepository& stateRep,
280  const DtRunwayStateRepository& asSeenByRemote);
281 
283  static void encodeRunway2TouchDownZoneLight(
284  const DtRunwayStateRepository& rep,
285  RTI::AttributeHandleValuePairSet* attrs,
286  RTI::AttributeHandle attrHandle);
287 
290  static bool needRunway1ThresholdLightingLight(
291  const DtRunwayStateRepository& stateRep,
292  const DtRunwayStateRepository& asSeenByRemote);
293 
295  static void encodeRunway1ThresholdLightingLight(
296  const DtRunwayStateRepository& rep,
297  RTI::AttributeHandleValuePairSet* attrs,
298  RTI::AttributeHandle attrHandle);
299 
302  static bool needRunway2ThresholdLightingLight(
303  const DtRunwayStateRepository& stateRep,
304  const DtRunwayStateRepository& asSeenByRemote);
305 
307  static void encodeRunway2ThresholdLightingLight(
308  const DtRunwayStateRepository& rep,
309  RTI::AttributeHandleValuePairSet* attrs,
310  RTI::AttributeHandle attrHandle);
311 
314  static bool needRunway1RunwayEndIndicatorLight(
315  const DtRunwayStateRepository& stateRep,
316  const DtRunwayStateRepository& asSeenByRemote);
317 
319  static void encodeRunway1RunwayEndIndicatorLight(
320  const DtRunwayStateRepository& rep,
321  RTI::AttributeHandleValuePairSet* attrs,
322  RTI::AttributeHandle attrHandle);
323 
326  static bool needRunway2RunwayEndIndicatorLight(
327  const DtRunwayStateRepository& stateRep,
328  const DtRunwayStateRepository& asSeenByRemote);
329 
331  static void encodeRunway2RunwayEndIndicatorLight(
332  const DtRunwayStateRepository& rep,
333  RTI::AttributeHandleValuePairSet* attrs,
334  RTI::AttributeHandle attrHandle);
335 
338  static bool needRunway1ApproachLight(
339  const DtRunwayStateRepository& stateRep,
340  const DtRunwayStateRepository& asSeenByRemote);
341 
343  static void encodeRunway1ApproachLight(
344  const DtRunwayStateRepository& rep,
345  RTI::AttributeHandleValuePairSet* attrs,
346  RTI::AttributeHandle attrHandle);
347 
350  static bool needRunway2ApproachLight(
351  const DtRunwayStateRepository& stateRep,
352  const DtRunwayStateRepository& asSeenByRemote);
353 
355  static void encodeRunway2ApproachLight(
356  const DtRunwayStateRepository& rep,
357  RTI::AttributeHandleValuePairSet* attrs,
358  RTI::AttributeHandle attrHandle);
359 
362  static bool needRunway1VGSILight(
363  const DtRunwayStateRepository& stateRep,
364  const DtRunwayStateRepository& asSeenByRemote);
365 
367  static void encodeRunway1VGSILight(
368  const DtRunwayStateRepository& rep,
369  RTI::AttributeHandleValuePairSet* attrs,
370  RTI::AttributeHandle attrHandle);
371 
374  static bool needRunway2VGSILight(
375  const DtRunwayStateRepository& stateRep,
376  const DtRunwayStateRepository& asSeenByRemote);
377 
379  static void encodeRunway2VGSILight(
380  const DtRunwayStateRepository& rep,
381  RTI::AttributeHandleValuePairSet* attrs,
382  RTI::AttributeHandle attrHandle);
383 
386  static bool needRunwayGuardLight(
387  const DtRunwayStateRepository& stateRep,
388  const DtRunwayStateRepository& asSeenByRemote);
389 
391  static void encodeRunwayGuardLight(
392  const DtRunwayStateRepository& rep,
393  RTI::AttributeHandleValuePairSet* attrs,
394  RTI::AttributeHandle attrHandle);
395 
398  static bool needRunway1RapidExitTaxiwayLight(
399  const DtRunwayStateRepository& stateRep,
400  const DtRunwayStateRepository& asSeenByRemote);
401 
403  static void encodeRunway1RapidExitTaxiwayLight(
404  const DtRunwayStateRepository& rep,
405  RTI::AttributeHandleValuePairSet* attrs,
406  RTI::AttributeHandle attrHandle);
407 
410  static bool needRunway2RapidExitTaxiwayLight(
411  const DtRunwayStateRepository& stateRep,
412  const DtRunwayStateRepository& asSeenByRemote);
413 
415  static void encodeRunway2RapidExitTaxiwayLight(
416  const DtRunwayStateRepository& rep,
417  RTI::AttributeHandleValuePairSet* attrs,
418  RTI::AttributeHandle attrHandle);
419 
422  static bool needRunway1RunwayExitLight(
423  const DtRunwayStateRepository& stateRep,
424  const DtRunwayStateRepository& asSeenByRemote);
425 
427  static void encodeRunway1RunwayExitLight(
428  const DtRunwayStateRepository& rep,
429  RTI::AttributeHandleValuePairSet* attrs,
430  RTI::AttributeHandle attrHandle);
431 
434  static bool needRunway2RunwayExitLight(
435  const DtRunwayStateRepository& stateRep,
436  const DtRunwayStateRepository& asSeenByRemote);
437 
439  static void encodeRunway2RunwayExitLight(
440  const DtRunwayStateRepository& rep,
441  RTI::AttributeHandleValuePairSet* attrs,
442  RTI::AttributeHandle attrHandle);
443 
446  static bool needRunway1TaxiwayLeadOnLight(
447  const DtRunwayStateRepository& stateRep,
448  const DtRunwayStateRepository& asSeenByRemote);
449 
451  static void encodeRunway1TaxiwayLeadOnLight(
452  const DtRunwayStateRepository& rep,
453  RTI::AttributeHandleValuePairSet* attrs,
454  RTI::AttributeHandle attrHandle);
455 
458  static bool needRunway2TaxiwayLeadOnLight(
459  const DtRunwayStateRepository& stateRep,
460  const DtRunwayStateRepository& asSeenByRemote);
461 
463  static void encodeRunway2TaxiwayLeadOnLight(
464  const DtRunwayStateRepository& rep,
465  RTI::AttributeHandleValuePairSet* attrs,
466  RTI::AttributeHandle attrHandle);
467 
470  static bool needRunway1TaxiwayStopBarLight(
471  const DtRunwayStateRepository& stateRep,
472  const DtRunwayStateRepository& asSeenByRemote);
473 
475  static void encodeRunway1TaxiwayStopBarLight(
476  const DtRunwayStateRepository& rep,
477  RTI::AttributeHandleValuePairSet* attrs,
478  RTI::AttributeHandle attrHandle);
479 
482  static bool needRunway2TaxiwayStopBarLight(
483  const DtRunwayStateRepository& stateRep,
484  const DtRunwayStateRepository& asSeenByRemote);
485 
487  static void encodeRunway2TaxiwayStopBarLight(
488  const DtRunwayStateRepository& rep,
489  RTI::AttributeHandleValuePairSet* attrs,
490  RTI::AttributeHandle attrHandle);
491 
494  static bool needRunway1PrethresholdEdgeLight(
495  const DtRunwayStateRepository& stateRep,
496  const DtRunwayStateRepository& asSeenByRemote);
497 
499  static void encodeRunway1PrethresholdEdgeLight(
500  const DtRunwayStateRepository& rep,
501  RTI::AttributeHandleValuePairSet* attrs,
502  RTI::AttributeHandle attrHandle);
503 
506  static bool needRunway2PrethresholdEdgeLight(
507  const DtRunwayStateRepository& stateRep,
508  const DtRunwayStateRepository& asSeenByRemote);
509 
511  static void encodeRunway2PrethresholdEdgeLight(
512  const DtRunwayStateRepository& rep,
513  RTI::AttributeHandleValuePairSet* attrs,
514  RTI::AttributeHandle attrHandle);
515 
518  static bool needRunway1ArrestorGearUp(
519  const DtRunwayStateRepository& stateRep,
520  const DtRunwayStateRepository& asSeenByRemote);
521 
523  static void encodeRunway1ArrestorGearUp(
524  const DtRunwayStateRepository& rep,
525  RTI::AttributeHandleValuePairSet* attrs,
526  RTI::AttributeHandle attrHandle);
527 
530  static bool needRunway2ArrestorGearUp(
531  const DtRunwayStateRepository& stateRep,
532  const DtRunwayStateRepository& asSeenByRemote);
533 
535  static void encodeRunway2ArrestorGearUp(
536  const DtRunwayStateRepository& rep,
537  RTI::AttributeHandleValuePairSet* attrs,
538  RTI::AttributeHandle attrHandle);
539 
542  static bool needEndpoint1(
543  const DtRunwayStateRepository& stateRep,
544  const DtRunwayStateRepository& asSeenByRemote);
545 
547  static void encodeEndpoint1(
548  const DtRunwayStateRepository& rep,
549  RTI::AttributeHandleValuePairSet* attrs,
550  RTI::AttributeHandle attrHandle);
551 
554  static bool needEndpoint2(
555  const DtRunwayStateRepository& stateRep,
556  const DtRunwayStateRepository& asSeenByRemote);
557 
559  static void encodeEndpoint2(
560  const DtRunwayStateRepository& rep,
561  RTI::AttributeHandleValuePairSet* attrs,
562  RTI::AttributeHandle attrHandle);
563 
564 };
565 
566 
567 
568 #endif
Instances of DtExerciseConn are used to provide an application&#39;s interface or connection to the netwo...
Definition: exerciseConnDIS.h:62
Instances of DtRunwayEncoder encode data from DtAerodromeStateRepository objects to the net structure...
Definition: runwayEncoderDIS.h:26
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
This file contains the declaration of DtHlaStateEncoder.
Instances of DtRunwayStateRepository are used to store state data for runway objects.
Definition: runwayStateRepository.h:19

Document ID: Generated on Wed Mar 27 02:04:30 EDT 2024 from SVN revision 264570
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)