VR-Link API Documentation for HLA 1.3
 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-2010 MAK Technologies, Inc
3 ** All rights reserved.
4 *********************************************************************/
8 #pragma once
9 #if DtHLA
10 
11 #include "objectPublisherHLA.h"
12 
13 
17 
23 {
24 public:
25 
27  typedef DtEmitterSystemRepository* (*DtStateRepCreator)();
28 
29 public:
30 
33  DtEmitterSystemRepository *stateRepToUse,
34  DtExerciseConn* conn,
35  const char* name = 0,
36  const DtDDMRegionSet* regionSetToUse = 0);
37 
40  RTI::ObjectClassHandle h,
41  DtExerciseConn* conn,
42  const char* name = 0,
43  const DtDDMRegionSet* regionSetToUse = 0);
44 
47  DtExerciseConn* conn,
48  const char* name = 0,
49  const DtDDMRegionSet* regionSetToUse = 0);
50 
57 
59  virtual ~DtEmitterSystemPublisher();
60 
61 protected:
62 
68  const char* name = 0,
69  const DtDDMRegionSet* regionSetToUse = 0);
70 
71 private:
74 
76  DtEmitterSystemPublisher& operator=
77  (const DtEmitterSystemPublisher& orig);
78 
79 public:
80 
83  virtual DtEmitterSystemRepository* emitterSystemRep();
84 
86  virtual DtEmitterSystemRepository* esr();
87 
90  virtual const char* classToUse() const;
91 
94  virtual bool tick();
95 
99  virtual void forceUpdate();
100 
104  virtual void forceUpdate(const RTI::AttributeHandleSet& set);
105 
106 public:
107 
109  static DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
110 
111 protected:
112 
113 
117  virtual void syncBeamList();
118 
121  virtual DtEmitterBeamPublisher* publisherForBsr(
123 
125  virtual int numBeams() const;
126 
127 protected:
128 
132 
133 protected:
134 
135  static DtStateRepCreator theStateRepCreator;
136 };
137 
139 {
141 }
142 
144 {
146 }
147 
148 #endif
149 
DtStateRepository * myStateRep
Definition: objectPublisherHLA.h:221
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:130
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:135
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:131
virtual bool tick()
Tick (update) this object.
class DtEmitterBeamRepository:
Definition: emitterBeamRepository.h:42
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:138
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:22
This file provides a declaration of the class DtObjectPublisher.
class DtHlaObjectWithStateRep:
Definition: hlaObjectWithStateRep.h:28
virtual DtEmitterSystemRepository * esr()
Synonym for emitterSystemRep().
Definition: emitterSystemPublisherHLA.h:143

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)