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 MAK Technologies, Inc
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
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnHLA.h:61
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
An instance of DtObjClassDesc is a "class descriptor" for an HLA Object class.
Definition: objClassDesc13.h:41
#define DtDECLARE_ACTIVE_SONAR_ATTR_DECODER(attrName)
This is used to declare attribute decoding functions which are members of the class.
Definition: activeSonarBeamDecoder.h:20
DtHlaStateDecoder is used to provide decoding of a state message into a state repository in an HLA (a...
Definition: hlaStateDecoder.h:34
The DtActiveSonarBeamRepository class provides the state repository for the ActiveSonarBeam object...
Definition: activeSonarBeamRepository.h:18
Instances of DtActiveSonarBeamDecoder are used to decode an ActiveSonarBeam state message into a stat...
Definition: activeSonarBeamDecoder.h:28
This file contains the declaration of DtHlaStateDecoder.

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)