VR-Link API Documentation for DIS
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
vl
dUndwaAcousticEnc.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/dStateEncoder.h
>
15
#include <
vl/dAddPassActEnc.h
>
16
#include <
vl/dPropNoiseEnc.h
>
17
#include <
vl/dActSonarEnc.h
>
18
#include <
vl/undwaAcPdu.h
>
19
20
class
DtUnderwaterAcousticsStateRepository
;
21
26
class
DT_DLL_VL
DtUnderwaterAcousticsEncoder
:
public
DtStateEncoder
27
{
28
public
:
29
31
DtUnderwaterAcousticsEncoder
();
32
34
DtUnderwaterAcousticsEncoder
(
const
DtUnderwaterAcousticsEncoder
& orig );
35
37
virtual
~
DtUnderwaterAcousticsEncoder
();
38
40
DtUnderwaterAcousticsEncoder
&
operator =
(
const
DtUnderwaterAcousticsEncoder
& orig );
41
46
virtual
DtUnderwaterAcousticPdu
* stateMsg(
47
const
DtUnderwaterAcousticsStateRepository
& stateRep,
48
const
DtUnderwaterAcousticsStateRepository
& asSeenByRemote );
49
52
virtual
void
setAzimuthThreshold(
double
threshold );
53
55
virtual
double
azimuthThreshold()
const
;
56
59
virtual
void
setElevationThreshold(
double
threshold );
60
62
virtual
double
elevationThreshold()
const
;
63
64
protected
:
65
67
virtual
bool
sendNeeded(
const
DtUnderwaterAcousticsStateRepository
& stateRep,
68
const
DtUnderwaterAcousticsStateRepository
& asSeenByRemote );
69
71
virtual
void
fillOut(
const
DtUnderwaterAcousticsStateRepository
& stateRep,
72
const
DtUnderwaterAcousticsStateRepository
& asSeenByRemote,
73
DtUnderwaterAcousticPdu
* pdu );
74
75
protected
:
76
77
DtUnderwaterAcousticPdu
myAsPdu
;
78
DtPropulsionNoiseEncoder
myPropNoiseEnc
;
79
DtAdditionalPassiveActivitiesEncoder
myAddPassActEnc
;
80
DtActiveSonarEncoder
myActiveSonarEnc
;
81
82
};
83
84
#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
)