VR-Link API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
activeSonarBeamEncoder.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 "hlaStateEncoder.h"
15 
17 
20 #define DtDECLARE_ACTIVE_SONAR_ATTR_CHECKER(attrName) \
21  DtDECLARE_ATTR_CHECKER(DtActiveSonarBeamRepository, attrName)
22 
25 #define DtDECLARE_ACTIVE_SONAR_ATTR_ENCODER(attrName) \
26  DtDECLARE_ATTR_ENCODER(DtActiveSonarBeamRepository, attrName)
27 
34 {
35 public:
36 
39  DtExerciseConn* exConn,
40  DtObjClassDesc* classDesc);
41 
43  virtual ~DtActiveSonarBeamEncoder();
44 
47 
50 
51 public:
52 
55  static DtHlaStateEncoder* create(DtExerciseConn* exConn,
56  DtObjClassDesc* classDesc);
57 
58 protected:
59 
60  DtDECLARE_ACTIVE_SONAR_ATTR_CHECKER(ActiveEmissionParameterIndex);
61  DtDECLARE_ACTIVE_SONAR_ATTR_CHECKER(ActiveSonarIdentifier);
62  DtDECLARE_ACTIVE_SONAR_ATTR_CHECKER(AzimuthBeamwidth);
65  DtDECLARE_ACTIVE_SONAR_ATTR_CHECKER(ElevationBeamwidth);
66  DtDECLARE_ACTIVE_SONAR_ATTR_CHECKER(ElevationCenter);
67  DtDECLARE_ACTIVE_SONAR_ATTR_CHECKER(EventIdentifier);
69 
70  DtDECLARE_ACTIVE_SONAR_ATTR_ENCODER(ActiveEmissionParameterIndex);
71  DtDECLARE_ACTIVE_SONAR_ATTR_ENCODER(ActiveSonarIdentifier);
72  DtDECLARE_ACTIVE_SONAR_ATTR_ENCODER(AzimuthBeamwidth);
75  DtDECLARE_ACTIVE_SONAR_ATTR_ENCODER(ElevationBeamwidth);
76  DtDECLARE_ACTIVE_SONAR_ATTR_ENCODER(ElevationCenter);
77  DtDECLARE_ACTIVE_SONAR_ATTR_ENCODER(EventIdentifier);
79 
80 };
81 
87 #define DtDEFINE_SIMPLE_ACTIVE_SONAR_ATTR_ENCODER( \
88  attrName, netType, inspector) \
89  DtDEFINE_SIMPLE_ATTR_ENCODER(DtActiveSonarBeamEncoder, \
90  DtActiveSonarBeamRepository, \
91  attrName, netType, inspector)
92 
98 #define DtDEFINE_SIMPLE_ACTIVE_SONAR_ATTR_CHECKER( \
99  attrName, inspector) \
100  DtDEFINE_SIMPLE_ATTR_CHECKER(DtActiveSonarBeamEncoder, \
101  DtActiveSonarBeamRepository, \
102  attrName, inspector)
103 
104 #endif

Document ID: Generated on Mon Jun 22 21:18:40 EDT 2020 from SVN revision 213785
Copyright © 2005-2018 MAK Technologies. All Rights Reserved (www.mak.com)