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
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnHLA.h:60
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
This file contains the declaration of DtHlaStateEncoder.
DtHlaStateEncoder is used to provide encoding of a state repository into a state message in an HLA (a...
Definition: hlaStateEncoder.h:30
An instance of DtObjClassDesc is a "class descriptor" for an HLA Object class.
Definition: objClassDesc13.h:41
#define DtDECLARE_ACTIVE_SONAR_ATTR_ENCODER(attrName)
This is used to declare attribute encoding functions which are members of the class.
Definition: activeSonarBeamEncoder.h:25
class DtActiveSonarBeamEncoder
Definition: activeSonarBeamEncoder.h:33
DtHlaStateEncoder & operator=(const DtHlaStateEncoder &orig)
assignment operator
#define DtDECLARE_ACTIVE_SONAR_ATTR_CHECKER(attrName)
This is used to declare static member functions for determining whether or not an attribute needs to ...
Definition: activeSonarBeamEncoder.h:20
The DtActiveSonarBeamRepository class provides the state repository for the ActiveSonarBeam object...
Definition: activeSonarBeamRepository.h:18

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)