VR-Link API Documentation for HLA 1.3
 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 
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 
114 
115 };
116 
118 {
120 }
121 
123 {
125 }
126 
127 #endif
128 #endif
129 
DtStateRepository * myStateRep
Definition: objectPublisherHLA.h:202
Instances of DtModeSTransponderPublisher publish IFFData.ModeS.ModeSTransponder objects to the networ...
Definition: iffDataPublishers.h:1707
class DtIffPublisher:
Definition: iffPublisherHLA.h:24
Contains the DtIffStateRepository class declaration.
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnHLA.h:58
DtModeSTransponderPublisher * myModeSTransponderPublisher
Definition: iffPublisherHLA.h:113
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
Instances of DtMode5InterrogatorPublisher publish IFFData.Mode5.Mode5Interrogator objects to the netw...
Definition: iffDataPublishers.h:1154
Defines a protocol independent repository of attributes for IFF objects.
Definition: iffStateRepository.h:57
DtIffAtcNavaidsSysType
Definition: disEnums.h:2087
Instances of DtObjectPublisher are used for local or source simulations of objects, (i.e.
Definition: objectPublisherHLA.h:34
std::set< DtDDMRegionSP > DtDDMRegionSet
Definition: region13.h:34
virtual void tick()
Tick (update) this object.
DtModeSInterrogatorPublisher * myModeSInterrogatorPublisher
Definition: iffPublisherHLA.h:112
DtObjectPublisher & operator=(const DtObjectPublisher &orig)
assignment operator – not implemented
DtMode5InterrogatorPublisher * myMode5InterrogatorPublisher
Definition: iffPublisherHLA.h:110
static DtStateRepCreator theStateRepCreator
Definition: iffPublisherHLA.h:102
DtMode5TransponderPublisher * myMode5TransponderPublisher
Definition: iffPublisherHLA.h:111
Instances of DtModeSInterrogatorPublisher publish IFFData.ModeS.ModeSInterrogator objects to the netw...
Definition: iffDataPublishers.h:1628
Contains the IFF publishers for RPR 3.
virtual DtIffStateRepository * iffStateRep()
Returns a pointer to the IffStateRepository - through which you can set current state information...
Definition: iffPublisherHLA.h:117
virtual DtIffStateRepository * isr()
Synonym for iffStateRep()
Definition: iffPublisherHLA.h:122
This file provides a declaration of the class DtObjectPublisher.
Instances of DtMode5TransponderPublisher publish IFFData.Mode5.Mode5Transponder objects to the networ...
Definition: iffDataPublishers.h:1233
class DtHlaObjectWithStateRep:
Definition: hlaObjectWithStateRep.h:28

Document ID: Generated on Tue Feb 2 21:02:17 EST 2021 from SVN revision 223668
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)