VR-Link API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
reflectedIffHLA.h
Go to the documentation of this file.
1 #ifndef DtReflectedIff_H_
2 #define DtReflectedIff_H_
3 
4 #if DtHLA
5 
6 #include "reflectedObjectHLA.h"
7 #include "iffStateRepository.h"
8 
13 
17 
30 
31 typedef void (*DtIffCallbackFunction)(DtReflectedIff* obj, void* userData);
32 
33 
43 {
44 public:
45 
47  typedef DtIffStateRepository* (*DtStateRepCreator)();
48 
49 public:
50 
53 
55  virtual ~DtReflectedIff();
56 
59  virtual DtIffStateRepository* iffStateRep() const;
60 
62  virtual DtIffStateRepository* isr() const;
63 
65  virtual DtIffStateRepository* iffRep() const;
66 
67 #if DtHLA
68  virtual void syncIffData(DtReflectedIFFData* data);
69  virtual void syncMode1(DtReflectedMode1* data);
70  virtual void syncMode2(DtReflectedMode2* data);
71  virtual void syncMode3A(DtReflectedMode3A* data);
72  virtual void syncMode3C(DtReflectedMode3C* data);
73  virtual void syncMode4(DtReflectedMode4* data);
74  virtual void syncMode5(DtReflectedMode5* data);
75  virtual void syncModeS(DtReflectedModeS* data);
76  virtual void syncTCASData(DtReflectedTCASData* data);
77  virtual void syncSoviet(DtReflectedSoviet* data);
78  virtual void syncRRB(DtReflectedRRB* data);
79 
80  virtual bool modeIsSynchronized(DtModeType modeType) const;
81  virtual bool enabledModesAreSynchronized() const;
82 #endif
83 
86  virtual DtReflectedIff* next() const;
87  virtual DtReflectedIff* prev() const;
88  virtual DtReflectedIff* wrapNext() const;
89  virtual DtReflectedIff* wrapPrev() const;
90 
92  virtual void addPostUpdateCallback(
93  DtIffCallbackFunction cb, void* userData);
94  virtual void removePostUpdateCallback(
95  DtIffCallbackFunction cb, void* userData);
96 
97 public:
98 
100  static DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
101 
102 protected:
103 
105  DtReflectedIff(const DtReflectedIff& orig);
106 
109 
110 protected:
111 
112  static DtStateRepCreator theStateRepCreator;
113 
114  unsigned int mySynchronizedModes;
115 };
116 
118 {
120 }
121 
123 {
125 }
126 
128 {
130 }
131 
132 #endif
133 #endif
134 
Instances of DtReflectedMode3A are used to represent a simulated HLAobjectRoot.IFFData.Mode3A object reflected across a network.
Definition: iffDataReflected.h:544
Contains the DtIffStateRepository class declaration.
class DtReflectedIff:
Definition: reflectedIffHLA.h:42
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnHLA.h:62
Instances of DtReflectedModeS are used to represent a simulated HLAobjectRoot.IFFData.ModeS object reflected across a network.
Definition: iffDataReflected.h:1204
Instances of DtReflectedRRB are used to represent a simulated HLAobjectRoot.IFFData.RRB object reflected across a network.
Definition: iffDataReflected.h:2018
#define DT_DLL_VL
Definition: vlMachineTypes.h:120
Instances of DtReflectedIFFData are used to represent a simulated HLAobjectRoot.IFFData object reflec...
Definition: iffDataReflected.h:49
unsigned int mySynchronizedModes
Definition: reflectedIffHLA.h:114
Defines a protocol independent repository of attributes for IFF objects.
Definition: iffStateRepository.h:39
Instances of DtReflectedTCASData are used to represent a simulated HLAobjectRoot.IFFData.TCASData object reflected across a network.
Definition: iffDataReflected.h:1689
void(* DtIffCallbackFunction)(DtReflectedIff *obj, void *userData)
Definition: reflectedIffHLA.h:31
Instances of DtReflectedMode5 are used to represent a simulated HLAobjectRoot.IFFData.Mode5 object reflected across a network.
Definition: iffDataReflected.h:1039
DtReflectedObject & operator=(const DtReflectedObject &orig)
assignment operator – Not Implemented
virtual DtIffStateRepository * iffRep() const
Synonym for iffStateRep()
Definition: reflectedIffHLA.h:127
virtual DtIffStateRepository * isr() const
Synonym for iffStateRep()
Definition: reflectedIffHLA.h:122
Instances of DtHlaObject are used to represent HLA objects which are communicated across the network...
Definition: hlaObject.h:58
static DtStateRepCreator theStateRepCreator
Definition: reflectedIffHLA.h:112
Instances of DtReflectedMode2 are used to represent a simulated HLAobjectRoot.IFFData.Mode2 object reflected across a network.
Definition: iffDataReflected.h:379
class DtReflectedObject:
Definition: reflectedObjectHLA.h:36
Instances of DtReflectedMode4 are used to represent a simulated HLAobjectRoot.IFFData.Mode4 object reflected across a network.
Definition: iffDataReflected.h:874
DtStateRepository * myStateRep
Definition: reflectedObjectHLA.h:180
Instances of DtReflectedSoviet are used to represent a simulated HLAobjectRoot.IFFData.Soviet object reflected across a network.
Definition: iffDataReflected.h:1853
Instances of DtReflectedMode1 are used to represent a simulated HLAobjectRoot.IFFData.Mode1 object reflected across a network.
Definition: iffDataReflected.h:214
virtual DtIffStateRepository * iffStateRep() const
Returns a pointer to the IffStateRepository, through which you can inspect current state information...
Definition: reflectedIffHLA.h:117
Instances of DtReflectedMode3C are used to represent a simulated HLAobjectRoot.IFFData.ModeC object reflected across a network.
Definition: iffDataReflected.h:709
This file provides a declaration of the class DtReflectedObject.
DtModeType
IFF/ATC/NAVAIDS PDU enums.
Definition: disEnums.h:2111

Document ID: Generated on Mon Sep 28 00:09:32 EDT 2026 from SVN revision 295353
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)