VR-Link API Documentation for DIS
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
vl
underwaterAcousticsEncoderDIS.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/stateEncoder.h
>
15
#include <
vl/additionalPassiveActivitiesEncoderDIS.h
>
16
#include <
vl/propulsionNoiseEncoderDIS.h
>
17
#include <
vl/activeSonarEncoderDIS.h
>
18
#include <
vl/underwaterAcousticPdu.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
65
DtCLONE_ENCODER
(
DtUnderwaterAcousticsEncoder
);
66
67
protected
:
68
70
virtual
bool
sendNeeded(
const
DtUnderwaterAcousticsStateRepository
& stateRep,
71
const
DtUnderwaterAcousticsStateRepository
& asSeenByRemote );
72
74
virtual
void
fillOut(
const
DtUnderwaterAcousticsStateRepository
& stateRep,
75
const
DtUnderwaterAcousticsStateRepository
& asSeenByRemote,
76
DtUnderwaterAcousticPdu
* pdu );
77
78
protected
:
79
80
DtUnderwaterAcousticPdu
myAsPdu
;
81
DtPropulsionNoiseEncoder
myPropNoiseEnc
;
82
DtAdditionalPassiveActivitiesEncoder
myAddPassActEnc
;
83
DtActiveSonarEncoder
myActiveSonarEnc
;
84
85
};
86
87
#endif // DtDIS
Document ID: Generated on Wed Oct 23 22:25:48 EDT 2013 from SVN revision 132765
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)