VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 
15 
17 
24 class DT_DLL_VL DtActiveSonarEncoder : public DtUnderwaterAcousticsEmissionEncoder
25 {
26 public:
27 
30  DtExerciseConn* exConn,
31  DtObjClassDesc* classDesc);
32 
34  virtual ~DtActiveSonarEncoder();
35 
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(
72  RTI::AttributeHandleValuePairSet* attrs,
73  RTI::AttributeHandle attrHandle);
74 
76  static void encodeFunctionCode(
78  RTI::AttributeHandleValuePairSet* attrs,
79  RTI::AttributeHandle attrHandle);
80 
82  static void encodeAcousticsIdentifier(
84  RTI::AttributeHandleValuePairSet* attrs,
85  RTI::AttributeHandle attrHandle);
86 
87 };
88 
89 #endif //DtHLA

Document ID: Generated on Thu Feb 22 04:26:36 EST 2018 from SVN revision 186468
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)