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
reflectedArealObjectListDIS.h
Go to the documentation of this file.
1
/****************************************************************************
2
* Copyright (c) 2014 VT MAK
3
* All rights reserved.
4
****************************************************************************/
5
9
10
#pragma once
11
12
#if DtDIS
13
14
#include <
vl/reflectedObjectListDIS.h
>
15
#include <
vl/reflectedArealObject.h
>
16
17
class
DtArealObjectStatePdu
;
18
22
class
DT_DLL_VL
DtReflectedArealObjectList
:
public
DtReflectedObjectList
23
{
24
public
:
25
27
DtReflectedArealObjectList
(
DtExerciseConn
* exConn );
28
30
virtual
~
DtReflectedArealObjectList
();
31
33
virtual
DtReflectedArealObject
* lookup(
const
DtEntityIdentifier
&
id
)
const
;
34
36
virtual
DtReflectedArealObject
* first()
const
;
37
virtual
DtReflectedArealObject
* last()
const
;
38
40
virtual
void
addArealObjectAdditionCallback(
41
DtArealObjectCallbackFunction
cb,
void
* usr );
42
virtual
void
removeArealObjectAdditionCallback(
43
DtArealObjectCallbackFunction
cb,
void
* usr );
44
46
virtual
void
addArealObjectRemovalCallback(
47
DtArealObjectCallbackFunction
cb,
void
* usr );
48
virtual
void
removeArealObjectRemovalCallback(
49
DtArealObjectCallbackFunction
cb,
void
* usr );
50
52
virtual
void
print
()
const
;
53
55
virtual
void
printDataToStream( std::ostream& stream )
const
;
56
57
protected
:
58
60
virtual
DtReflectedObject
*
newReflectedObj
(
const
DtStateMsg
& msg );
61
64
virtual
DtReflectedArealObject
* newReflectedArealObject(
65
const
DtEntityIdentifier
&
id
);
66
69
virtual
int
acceptPdu
(
const
DtStateMsg
& msg )
const
;
70
72
virtual
DtReflectedObject
*
processStateMessage
(
const
DtStateMsg
& msg );
73
77
virtual
void
removeAndDelete
(
DtReflectedObject
* obj,
char
* msg = 0 );
78
81
virtual
void
objectAdded
(
DtReflectedObject
* obj );
82
88
const
DtBaseHashKey
&
hashKeyFromStateMessage
(
const
DtStateMsg
* );
89
91
static
void
arealObjectCb(
DtArealObjectStatePdu
* pdu,
void
* usr );
92
93
protected
:
94
96
DtReflectedArealObjectList
(
const
DtReflectedArealObjectList
& );
97
99
DtReflectedArealObjectList
&
operator =
(
const
DtReflectedArealObjectList
& );
100
101
protected
:
102
103
DtEntityIdentifierHashKey
*
myHashKey
;
104
105
};
106
107
#endif // DtDIS
Document ID: Generated on Fri May 15 06:36:13 EDT 2015 from SVN revision 153263
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)