VR-Link API Documentation for HLA Evolved
 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 
29 {
30 public:
31 
34  DtExerciseConn* exConn,
35  DtObjClassDesc* classDesc);
36 
38  virtual ~DtActiveSonarBeamDecoder();
39 
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);
61  DtDECLARE_ACTIVE_SONAR_ATTR_DECODER(ElevationBeamwidth);
62  DtDECLARE_ACTIVE_SONAR_ATTR_DECODER(ElevationCenter);
63  DtDECLARE_ACTIVE_SONAR_ATTR_DECODER(EventIdentifier);
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

Document ID: Generated on Tue Mar 1 02:56:17 EST 2016 from SVN revision 162687
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)