VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
activeSonarBeamDecoder.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 "hlaStateDecoder.h"
15 
17 
20 #define DtDECLARE_ACTIVE_SONAR_ATTR_DECODER(attrName) \
21  DtDECLARE_ATTR_DECODER(DtActiveSonarBeamRepository, attrName)
22 
23 
28 class DT_DLL_VL DtActiveSonarBeamDecoder : public DtHlaStateDecoder
29 {
30 public:
31 
33  DtActiveSonarBeamDecoder(
34  DtExerciseConn* exConn,
35  DtObjClassDesc* classDesc);
36 
38  virtual ~DtActiveSonarBeamDecoder();
39 
41  DtActiveSonarBeamDecoder(const DtActiveSonarBeamDecoder& orig);
42 
44  DtActiveSonarBeamDecoder& operator=
45  (const DtActiveSonarBeamDecoder& orig);
46 
47 public:
48 
50  static DtHlaStateDecoder* create(
51  DtExerciseConn* exConn,
52  DtObjClassDesc* classDesc);
53 
54 protected:
55 
56  DtDECLARE_ACTIVE_SONAR_ATTR_DECODER(ActiveEmissionParameterIndex);
57  DtDECLARE_ACTIVE_SONAR_ATTR_DECODER(ActiveSonarIdentifier);
58  DtDECLARE_ACTIVE_SONAR_ATTR_DECODER(AzimuthBeamwidth);
59  DtDECLARE_ACTIVE_SONAR_ATTR_DECODER(AzimuthCenter);
60  DtDECLARE_ACTIVE_SONAR_ATTR_DECODER(BeamIdentifier);
61  DtDECLARE_ACTIVE_SONAR_ATTR_DECODER(ElevationBeamwidth);
62  DtDECLARE_ACTIVE_SONAR_ATTR_DECODER(ElevationCenter);
63  DtDECLARE_ACTIVE_SONAR_ATTR_DECODER(EventIdentifier);
64  DtDECLARE_ACTIVE_SONAR_ATTR_DECODER(ScanPattern);
65 
66 };
67 
73 #define DtDEFINE_SIMPLE_ACTIVE_SONAR_ATTR_DECODER_WITH_CAST_SET( \
74  attrName, netType, castExpr) \
75  DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST_SET( \
76  DtActiveSonarBeamDecoder, DtActiveSonarBeamRepository, \
77  attrName, netType, castExpr)
78 
79 #define DtDEFINE_SIMPLE_ACTIVE_SONAR_ATTR_DECODER_SET( \
80  attrName, netType) \
81  DtDEFINE_SIMPLE_ATTR_DECODER_SET( \
82  DtActiveSonarBeamDecoder, DtActiveSonarBeamRepository, \
83  attrName, netType)
84 
85 #endif
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
The DtActiveSonarBeamRepository class provides the state repository for the ActiveSonarBeam object...
Definition: activeSonarBeamRepository.h:18
This file contains the declaration of DtHlaStateDecoder.

Document ID: Generated on Tue Feb 2 21:02:17 EST 2021 from SVN revision 223668
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)