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 
32 {
33 public:
34 
36  typedef DtIffStateRepository* (*DtStateRepCreator)();
37 
38 public:
39 
42 
44  virtual ~DtReflectedIff();
45 
48  virtual DtIffStateRepository* iffStateRep() const;
49 
51  virtual DtIffStateRepository* isr() const;
52 
54  virtual DtIffStateRepository* iffRep() const;
55 
56 #if DtHLA
57  virtual void syncMode1();
58  virtual void syncMode2();
59  virtual void syncMode3A();
60  virtual void syncMode3C();
61  virtual void syncMode4();
62  virtual void syncMode5();
63  virtual void syncModeS();
64  virtual void syncTCASData();
65  virtual void syncSoviet();
66  virtual void syncRRB();
67 #endif
68 
71  virtual DtReflectedIff* next() const;
72  virtual DtReflectedIff* prev() const;
73  virtual DtReflectedIff* wrapNext() const;
74  virtual DtReflectedIff* wrapPrev() const;
75 
77  virtual void addPostUpdateCallback(
78  DtIffCallbackFunction cb, void* userData);
79  virtual void removePostUpdateCallback(
80  DtIffCallbackFunction cb, void* userData);
81 
82 public:
83 
85  static DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
86 
87 protected:
88 
90  DtReflectedIff(const DtReflectedIff& orig);
91 
94 
95 protected:
96 
97  static DtStateRepCreator theStateRepCreator;
98 };
99 
101 {
103 }
104 
106 {
108 }
109 
111 {
113 }
114 
115 #endif
116 #endif
117 
Contains the DtIffStateRepository class declaration.
class DtReflectedIff:
Definition: reflectedIffHLA.h:31
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnHLA.h:61
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
Defines a protocol independent repository of attributes for IFF objects.
Definition: iffStateRepository.h:39
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:110
virtual DtIffStateRepository * isr() const
Synonym for iffStateRep()
Definition: reflectedIffHLA.h:105
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:97
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:100
This file provides a declaration of the class DtReflectedObject.

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)