VR-Link API Documentation for HLA 1516
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
vl
dRefGridData.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
*********************************************************************/
5
6
9
10
#ifndef DtReflectedGriddedData_H_
11
#define DtReflectedGriddedData_H_
12
13
#if DtDIS
14
15
#include "
dReflectedObj.h
"
16
#include "
dGridDataDec.h
"
17
#include "
gridDataPdu.h
"
18
#include "
globalObjDes.h
"
19
#include "
objIdHashKey.h
"
20
21
class
DT_DLL_VL
DtGriddedDataRepository
;
22
class
DT_DLL_VL
DtExerciseConn
;
23
class
DT_DLL_VL
DtReflectedGriddedData
;
24
28
class
DT_DLL_VL
DtReflectedGriddedData
;
29
typedef
void (*
DtGriddedDataCallbackFunction
) (
30
DtReflectedGriddedData
* obj,
void
* userData);
31
35
class
DT_DLL_VL
DtReflectedGriddedData
:
public
DtReflectedObject
36
{
37
public
:
38
40
typedef
DtGriddedDataRepository
* (*DtStateRepCreator)();
41
42
public
:
43
45
DtReflectedGriddedData
(
46
DtExerciseConn
* conn,
47
const
DtEntityIdentifier
&
id
,
48
const
DtEntityType
& type);
49
51
virtual
~
DtReflectedGriddedData
();
52
55
virtual
DtGriddedDataRepository
* griddedDataStateRep()
const
;
56
58
virtual
DtGriddedDataRepository
* gdsr()
const
;
59
61
virtual
DtStateRepository
*
stateRep
()
const
;
62
65
virtual
DtGriddedDataDecoder
*
decoder
();
66
68
virtual
const
DtEntityIdentifier
& entityId()
const
;
69
71
virtual
const
DtObjectId
&
id
()
const
;
72
74
virtual
const
DtObjectId
&
localId
()
const
;
75
78
virtual
const
DtGlobalObjectDesignator
&
globalId
()
const
;
79
82
virtual
void
processStateMessage(
const
DtStateMsg
& msg);
83
86
virtual
DtReflectedGriddedData
*
next
()
const
;
87
virtual
DtReflectedGriddedData
*
prev
()
const
;
88
90
virtual
DtReflectedGriddedData
*
wrapNext
()
const
;
91
virtual
DtReflectedGriddedData
*
wrapPrev
()
const
;
92
94
virtual
void
addPostUpdateCallback(
95
DtGriddedDataCallbackFunction
cb,
void
* userData);
96
virtual
void
removePostUpdateCallback(
97
DtGriddedDataCallbackFunction
cb,
void
* userData);
98
100
virtual
const
DtBaseHashKey
& hashKey()
const
;
101
103
virtual
DtString
idString()
const
;
104
107
virtual
void
processGriddedData(
const
DtGriddedDataPdu
& pdu);
108
109
public
:
110
112
static
void
setStateRepCreator(DtStateRepCreator creator);
113
static
DtStateRepCreator stateRepCreator(
void
);
114
115
protected
:
116
117
static
DtStateRepCreator theStateRepCreator;
118
119
protected
:
120
122
DtReflectedGriddedData
(
const
DtReflectedGriddedData
& orig);
123
125
DtReflectedGriddedData
&
operator=
(
const
DtReflectedGriddedData
& orig);
126
127
protected
:
128
129
DtEntityIdentifier
myId
;
130
DtGriddedDataRepository
*
myStateRep
;
131
DtGriddedDataDecoder
*
myDecoder
;
132
DtEntityIdentifierHashKey
myHashKey;
133
};
134
135
#endif
136
#endif
137
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
)