VR-Link API Documentation for DIS
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
reflectedAggregateListDIS.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
*********************************************************************/
5
#pragma once
6
7
8
9
#if DtDIS
10
11
#include "
reflectedObjectListDIS.h
"
12
#include "
reflectedAggregateDIS.h
"
13
14
class
DtEntityIdentifierHashKey
;
15
class
DtRelativeLocationPdu
;
16
20
class
DT_DLL_VL
DtReflectedAggregateList
:
public
DtReflectedObjectList
21
{
22
23
public
:
24
26
DtReflectedAggregateList
(
DtExerciseConn
* exConn,
27
bool
smoothCapable =
false
);
28
30
virtual
~
DtReflectedAggregateList
();
31
32
private
:
33
35
DtReflectedAggregateList
&
operator=
(
36
const
DtReflectedAggregateList
& orig);
37
39
DtReflectedAggregateList
(
const
DtReflectedAggregateList
& orig);
40
41
public
:
43
virtual
DtReflectedAggregate
* lookup(
const
DtObjectId
&
id
)
const
;
44
46
virtual
DtReflectedAggregate
* first()
const
;
47
virtual
DtReflectedAggregate
* last()
const
;
48
50
virtual
void
addAggregateAdditionCallback(
51
DtAggregateCallbackFunction
cb,
void
* userData);
52
virtual
void
removeAggregateAdditionCallback(
53
DtAggregateCallbackFunction
cb,
void
* userData);
54
56
virtual
void
addAggregateRemovalCallback(
57
DtAggregateCallbackFunction
cb,
void
* userData);
58
virtual
void
removeAggregateRemovalCallback(
59
DtAggregateCallbackFunction
cb,
void
* userData);
60
62
virtual
void
print
();
63
66
virtual
DtReflectedAggregate
* processAggregateState(
67
const
DtAggregateStatePdu
& pdu);
68
70
virtual
void
processRelativeLocationPdu(
const
DtRelativeLocationPdu
& pdu);
71
72
73
protected
:
74
76
virtual
DtReflectedObject
*
newReflectedObj
(
const
DtStateMsg
& msg);
77
79
virtual
DtReflectedObject
*
processStateMessage
(
const
DtStateMsg
& msg);
80
83
virtual
void
objectAdded
(
DtReflectedObject
* obj);
84
86
virtual
const
DtBaseHashKey
&
87
hashKeyFromStateMessage
(
const
DtStateMsg
* msg);
88
90
virtual
DtReflectedAggregate
* newReflectedAggregate(
91
const
DtEntityIdentifier
&
id
,
const
DtEntityType
& type)
const
;
92
95
virtual
void
aggregateAdded(
DtReflectedAggregate
* agg);
96
97
98
protected
:
99
101
static
void
aggregateStateCb(
DtAggregateStatePdu
* pdu,
void
* usr);
102
104
static
void
relativeLocationCb(
DtRelativeLocationPdu
* pdu,
void
* usr );
105
106
protected
:
107
108
bool
mySmoothCapable
;
109
DtEntityIdentifierHashKey
*
myHashKey
;
110
};
111
112
#endif
Document ID: Generated on Thu Feb 22 04:26:36 EST 2018 from SVN revision 186468
Copyright © 2005-2016 VT MÄK. All Rights Reserved (
www.mak.com
)