VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
aimableSystemDecoderHLA.h
Go to the documentation of this file.
1 /****************************************************************************
2 * Copyright (c) 2025 MAK Technologies, Inc.
3 * All rights reserved.
4 ****************************************************************************/
5 
6 #if DtHLA
7 
11 
12 #pragma once
13 
15 #include <vl/baseEmbeddedSystemDecoder.h>
16 
18 
21 #define DtDECLARE_AIMABLE_SYSTEM_ATTR_DECODER(attrName) \
22  DtDECLARE_ATTR_DECODER(DtAimableSystemRepository, attrName)
23 
28 
30 {
31 public:
32 
35  DtExerciseConn* exConn,
36  DtObjClassDesc* classDesc);
37 
39  virtual ~DtAimableSystemDecoder() override;
40 
43 
45  DtAimableSystemDecoder& operator=(const DtAimableSystemDecoder& orig);
46 
47 public:
48 
50  static DtHlaStateDecoder* create(
51  DtExerciseConn* exConn,
52  DtObjClassDesc* classDesc);
53 
54 protected:
55 
59  void addMyDecoders();
60 
63  DtDECLARE_AIMABLE_SYSTEM_ATTR_DECODER(TargetRelativePosition);
64  DtDECLARE_AIMABLE_SYSTEM_ATTR_DECODER(TargetedLocation);
66  DtDECLARE_AIMABLE_SYSTEM_ATTR_DECODER(RelativeOrientation);
69 };
70 
76 #define DtDEFINE_SIMPLE_AIMABLE_SYSTEM_ATTR_DECODER_WITH_CAST( \
77  attrName, netType, mutator, castExpr) \
78  DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST( \
79  DtAimableSystemDecoder, DtAimableSystemRepository, \
80  attrName, netType, mutator, castExpr)
81 
82 #define DtDEFINE_SIMPLE_AIMABLE_SYSTEM_ATTR_DECODER( \
83  attrName, netType, inspector) \
84  DtDEFINE_SIMPLE_AIMABLE_SYSTEM_ATTR_DECODER_WITH_CAST( \
85  attrName, netType, inspector, (netType))
86 
87 #endif //DtHLA
88 
#define DtDECLARE_AIMABLE_SYSTEM_ATTR_DECODER(attrName)
This is used to declare attribute decoding functions which are members of the class.
Definition: aimableSystemDecoderHLA.h:21
Instances of DtAimableSystemDecoder encode data from DtAimableSystemStateRepository objects to the ne...
Definition: aimableSystemDecoderDIS.h:24
class DtAimableSystemRepository:
Definition: aimableSystemRepository.h:22
#define DT_DLL_vrfExtObjects
Definition: dllExport.h:23

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)