VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
iffPublisherHLA.h
Go to the documentation of this file.
1 #ifndef iffPublisherHLA_H_
2 #define iffPublisherHLA_H_
3 
4 #if DtHLA
5 
6 #include "objectPublisherHLA.h"
7 #include "iffStateRepository.h"
8 #include "iffDataPublishers.h"
9 
13 
15 
23 
25 {
26 public:
27 
29  typedef DtIffStateRepository* (*DtStateRepCreator)();
30 
31 public:
32 
35  DtIffStateRepository *stateRepToUse,
36  DtExerciseConn* conn,
37  const char* name = 0,
38  const DtDDMRegionSet* regionSetToUse = 0);
39 
42  RTI::ObjectClassHandle h,
43  DtExerciseConn* conn,
44  const char* name = 0,
45  const DtDDMRegionSet* regionSetToUse = 0);
46 
50  DtExerciseConn* conn,
51  const char* name = 0,
52  const DtDDMRegionSet* regionSetToUse = 0);
53 
59  DtIffPublisher(DtHlaObjectWithStateRep* obj, DtExerciseConn* conn);
60 
62  virtual ~DtIffPublisher();
63 
65  virtual void tick();
66 
69  virtual DtIffStateRepository* iffStateRep();
70 
72  virtual DtIffStateRepository* isr();
73 
74 public:
75 
77  static DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
78 
79 protected:
80 
86  const char* name = 0,
87  const DtDDMRegionSet* regionSetToUse = 0);
88 
90  DtIffPublisher(const DtIffPublisher& orig);
91 
94 
98  const char* objectClassNameFromType(DtIffAtcNavaidsSysType type);
99 
100 protected:
101 
102  static DtStateRepCreator theStateRepCreator;
103 
104 protected:
105 
106  // IFF publisher creates IFFData publishers for RPR FOM V2.9+
107 
108  virtual void initIffDataPublishers(DtExerciseConn* conn, const char* name, const DtDDMRegionSet* regionSetToUse);
109 
110  DtMode5InterrogatorPublisher* myMode5InterrogatorPublisher;
111  DtMode5TransponderPublisher* myMode5TransponderPublisher;
112  DtModeSInterrogatorPublisher* myModeSInterrogatorPublisher;
113  DtModeSTransponderPublisher* myModeSTransponderPublisher;
114 
115 };
116 
118 {
120 }
121 
123 {
125 }
126 
127 #endif
128 #endif
129 
DtStateRepository * myStateRep
Definition: objectPublisherDIS.h:176
Instances of DtIffPublisher are used to take care of the details associated with publishing the state...
Definition: iffPublisherDIS.h:41
Contains the DtIffStateRepository class declaration.
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnDIS.h:61
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
Defines a protocol independent repository of attributes for IFF objects.
Definition: iffStateRepository.h:57
DtIffAtcNavaidsSysType
Definition: disEnums.h:2093
Instances of DtObjectPublisher are used for local or source simulations of objects, (i.e.
Definition: objectPublisherDIS.h:36
virtual DtIffStateRepository * iffStateRep()
Get the emitter system state repository for this emitter system publisher.
DtObjectPublisher & operator=(const DtObjectPublisher &orig)
assignment operator – not implemented
Contains the IFF publishers for RPR 3.
virtual void tick()=0
Tick (update) this object.
virtual DtIffStateRepository * isr()
Definition: iffPublisherDIS.h:133

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)