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
aggregatePublisherHLA.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
*********************************************************************/
5
6
9
10
#ifndef aggregatePublisherHLA_H_
11
#define aggregatePublisherHLA_H_
12
13
#if DtHLA
14
15
#include "
objectPublisherHLA.h
"
16
#include <
vlpi/disEnums.h
>
17
18
class
DT_DLL_VL
DtAggregateStateRepository
;
19
class
DT_DLL_VL
DtGeodeticRegion
;
20
21
27
class
DT_DLL_VL
DtAggregatePublisher
:
public
DtObjectPublisher
28
{
29
public
:
30
33
typedef
DtAggregateStateRepository
* (*DtStateRepCreator)();
34
35
public
:
36
38
DtAggregatePublisher
(
39
DtAggregateStateRepository
*stateRepToUse,
40
DtExerciseConn
* conn,
41
const
char
* name = 0,
42
const
DtDDMRegionSet
* regionSetToUse = 0);
43
45
DtAggregatePublisher
(
46
RTI::ObjectClassHandle h,
47
DtExerciseConn
* conn,
48
const
char
* name = 0,
49
const
DtDDMRegionSet
* regionSetToUse = 0);
50
52
DtAggregatePublisher
(
53
const
DtEntityType
& type,
54
DtExerciseConn
* conn,
55
const
char
* name = 0,
56
const
DtDDMRegionSet
* regionSetToUse = 0);
57
59
DtAggregatePublisher
(
60
const
DtEntityType
& type,
61
DtExerciseConn
*conn,
62
DtDeadReckonTypes
algorithm,
63
DtForceType
forceId,
64
const
char
* name = 0,
65
const
DtDDMRegionSet
* regionSetToUse = 0);
66
72
DtAggregatePublisher
(
DtHlaObjectWithStateRep
* obj,
DtExerciseConn
* conn);
73
75
virtual
~
DtAggregatePublisher
();
76
79
virtual
DtAggregateStateRepository
* aggregateStateRep();
80
82
virtual
DtAggregateStateRepository
* asr();
83
84
virtual
void
tick
();
85
86
public
:
87
89
static
DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
90
91
protected
:
92
97
DtAggregatePublisher
(
98
const
char
* name = 0,
99
const
DtDDMRegionSet
* regionSetToUse = 0);
100
104
void
createGeographicRegion(
DtExerciseConn
* conn);
105
107
DtAggregatePublisher
(
const
DtAggregatePublisher
& orig);
108
110
DtAggregatePublisher
&
operator=
(
const
DtAggregatePublisher
& orig);
111
115
const
char
* objectClassNameFromType(
const
DtEntityType
&type);
116
117
DtBoost::shared_ptr<DtGeodeticRegion>
myGeodeticPublishingRegion
;
118
119
protected
:
120
121
static
DtStateRepCreator
theStateRepCreator
;
122
};
123
124
inline
DtAggregateStateRepository
*
DtAggregatePublisher::aggregateStateRep
()
125
{
126
return
(
DtAggregateStateRepository
*)
myStateRep
;
127
}
128
129
inline
DtAggregateStateRepository
*
DtAggregatePublisher::asr
()
130
{
131
return
(
DtAggregateStateRepository
*)
myStateRep
;
132
}
133
134
#endif
135
#endif
136
Document ID: Generated on Mon Feb 6 18:36:34 EST 2017 from SVN revision 173107
Copyright © 2005-2016 VT MÄK. All Rights Reserved (
www.mak.com
)