VR-Link API Documentation for HLA 1.3
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vl
emitterSystemPublisherHLA.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
*********************************************************************/
8
#pragma once
9
#if DtHLA
10
11
#include "
objectPublisherHLA.h
"
12
13
14
class
DtEmitterSystemRepository
;
15
class
DtEmitterBeamPublisher
;
16
class
DtEmitterBeamRepository
;
17
22
class
DT_DLL_VL
DtEmitterSystemPublisher
:
public
DtObjectPublisher
23
{
24
public
:
25
27
typedef
DtEmitterSystemRepository
* (*DtStateRepCreator)();
28
29
public
:
30
32
DtEmitterSystemPublisher
(
33
DtEmitterSystemRepository
*stateRepToUse,
34
DtExerciseConn
* conn,
35
const
char
* name = 0,
36
const
DtDDMRegionSet
* regionSetToUse = 0);
37
39
DtEmitterSystemPublisher
(
40
RTI::ObjectClassHandle h,
41
DtExerciseConn
* conn,
42
const
char
* name = 0,
43
const
DtDDMRegionSet
* regionSetToUse = 0);
44
46
DtEmitterSystemPublisher
(
47
DtExerciseConn
* conn,
48
const
char
* name = 0,
49
const
DtDDMRegionSet
* regionSetToUse = 0);
50
56
DtEmitterSystemPublisher
(
DtHlaObjectWithStateRep
* obj,
DtExerciseConn
* conn);
57
59
virtual
~
DtEmitterSystemPublisher
();
60
61
protected
:
62
67
DtEmitterSystemPublisher
(
68
const
char
* name = 0,
69
const
DtDDMRegionSet
* regionSetToUse = 0);
70
71
private
:
73
DtEmitterSystemPublisher
(
const
DtEmitterSystemPublisher
& orig);
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
93
virtual
void
tick
();
94
98
virtual
void
forceUpdate
();
99
103
virtual
void
forceUpdate
(
const
RTI::AttributeHandleSet&
set
);
104
105
public
:
106
108
static
DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
109
110
protected
:
111
112
116
virtual
void
syncBeamList();
117
120
virtual
DtEmitterBeamPublisher
* publisherForBsr(
121
DtEmitterBeamRepository
* bsr);
122
124
virtual
int
numBeams()
const
;
125
126
protected
:
127
129
DtList
myBeamPubs
;
130
bool
myTickedFirstTime
;
131
132
protected
:
133
134
static
DtStateRepCreator
theStateRepCreator
;
135
};
136
137
inline
DtEmitterSystemRepository
*
DtEmitterSystemPublisher::emitterSystemRep
()
138
{
139
return
(
DtEmitterSystemRepository
*)
myStateRep
;
140
}
141
142
inline
DtEmitterSystemRepository
*
DtEmitterSystemPublisher::esr
()
143
{
144
return
(
DtEmitterSystemRepository
*)
myStateRep
;
145
}
146
147
#endif
148
Document ID: Generated on Mon Jun 22 21:18:40 EDT 2020 from SVN revision 213785
Copyright © 2005-2018 MAK Technologies. All Rights Reserved (
www.mak.com
)