VR-Link API Documentation for HLA 1516
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
vl
activeSonarEncoderHLA.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 DtHLA
13
14
#include "
underwaterAcousticsEmissionEncoder.h
"
15
16
class
DtActiveSonarStateRepository
;
17
24
class
DT_DLL_VL
DtActiveSonarEncoder
:
public
DtUnderwaterAcousticsEmissionEncoder
25
{
26
public
:
27
29
DtActiveSonarEncoder
(
30
DtExerciseConn
* exConn,
31
DtObjClassDesc
* classDesc);
32
34
virtual
~
DtActiveSonarEncoder
();
35
37
DtActiveSonarEncoder
(
const
DtActiveSonarEncoder
& orig);
38
40
DtActiveSonarEncoder
&
operator=
(
const
DtActiveSonarEncoder
& orig);
41
42
public
:
43
45
static
DtHlaStateEncoder
*
create
(
46
DtExerciseConn
* exConn,
47
DtObjClassDesc
* classDesc);
48
49
protected
:
50
53
static
bool
needAcousticName(
54
const
DtActiveSonarStateRepository
& stateRep,
55
const
DtActiveSonarStateRepository
& asSeenByRemote);
56
59
static
bool
needFunctionCode(
60
const
DtActiveSonarStateRepository
& stateRep,
61
const
DtActiveSonarStateRepository
& asSeenByRemote);
62
65
static
bool
needAcousticsIdentifier(
66
const
DtActiveSonarStateRepository
& stateRep,
67
const
DtActiveSonarStateRepository
& asSeenByRemote);
68
70
static
void
encodeAcousticName(
71
const
DtActiveSonarStateRepository
& rep,
72
RTI::AttributeHandleValuePairSet
* attrs,
73
RTI::AttributeHandle attrHandle);
74
76
static
void
encodeFunctionCode(
77
const
DtActiveSonarStateRepository
& rep,
78
RTI::AttributeHandleValuePairSet
* attrs,
79
RTI::AttributeHandle attrHandle);
80
82
static
void
encodeAcousticsIdentifier(
83
const
DtActiveSonarStateRepository
& rep,
84
RTI::AttributeHandleValuePairSet
* attrs,
85
RTI::AttributeHandle attrHandle);
86
87
};
88
89
#endif //DtHLA
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
)