VR-Link API Documentation for HLA 1.3
 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 
19 
20 typedef void (*DtIffCallbackFunction)(DtReflectedIff* obj, void* userData);
21 
22 
31 
33 {
34 public:
35 
37  typedef DtIffStateRepository* (*DtStateRepCreator)();
38 
39 public:
40 
43 
45  virtual ~DtReflectedIff();
46 
49  virtual DtIffStateRepository* iffStateRep() const;
50 
52  virtual DtIffStateRepository* isr() const;
53 
55  virtual DtIffStateRepository* iffRep() const;
56 
57 #if DtHLA
58  virtual void syncMode5Transponder();
59  virtual void syncMode5Interrogator();
60  virtual void syncModeSTransponder();
61  virtual void syncModeSInterrogator();
62 #endif
63 
66  virtual DtReflectedIff* next() const;
67  virtual DtReflectedIff* prev() const;
68  virtual DtReflectedIff* wrapNext() const;
69  virtual DtReflectedIff* wrapPrev() const;
70 
72  virtual void addPostUpdateCallback(
73  DtIffCallbackFunction cb, void* userData);
74  virtual void removePostUpdateCallback(
75  DtIffCallbackFunction cb, void* userData);
76 
77 public:
78 
80  static DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
81 
82 protected:
83 
85  DtReflectedIff(const DtReflectedIff& orig);
86 
89 
90 protected:
91 
92  static DtStateRepCreator theStateRepCreator;
93 };
94 
96 {
98 }
99 
101 {
103 }
104 
106 {
108 }
109 
110 #endif
111 #endif
112 
Contains the DtIffStateRepository class declaration.
class DtReflectedIff:
Definition: reflectedIffHLA.h:32
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnHLA.h:60
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
Defines a protocol independent repository of attributes for IFF objects.
Definition: iffStateRepository.h:57
void(* DtIffCallbackFunction)(DtReflectedIff *obj, void *userData)
Definition: reflectedIffHLA.h:20
DtReflectedObject & operator=(const DtReflectedObject &orig)
assignment operator – Not Implemented
virtual DtIffStateRepository * iffRep() const
Synonym for iffStateRep()
Definition: reflectedIffHLA.h:105
virtual DtIffStateRepository * isr() const
Synonym for iffStateRep()
Definition: reflectedIffHLA.h:100
Instances of DtHlaObject are used to represent HLA objects which are communicated across the network...
Definition: hlaObject.h:56
static DtStateRepCreator theStateRepCreator
Definition: reflectedIffHLA.h:92
class DtReflectedObject:
Definition: reflectedObjectHLA.h:36
DtStateRepository * myStateRep
Definition: reflectedObjectHLA.h:180
virtual DtIffStateRepository * iffStateRep() const
Returns a pointer to the IffStateRepository, through which you can inspect current state information...
Definition: reflectedIffHLA.h:95
This file provides a declaration of the class DtReflectedObject.

Document ID: Generated on Mon Apr 25 03:39:01 EDT 2022 from SVN revision 242502
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)