VR-Link API Documentation for DIS
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
vl
dRefActSonarList.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/dRefObjList.h
>
15
#include <
vl/dRefActSonar.h
>
16
#include <
vl/globalObjDes.h
>
17
18
class
DtSystemHashKey
;
19
class
DtUnderwaterAcousticPdu
;
20
24
class
DT_DLL_VL
DtReflectedActiveSonarList
:
public
DtReflectedObjectList
25
{
26
public
:
27
29
DtReflectedActiveSonarList
(
DtExerciseConn
* exConn );
30
32
virtual
~
DtReflectedActiveSonarList
();
33
34
public
:
35
38
virtual
DtReflectedActiveSonar
* lookup(
39
const
DtGlobalObjectDesignator
& hostEntity,
int
acousticId )
const
;
40
42
virtual
DtReflectedActiveSonar
* first()
const
;
43
virtual
DtReflectedActiveSonar
* last()
const
;
44
46
virtual
void
addActiveSonarAdditionCallback(
47
DtActiveSonarCallbackFunction
cb,
void
* userData );
48
virtual
void
removeActiveSonarAdditionCallback(
49
DtActiveSonarCallbackFunction
cb,
void
* userData );
50
52
virtual
void
addActiveSonarRemovalCallback(
53
DtActiveSonarCallbackFunction
cb,
void
* userData );
54
virtual
void
removeActiveSonarRemovalCallback(
55
DtActiveSonarCallbackFunction
cb,
void
* userData );
56
58
virtual
void
print
()
const
;
59
61
virtual
void
printDataToStream( std::ostream& stream )
const
;
62
63
protected
:
64
66
virtual
DtReflectedObject
*
newReflectedObj
(
const
DtStateMsg
& msg );
67
70
virtual
DtReflectedActiveSonar
* newReflectedActiveSonar(
71
const
DtEntityIdentifier
& hostEntity,
int
acousticId );
72
75
virtual
int
acceptPdu
(
const
DtStateMsg
& msg )
const
;
76
79
virtual
DtReflectedObject
*
processStateMessage
(
const
DtStateMsg
& msg );
80
84
virtual
void
removeAndDelete
(
DtReflectedObject
* obj,
char
* msg=0 );
85
88
virtual
void
objectAdded
(
DtReflectedObject
* obj );
89
95
const
DtBaseHashKey
&
hashKeyFromStateMessage
(
const
DtStateMsg
* );
96
97
protected
:
98
100
static
void
underwaterAcousticCb(
DtUnderwaterAcousticPdu
* pdu,
void
* usr );
101
102
protected
:
103
105
DtReflectedActiveSonarList
(
const
DtReflectedActiveSonarList
& );
106
108
DtReflectedActiveSonarList
&
operator =
(
const
DtReflectedActiveSonarList
& );
109
110
};
111
112
#endif // DtDIS
Document ID: Generated on Wed Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)