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
reflectedAggregateHLA.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
*********************************************************************/
5
6
7
#ifndef DtReflectedAggregate_H_
8
#define DtReflectedAggregate_H_
9
10
#if DtHLA
11
12
#include "
aggregateStateRepository.h
"
13
#include "
reflectedObjectHLA.h
"
14
19
22
class
DT_DLL_VL
DtReflectedAggregate
;
23
typedef
void (*
DtAggregateCallbackFunction
)(
24
DtReflectedAggregate
* obj,
void
* userData);
25
31
32
class
DT_DLL_VL
DtReflectedAggregate
:
public
DtReflectedObject
33
{
34
public
:
35
37
typedef
DtAggregateStateRepository
* (*DtStateRepCreator)();
38
39
public
:
40
42
DtReflectedAggregate
(
DtHlaObject
* obj,
DtExerciseConn
* conn);
43
45
virtual
~
DtReflectedAggregate
();
46
49
virtual
DtAggregateStateRepository
* aggregateStateRep()
const
;
50
52
virtual
DtAggregateStateRepository
* asr()
const
;
53
55
virtual
DtReflectedAggregate
* next()
const
;
56
58
virtual
DtReflectedAggregate
* prev()
const
;
59
62
virtual
DtReflectedAggregate
* wrapNext()
const
;
63
66
virtual
DtReflectedAggregate
* wrapPrev()
const
;
67
69
virtual
void
addPostUpdateCallback(
70
DtAggregateCallbackFunction
cb,
void
* userData);
71
virtual
void
removePostUpdateCallback(
72
DtAggregateCallbackFunction
cb,
void
* userData);
73
74
public
:
75
77
static
DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
78
79
public
:
80
83
#if DtHLA_1516
84
virtual
RTI::ObjectInstanceHandle aggregateObjectId()
const
;
85
#else
86
virtual
RTI::ObjectHandle aggregateObjectId()
const
;
87
#endif
88
89
protected
:
90
92
DtReflectedAggregate
(
const
DtReflectedAggregate
& orig);
93
95
DtReflectedAggregate
&
operator=
(
const
DtReflectedAggregate
& orig);
96
97
protected
:
98
99
static
DtStateRepCreator
theStateRepCreator
;
100
};
101
102
inline
DtAggregateStateRepository
*
103
DtReflectedAggregate::aggregateStateRep
()
const
104
{
105
return
(
DtAggregateStateRepository
*)
myStateRep
;
106
}
107
108
inline
DtAggregateStateRepository
*
109
DtReflectedAggregate::asr
()
const
110
{
111
return
(
DtAggregateStateRepository
*)
myStateRep
;
112
}
113
114
#endif
115
#endif
116
Document ID: Generated on Tue Mar 1 02:56:17 EST 2016 from SVN revision 162687
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)