VR-Link API Documentation for DIS
 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 MAK Technologies, Inc
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 
33 class DT_DLL_VL DtActiveSonarBeamEncoder : public DtHlaStateEncoder
34 {
35 public:
36 
38  DtActiveSonarBeamEncoder(
39  DtExerciseConn* exConn,
40  DtObjClassDesc* classDesc);
41 
43  virtual ~DtActiveSonarBeamEncoder();
44 
46  DtActiveSonarBeamEncoder(const DtActiveSonarBeamEncoder& orig);
47 
49  DtActiveSonarBeamEncoder& operator=(const DtActiveSonarBeamEncoder& orig);
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);
63  DtDECLARE_ACTIVE_SONAR_ATTR_CHECKER(AzimuthCenter);
64  DtDECLARE_ACTIVE_SONAR_ATTR_CHECKER(BeamIdentifier);
65  DtDECLARE_ACTIVE_SONAR_ATTR_CHECKER(ElevationBeamwidth);
66  DtDECLARE_ACTIVE_SONAR_ATTR_CHECKER(ElevationCenter);
67  DtDECLARE_ACTIVE_SONAR_ATTR_CHECKER(EventIdentifier);
68  DtDECLARE_ACTIVE_SONAR_ATTR_CHECKER(ScanPattern);
69 
70  DtDECLARE_ACTIVE_SONAR_ATTR_ENCODER(ActiveEmissionParameterIndex);
71  DtDECLARE_ACTIVE_SONAR_ATTR_ENCODER(ActiveSonarIdentifier);
72  DtDECLARE_ACTIVE_SONAR_ATTR_ENCODER(AzimuthBeamwidth);
73  DtDECLARE_ACTIVE_SONAR_ATTR_ENCODER(AzimuthCenter);
74  DtDECLARE_ACTIVE_SONAR_ATTR_ENCODER(BeamIdentifier);
75  DtDECLARE_ACTIVE_SONAR_ATTR_ENCODER(ElevationBeamwidth);
76  DtDECLARE_ACTIVE_SONAR_ATTR_ENCODER(ElevationCenter);
77  DtDECLARE_ACTIVE_SONAR_ATTR_ENCODER(EventIdentifier);
78  DtDECLARE_ACTIVE_SONAR_ATTR_ENCODER(ScanPattern);
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
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
This file contains the declaration of DtHlaStateEncoder.
The DtActiveSonarBeamRepository class provides the state repository for the ActiveSonarBeam object...
Definition: activeSonarBeamRepository.h:18

Document ID: Generated on Thu Sep 19 02:12:35 EDT 2024 from SVN revision 269601
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)