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
reflectedUnderwaterAcousticsListDIS.h
Go to the documentation of this file.
1
/****************************************************************************
2
* Copyright (c) 2013 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/reflectedUnderwaterAcousticsDIS.h
>
16
#include <
vl/globalObjectDesignator.h
>
17
18
class
DtSystemHashKey
;
19
class
DtUnderwaterAcousticPdu
;
20
24
class
DT_DLL_VL
DtReflectedUnderwaterAcousticsList
:
public
DtReflectedObjectList
25
{
26
public
:
27
29
DtReflectedUnderwaterAcousticsList
(
DtExerciseConn
* exConn );
30
32
virtual
~
DtReflectedUnderwaterAcousticsList
();
33
34
public
:
35
38
virtual
DtReflectedUnderwaterAcoustics
* lookup(
39
const
DtGlobalObjectDesignator
& hostEntity )
const
;
40
42
virtual
DtReflectedUnderwaterAcoustics
* first()
const
;
43
virtual
DtReflectedUnderwaterAcoustics
* last()
const
;
44
46
virtual
void
addUnderwaterAcousticsAdditionCallback(
47
DtUnderwaterAcousticsCallbackFunction
cb,
void
* userData );
48
virtual
void
removeUnderwaterAcousticsAdditionCallback(
49
DtUnderwaterAcousticsCallbackFunction
cb,
void
* userData );
50
52
virtual
void
addUnderwaterAcousticsRemovalCallback(
53
DtUnderwaterAcousticsCallbackFunction
cb,
void
* userData );
54
virtual
void
removeUnderwaterAcousticsRemovalCallback(
55
DtUnderwaterAcousticsCallbackFunction
cb,
void
* userData );
56
58
virtual
void
print
()
const
;
59
61
virtual
void
printDataToStream( std::ostream& stream )
const
;
62
63
protected
:
64
67
virtual
DtReflectedUnderwaterAcoustics
* newReflectedUnderwaterAcoustics(
68
const
DtEntityIdentifier
& hostEntity );
69
71
virtual
DtReflectedObject
*
newReflectedObj
(
const
DtStateMsg
& msg );
72
75
virtual
void
objectAdded
(
DtReflectedObject
* obj );
76
82
const
DtBaseHashKey
&
hashKeyFromStateMessage
(
const
DtStateMsg
* );
83
85
static
void
underwaterAcousticCb(
DtUnderwaterAcousticPdu
* pdu,
void
* usr );
86
87
protected
:
88
90
DtReflectedUnderwaterAcousticsList
(
const
DtReflectedUnderwaterAcousticsList
& );
91
93
DtReflectedUnderwaterAcousticsList
&
operator =
(
const
DtReflectedUnderwaterAcousticsList
& );
94
95
protected
:
96
97
DtObjectIdHashKey
*
myHashKey
;
98
99
};
100
101
#endif // DtDIS
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
)