VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
aimableSystemEncoderHLA.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/baseEmbeddedSystemEncoder.h>
16 
17 
19 
22 #define DtDECLARE_AIMABLE_SYSTEM_ATTR_CHECKER(attrName) \
23  DtDECLARE_ATTR_CHECKER(DtAimableSystemRepository, attrName)
24 
27 #define DtDECLARE_AIMABLE_SYSTEM_ATTR_ENCODER(attrName) \
28  DtDECLARE_ATTR_ENCODER(DtAimableSystemRepository, attrName)
29 
34 
36 {
37 public:
38 
41  DtExerciseConn* exConn,
42  DtObjClassDesc* classDesc);
43 
45  virtual ~DtAimableSystemEncoder() override;
46 
49 
51  DtAimableSystemEncoder& operator=(const DtAimableSystemEncoder& orig);
52 
53 public:
54 
56  static DtHlaStateEncoder* create(
57  DtExerciseConn* exConn,
58  DtObjClassDesc* classDesc);
59 
60 protected:
61 
65  void addMyEncoders();
66 
69  DtDECLARE_AIMABLE_SYSTEM_ATTR_CHECKER(TargetRelativePosition);
70  DtDECLARE_AIMABLE_SYSTEM_ATTR_CHECKER(TargetedLocation);
72  DtDECLARE_AIMABLE_SYSTEM_ATTR_CHECKER(RelativeOrientation);
75 
78  DtDECLARE_AIMABLE_SYSTEM_ATTR_ENCODER(TargetRelativePosition);
79  DtDECLARE_AIMABLE_SYSTEM_ATTR_ENCODER(TargetedLocation);
81  DtDECLARE_AIMABLE_SYSTEM_ATTR_ENCODER(RelativeOrientation);
84 };
85 
86 
92 #define DtDEFINE_SIMPLE_AIMABLE_SYSTEM_ATTR_ENCODER( \
93  attrName, netType, inspector) \
94  DtDEFINE_SIMPLE_ATTR_ENCODER(DtAimableSystemEncoder, \
95  DtAimableSystemRepository, \
96  attrName, netType, inspector)
97 
103 #define DtDEFINE_SIMPLE_AIMABLE_SYSTEM_ATTR_CHECKER( \
104  attrName, inspector) \
105  DtDEFINE_SIMPLE_ATTR_CHECKER(DtAimableSystemEncoder, \
106  DtAimableSystemRepository, \
107  attrName, inspector)
108 
109 #endif //DtHLA
#define DtDECLARE_AIMABLE_SYSTEM_ATTR_CHECKER(attrName)
This is used to declare static member functions for determining whether or not an attribute needs to ...
Definition: aimableSystemEncoderHLA.h:22
class DtAimableSystemRepository:
Definition: aimableSystemRepository.h:22
#define DtDECLARE_AIMABLE_SYSTEM_ATTR_ENCODER(attrName)
This is used to declare attribute encoding functions which are members of the class.
Definition: aimableSystemEncoderHLA.h:27
Instances of DtAimableSystemEncoder encode data from DtAimableSystemRepository objects to the net str...
Definition: aimableSystemEncoderDIS.h:23
#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)