VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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>
19 
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(
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;
83  DtActiveSonarEncoder myActiveSonarEnc;
84 
85 };
86 
87 #endif // DtDIS
Contains the DtUnderwaterAcousticPdu class declaration.
class DtAdditionalPassiveActivitiesEncoder
Definition: additionalPassiveActivitiesEncoderHLA.h:24
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
class DtActiveSonarEncoder
Definition: activeSonarEncoderHLA.h:24
class DtPropulsionNoiseEncoder
Definition: propulsionNoiseEncoderHLA.h:24
Instances of DtUnderwaterAcousticsStateRepository are used to store state data for all underwater aco...
Definition: underwaterAcousticsStateRepository.h:37
Contains the DIS DtPropulsionNoiseEncoder class declaration.
Contains the DIS DtAdditionalPassiveActivitiesEncoder class declaration.
This file declares the DIS version of DtStateEncoder.

Document ID: Generated on Mon Apr 25 03:39:01 EDT 2022 from SVN revision 242502
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)