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 MAK Technologies, Inc
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
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnDIS.h:62
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
Instances of DtActiveSonarEncoder are used to take state information from a DtActiveSonarStateReposit...
Definition: activeSonarEncoderDIS.h:23
class DtActiveSonarStateRepository
Definition: activeSonarStateRepository.h:29

Document ID: Generated on Wed Mar 27 02:04:30 EDT 2024 from SVN revision 264570
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)