VR-Link API Documentation for HLA 4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
emitterSystemPublisherHLA.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2025 MAK Technologies, Inc
3 ** All rights reserved.
4 *********************************************************************/
8 #pragma once
9 #if DtHLA
10 
11 #include "objectPublisherHLA.h"
12 #include "eventId.h"
13 
14 
18 
24 {
25 public:
26 
28  typedef DtEmitterSystemRepository* (*DtStateRepCreator)();
29 
30 public:
31 
34  DtEmitterSystemRepository *stateRepToUse,
35  DtExerciseConn* conn,
36  const char* name = 0,
37  const DtDDMRegionSet* regionSetToUse = 0);
38 
41  RTI::ObjectClassHandle h,
42  DtExerciseConn* conn,
43  const char* name = 0,
44  const DtDDMRegionSet* regionSetToUse = 0);
45 
48  DtExerciseConn* conn,
49  const char* name = 0,
50  const DtDDMRegionSet* regionSetToUse = 0);
51 
58 
60  virtual ~DtEmitterSystemPublisher();
61 
62 protected:
63 
69  const char* name = 0,
70  const DtDDMRegionSet* regionSetToUse = 0);
71 
72 private:
75 
77  DtEmitterSystemPublisher& operator=
78  (const DtEmitterSystemPublisher& orig);
79 
80 public:
81 
84  virtual DtEmitterSystemRepository* emitterSystemRep();
85 
87  virtual DtEmitterSystemRepository* esr();
88 
91  virtual const char* classToUse() const;
92 
95  virtual bool tick();
96 
100  virtual void forceUpdate();
101 
105  virtual void forceUpdate(const RTI::AttributeHandleSet& set);
106 
107 public:
108 
110  static DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
111 
112 protected:
113 
114 
118  virtual void syncBeamList();
119 
122  virtual DtEmitterBeamPublisher* publisherForBsr(
124 
126  virtual int numBeams() const;
127 
128 protected:
129 
134 
135 protected:
136 
137  static DtStateRepCreator theStateRepCreator;
138 };
139 
141 {
143 }
144 
146 {
148 }
149 
150 #endif
151 
DtStateRepository * myStateRep
Definition: objectPublisherHLA.h:221
DtEventId myLastSentEventId
Definition: emitterSystemPublisherHLA.h:133
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
DtList myBeamPubs
List of DtEmitterBeamPubs.
Definition: emitterSystemPublisherHLA.h:131
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
static DtStateRepCreator theStateRepCreator
Definition: emitterSystemPublisherHLA.h:137
Instances of DtEmitterBeamPublisher are used for local or source simulations of emitter beams...
Definition: emitterBeamPublisher.h:19
DtList is deprecated, please use std::list&lt;T&gt;.
Definition: vlList.h:71
bool myTickedFirstTime
Definition: emitterSystemPublisherHLA.h:132
virtual bool tick()
Tick (update) this object.
class DtEmitterBeamRepository:
Definition: emitterBeamRepository.h:44
Represents Events in the RPR FOM.
Definition: eventId.h:52
virtual void forceUpdate()
Specify a set of attributes that should be included in the ahvps the next time tick is called...
virtual DtEmitterSystemRepository * emitterSystemRep()
Returns a pointer to the DtEmitterSystemRepository - through which you can set or inspect current sta...
Definition: emitterSystemPublisherHLA.h:140
Instances of DtEmitterSystemRepository are used to store state data for emitter systems in both HLA a...
Definition: emitterSystemRepository.h:29
Instances of DtEmitterSystemPublisher are used for local or source simulations of emitter systems...
Definition: emitterSystemPublisherHLA.h:23
Contains the DtEventId class declaration.
This file provides a declaration of the class DtObjectPublisher.
class DtHlaObjectWithStateRep:
Definition: hlaObjectWithStateRep.h:28
virtual DtEmitterSystemRepository * esr()
Synonym for emitterSystemRep().
Definition: emitterSystemPublisherHLA.h:145

Document ID: Generated on Thu Oct 16 00:12:25 EDT 2025 from SVN revision 280738
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)