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
reflectedActiveSonarListDIS.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/reflectedActiveSonarDIS.h
>
16
#include <
vl/globalObjectDesignator.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
76
virtual
int
acceptPdu
(
const
DtStateMsg
& msg )
const
;
77
80
virtual
DtReflectedObject
*
processStateMessage
(
const
DtStateMsg
& msg );
81
85
virtual
void
removeAndDelete
(
DtReflectedObject
* obj,
char
* msg=0 );
86
89
virtual
void
objectAdded
(
DtReflectedObject
* obj );
90
96
const
DtBaseHashKey
&
hashKeyFromStateMessage
(
const
DtStateMsg
* );
97
98
protected
:
99
101
static
void
underwaterAcousticCb(
DtUnderwaterAcousticPdu
* pdu,
void
* usr );
102
103
protected
:
104
106
DtReflectedActiveSonarList
(
const
DtReflectedActiveSonarList
& );
107
109
DtReflectedActiveSonarList
&
operator =
(
const
DtReflectedActiveSonarList
& );
110
111
};
112
113
#endif // DtDIS
Document ID: Generated on Fri Dec 2 02:42:08 EST 2016 from SVN revision 171416
Copyright © 2005-2016 VT MÄK. All Rights Reserved (
www.mak.com
)