VR-Link API Documentation for HLA 1516
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
vl
hGridDataDec.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 "
hStateDecoder.h
"
15
#include "
gridDataSR.h
"
16
#include "
exerciseConn.h
"
17
21
22
class
DT_DLL_VL
DtGriddedDataRepository
;
23
26
27
#define DtDECLARE_GRIDDATA_ATTR_DECODER(attrName) \
28
DtDECLARE_ATTR_DECODER(DtGriddedDataRepository, attrName)
29
34
35
class
DT_DLL_VL
DtGriddedDataDecoder
:
public
DtHlaStateDecoder
36
{
37
public
:
39
DtGriddedDataDecoder
(
40
DtExerciseConn
* exConn,
41
DtObjClassDesc
* classDesc);
42
44
virtual
~
DtGriddedDataDecoder
();
45
46
//copy constructor
47
DtGriddedDataDecoder
(
const
DtGriddedDataDecoder
& orig);
48
50
DtGriddedDataDecoder
&
operator=
(
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
64
DtDECLARE_GRIDDATA_ATTR_DECODER
(GridID);
65
DtDECLARE_GRIDDATA_ATTR_DECODER
(FieldNumber);
66
DtDECLARE_GRIDDATA_ATTR_DECODER
(RecordNumber);
67
DtDECLARE_GRIDDATA_ATTR_DECODER
(RecordTotal);
68
DtDECLARE_GRIDDATA_ATTR_DECODER
(CoordinateSystem);
69
DtDECLARE_GRIDDATA_ATTR_DECODER
(NumberOfGridAxes);
70
DtDECLARE_GRIDDATA_ATTR_DECODER
(ConstantGrid);
71
DtDECLARE_GRIDDATA_ATTR_DECODER
(EnvironmentType);
72
DtDECLARE_GRIDDATA_ATTR_DECODER
(Orientation);
73
DtDECLARE_GRIDDATA_ATTR_DECODER
(SampleTime);
74
DtDECLARE_GRIDDATA_ATTR_DECODER
(TotalValues);
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
Document ID: Generated on Wed Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)