VR-Link API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
griddedDataDecoderHLA.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 
6 
7 #if DtHLA
8 
9 #ifndef DtGriddedDataDecoder_H_
10 #define DtGriddedDataDecoder_H_
11 
12 #include "hostStructs.h"
13 
14 #include "hlaStateDecoder.h"
15 #include "griddedDataRepository.h"
16 #include "exerciseConn.h"
17 
21 
23 
26 
27 #define DtDECLARE_GRIDDATA_ATTR_DECODER(attrName) \
28  DtDECLARE_ATTR_DECODER(DtGriddedDataRepository, attrName)
29 
34 
36 {
37 public:
40  DtExerciseConn* exConn,
41  DtObjClassDesc* classDesc);
42 
44  virtual ~DtGriddedDataDecoder();
45 
46  //copy constructor
48 
51  const DtGriddedDataDecoder& orig);
52 
53 public:
54 
56  static DtHlaStateDecoder* create(
57  DtExerciseConn* exConn,
58  DtObjClassDesc* classDesc);
59 
60 protected:
61 
63  DtDECLARE_GRIDDATA_ATTR_DECODER(GridIdentifier); //2.0D4
66  DtDECLARE_GRIDDATA_ATTR_DECODER(RecordNumber);
68  DtDECLARE_GRIDDATA_ATTR_DECODER(CoordinateSystem);
69  DtDECLARE_GRIDDATA_ATTR_DECODER(NumberOfGridAxes);
70  DtDECLARE_GRIDDATA_ATTR_DECODER(ConstantGrid);
71  DtDECLARE_GRIDDATA_ATTR_DECODER(EnvironmentType);
75  DtDECLARE_GRIDDATA_ATTR_DECODER(VectorDimension);
76  DtDECLARE_GRIDDATA_ATTR_DECODER(GridAxisInfo);
77  DtDECLARE_GRIDDATA_ATTR_DECODER(GridAxisInfo_RPR_20);
78  DtDECLARE_GRIDDATA_ATTR_DECODER(GridDataInfo);
79  DtDECLARE_GRIDDATA_ATTR_DECODER(GridDataInfo_RPR_20);
80  DtDECLARE_GRIDDATA_ATTR_DECODER(GridDataInfo_RPR2_Rev3);
81 };
82 
88 
89 #define DtDEFINE_SIMPLE_GRIDDATA_ATTR_DECODER( \
90  attrName, netType, mutator) \
91  DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST( \
92  DtGriddedDataDecoder, \
93  DtGriddedDataRepository, \
94  attrName, netType, mutator, (netType))
95 
96 #define DtDEFINE_SIMPLE_GRIDDATA_ATTR_DECODER_WITH_CAST( \
97  attrName, netType, mutator, castExpr) \
98  DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST( \
99  DtGriddedDataDecoder, \
100  DtGriddedDataRepository, \
101  attrName, netType, mutator, castExpr)
102 
103 #endif
104 #endif
105 
#define DtDECLARE_GRIDDATA_ATTR_DECODER(attrName)
Macro for declaring attribute decoding fns which are members of the class.
Definition: griddedDataDecoderHLA.h:27
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnHLA.h:58
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
An instance of DtObjClassDesc is a "class descriptor" for an HLA Object class.
Definition: objClassDesc1516.h:41
DtHlaStateDecoder is used to provide decoding of a state message into a state repository in an HLA (a...
Definition: hlaStateDecoder.h:32
This file provides protocol to independence DtExerciseConn.
DtHlaStateDecoder & operator=(const DtHlaStateDecoder &orig)
assignment operator
This file is deprecated - Please see simulationAddress.h, entityIdentifier.h, entityType.h, burstDescriptor.h, and NetStructs.h.
class DtGriddedDataDecoder:
Definition: griddedDataDecoderHLA.h:35
This file contains the declaration of DtHlaStateDecoder.
Instances of DtGriddedDataRepository are used to communicate environmental data defined on a grid...
Definition: griddedDataRepository.h:23

Document ID: Generated on Tue Feb 2 21:02:17 EST 2021 from SVN revision 223668
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)