VR-Link API Documentation for HLA 1.3
 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-2010 VT MAK
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 

Document ID: Generated on Fri Dec 2 02:42:08 EST 2016 from SVN revision 171416
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)