VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
propulsionNoiseDecoderHLA.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 
23 class DT_DLL_VL DtPropulsionNoiseDecoder : public DtUnderwaterAcousticsEmissionDecoder
24 {
25 public:
26 
29  DtExerciseConn* exConn,
30  DtObjClassDesc* classDesc);
31 
33  virtual ~DtPropulsionNoiseDecoder();
34 
37 
39  DtPropulsionNoiseDecoder& operator=(const DtPropulsionNoiseDecoder& orig);
40 
41 public:
42 
44  static DtHlaStateDecoder* create(
45  DtExerciseConn* exConn,
46  DtObjClassDesc* classDesc);
47 
48 protected:
49 
51  static void decodeHullMaskerOn(
53  const RTI::AttributeHandleValuePairSet& attrs,
54  int pairSetIndex);
55 
57  static void decodePassiveParameterIndex(
59  const RTI::AttributeHandleValuePairSet& attrs,
60  int pairSetIndex);
61 
63  static void decodePropulsionPlantConfiguration(
65  const RTI::AttributeHandleValuePairSet& attrs,
66  int pairSetIndex);
67 
69  static void decodeShaftRateData16(
71  const RTI::AttributeHandleValuePairSet& attrs,
72  int pairSetIndex);
73  static void decodeShaftRateData32(
75  const RTI::AttributeHandleValuePairSet& attrs,
76  int pairSetIndex);
77 
78 };
79 
80 #define DtDEFINE_SIMPLE_PROPULSION_NOISE_ATTR_DECODER( \
81  attrName, netType, mutator) \
82  DtDEFINE_SIMPLE_ATTR_DECODER_MUTATOR( \
83  DtPropulsionNoiseDecoder, DtPropulsionNoiseStateRepository, \
84  attrName, netType, mutator)
85 
86 #define DtDEFINE_SIMPLE_PROPULSION_NOISE_ATTR_DECODER_SET( \
87  attrName, netType) \
88  DtDEFINE_SIMPLE_ATTR_DECODER_SET( \
89  DtPropulsionNoiseDecoder, DtPropulsionNoiseStateRepository, \
90  attrName, netType)
91 
92 
93 
94 #endif //DtHLA
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnDIS.h:61
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
class DtPropulsionNoiseStateRepository
Definition: propulsionNoiseStateRepository.h:22
Instances of DtPropulsionNoiseDecoder are used to take state information from an emission state PDU a...
Definition: propulsionNoiseDecoderDIS.h:23

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)