VR-Link API Documentation for HLA 4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
griddedDataEncoderHLA.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2025 MAK Technologies, Inc
3 ** All rights reserved.
4 *********************************************************************/
5 
6 
7 #if DtHLA
8 
9 #ifndef DtGriddedDataEncoder_H_
10 #define DtGriddedDataEncoder_H_
11 
12 #include "hlaStateEncoder.h"
13 #include "hostStructs.h"
14 
15 #include "griddedDataRepository.h"
16 #include "exerciseConn.h"
17 #include <matrix/LibMatrix.h>
18 
22 
24 
27 
28 #define DtDECLARE_GRIDDATA_ATTR_CHECKER(attrName) \
29  DtDECLARE_ATTR_CHECKER(DtGriddedDataRepository, attrName)
30 
32 
33 #define DtDECLARE_GRIDDATA_ATTR_ENCODER(attrName) \
34  DtDECLARE_ATTR_ENCODER(DtGriddedDataRepository, attrName)
35 
40 
42 {
43 public:
44 
47  DtExerciseConn* exConn,
48  DtObjClassDesc* classDesc);
49 
51  virtual ~DtGriddedDataEncoder();
52 
55 
56 public:
57 
59  static DtHlaStateEncoder* create(
60  DtExerciseConn* exConn, DtObjClassDesc* classDesc);
61 
62 protected:
63 
64  DtDECLARE_GRIDDATA_ATTR_CHECKER(GridIdentifier); //2.0D4
67  DtDECLARE_GRIDDATA_ATTR_CHECKER(RecordNumber);
69  DtDECLARE_GRIDDATA_ATTR_CHECKER(CoordinateSystem);
70  DtDECLARE_GRIDDATA_ATTR_CHECKER(NumberOfGridAxes);
71  DtDECLARE_GRIDDATA_ATTR_CHECKER(ConstantGrid);
72  DtDECLARE_GRIDDATA_ATTR_CHECKER(EnvironmentType);
76  DtDECLARE_GRIDDATA_ATTR_CHECKER(VectorDimension);
77  DtDECLARE_GRIDDATA_ATTR_CHECKER(GridAxisInfo);
78  DtDECLARE_GRIDDATA_ATTR_CHECKER(GridDataInfo);
79 
80  DtDECLARE_GRIDDATA_ATTR_ENCODER(GridIdentifier);
83  DtDECLARE_GRIDDATA_ATTR_ENCODER(RecordNumber);
85  DtDECLARE_GRIDDATA_ATTR_ENCODER(CoordinateSystem);
86  DtDECLARE_GRIDDATA_ATTR_ENCODER(NumberOfGridAxes);
87  DtDECLARE_GRIDDATA_ATTR_ENCODER(ConstantGrid);
88  DtDECLARE_GRIDDATA_ATTR_ENCODER(EnvironmentType);
92  DtDECLARE_GRIDDATA_ATTR_ENCODER(VectorDimension);
93  DtDECLARE_GRIDDATA_ATTR_ENCODER(GridAxisInfo);
94  DtDECLARE_GRIDDATA_ATTR_ENCODER(GridAxisInfo_RPR_20);
95  DtDECLARE_GRIDDATA_ATTR_ENCODER(GridDataInfo);
96  DtDECLARE_GRIDDATA_ATTR_ENCODER(GridDataInfo_RPR_20);
97  DtDECLARE_GRIDDATA_ATTR_ENCODER(GridDataInfo_RPR2_Rev3);
98 };
99 
104 
105 #define DtDEFINE_SIMPLE_GRIDDATA_ATTR_ENCODER( \
106  attrName, netType, inspector) \
107  DtDEFINE_SIMPLE_ATTR_ENCODER( \
108  DtGriddedDataEncoder, \
109  DtGriddedDataRepository, \
110  attrName, netType, inspector)
111 
116 
117 #define DtDEFINE_SIMPLE_GRIDDATA_ATTR_CHECKER( \
118  attrName, inspector) \
119  DtDEFINE_SIMPLE_ATTR_CHECKER( \
120  DtGriddedDataEncoder, \
121  DtGriddedDataRepository, \
122  attrName, inspector)
123 
124 #endif
125 #endif
126 
Instances of DtExerciseConn are used to provide an application&#39;s interface or connection to the netwo...
Definition: exerciseConnHLA.h:61
This file exists to provide backwards compatibility only, and may be removed in a future release...
#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 &quot;class descriptor&quot; for an HLA Object class.
Definition: objClassDesc13.h:41
This file provides protocol to independence DtExerciseConn.
This file is deprecated - Please see simulationAddress.h, entityIdentifier.h, entityType.h, burstDescriptor.h, and NetStructs.h.
#define DtDECLARE_GRIDDATA_ATTR_CHECKER(attrName)
Macro for declaring a static member fn which decides whether an attr needs to be encoded.
Definition: griddedDataEncoderHLA.h:28
#define DtDECLARE_GRIDDATA_ATTR_ENCODER(attrName)
Macro for declaring attr member fns which are members of the class.
Definition: griddedDataEncoderHLA.h:33
class DtGriddedDataEncoder
Definition: griddedDataEncoderHLA.h:41
Instances of DtGriddedDataRepository are used to communicate environmental data defined on a grid...
Definition: griddedDataRepository.h:23

Document ID: Generated on Thu Oct 16 00:12:25 EDT 2025 from SVN revision 280738
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)