VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
reflectedAerodromeDIS.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 1992-2025 MAK Technologies, Inc
3  * All rights reserved.
4  ****************************************************************************/
5 
6 #pragma once
7 
8 #if DtDIS
9 
10 #include <vlutil/vlMachineTypes.h>
11 #include <vlutil/vlHashKeys.h>
12 #include <vl/reflectedObjectDIS.h>
14 #include <vl/aerodromePdu.h>
16 
17 class DtExerciseConn;
18 
20 class DtAerodomeDecoder;
22 
23 
24 typedef void (*DtAerodromeStateCallbackFunction)(
25  DtReflectedAerodrome* obj, void* userData);
26 
27 
29 {
30 public:
31 
33  typedef DtAerodromeStateRepository* (*DtStateRepCreator)();
34 
35 public:
36 
39 
41  virtual ~DtReflectedAerodrome();
42 
43 private:
46 
49 public:
50 
53  virtual DtAerodromeStateRepository* aerodromeStateRep() const;
54 
56  virtual DtAerodromeStateRepository* asr() const;
57 
61  virtual DtStateRepository* stateRep() const;
62 
65  virtual DtAerodomeDecoder* decoder();
66 
69  virtual const DtGlobalObjectDesignator& globalId() const;
70 
72  virtual DtReflectedAerodrome* next() const;
73  virtual DtReflectedAerodrome* prev() const;
74 
76  virtual DtReflectedAerodrome* wrapNext() const;
77  virtual DtReflectedAerodrome* wrapPrev() const;
78 
80  virtual void addPostUpdateCallback(
81  DtAerodromeStateCallbackFunction cb, void* userData);
82  virtual void removePostUpdateCallback(
83  DtAerodromeStateCallbackFunction cb, void* userData);
84 
86  virtual void setHashKey(const DtEntityIdentifier& uniqueVal);
87 
90  virtual const DtBaseHashKey& hashKey() const;
91 
93  virtual DtString idString() const;
94 
95 
97  virtual void processStateMessage(const DtStateMsg& msg);
98 
101  virtual void processAerodromeState(const DtAerodromePdu& pdu);
102 
104  virtual void runwayUpdated();
105 
106 public:
107 
109  static void setStateRepCreator(DtStateRepCreator creator);
110  static DtStateRepCreator stateRepCreator(void);
111 
112 protected:
113 
114  static DtStateRepCreator theStateRepCreator;
115  DtEntityIdentifierHashKey myHashKey;
117  DtAerodomeDecoder* myDecoder;
118 };
119 
120 
121 
122 #endif
Instances of DtEntityIdentifierHashKey are hash keys made from DtEntityIdentifiers.
Definition: entityIdentifierHashKey.h:21
DtHlaStateDecoder * myDecoder
Definition: reflectedObjectHLA.h:181
Instances of DtExerciseConn are used to provide an application&#39;s interface or connection to the netwo...
Definition: exerciseConnHLA.h:61
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
Contains the DtAerodromePdu class declaration.
DtBaseHashKey is an abstract base class for hash keys.
Definition: vlHashKeys.h:39
This file contains typedefs used to represent objects in a protocol neutral way.
virtual DtHlaStateDecoder * decoder()
Returns a pointer to the Decoder being used to decode state messages into our SR. ...
DtReflectedObject & operator=(const DtReflectedObject &orig)
assignment operator – Not Implemented
virtual DtStateRepository * stateRep() const
Returns a pointer to the StateRepository - through which you can inspect current state information...
Definition: reflectedObjectHLA.h:198
This file declares DtEntityIdentifierHashKey.
virtual const DtGlobalObjectDesignator & globalId() const
Get the HLA object&#39;s global object designator - the object name in HLA.
class DtReflectedObject:
Definition: reflectedObjectHLA.h:36
DtStateRepository is an abstract base class for maintaining state for an object.
Definition: stateRepository.h:50
Instances of DtEntityIdentifier are used as a unique ID for entities in DIS.
Definition: entityIdentifier.h:31
This file declares DtBaseHashKey.
DtStateRepository * myStateRep
Definition: reflectedObjectHLA.h:180
Instances of DtReflectedAerodrome are used to represent a simulated HLAobjectRoot.Aerodrome object reflected across a network.
Definition: reflectedAerodromeHLA.h:30
Instances of DtString are used to represent strings.
Definition: vlString.h:36
class DtStateMsg:
Definition: stateMsgHLA.h:32
This file contains typedefs for machine dependant types.
Instances of DtAerodromeStateRepository are used to store state data for Aerodrome objects...
Definition: aerodromeStateRepository.h:25

Document ID: Generated on Thu Oct 16 00:12:25 EDT 2025 from SVN revision 280738
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)