VR-Link API Documentation for HLA 1.3
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
vl
hRefGridData.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
*********************************************************************/
5
6
7
#ifndef DtReflectedGriddedData_H_
8
#define DtReflectedGriddedData_H_
9
10
#if DtHLA
11
12
#include "
gridDataSR.h
"
13
#include "
hReflectedObj.h
"
14
#include <
vlutil/vlPrint.h
>
15
20
23
class
DT_DLL_VL
DtReflectedGriddedData
;
24
typedef
void (*
DtGriddedDataCallbackFunction
)(
25
DtReflectedGriddedData
* obj,
void
* userData);
26
31
32
class
DT_DLL_VL
DtReflectedGriddedData
:
public
DtReflectedObject
33
{
34
public
:
35
37
typedef
DtGriddedDataRepository
* (*DtStateRepCreator)();
38
39
public
:
40
42
DtReflectedGriddedData
(
DtHlaObject
* obj,
DtExerciseConn
* conn);
43
45
virtual
~
DtReflectedGriddedData
();
46
48
virtual
DtGriddedDataRepository
* gridDataRep()
const
;
49
51
virtual
DtGriddedDataRepository
* gdsr()
const
;
52
54
virtual
DtReflectedGriddedData
*
next
()
const
;
55
57
virtual
DtReflectedGriddedData
*
prev
()
const
;
58
61
virtual
DtReflectedGriddedData
*
wrapNext
()
const
;
62
65
virtual
DtReflectedGriddedData
*
wrapPrev
()
const
;
66
68
virtual
void
addPostUpdateCallback(
69
DtGriddedDataCallbackFunction
cb,
void
* userData);
70
71
virtual
void
removePostUpdateCallback(
72
DtGriddedDataCallbackFunction
cb,
void
* userData);
73
74
public
:
75
77
static
DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
78
79
protected
:
80
82
DtReflectedGriddedData
(
const
DtReflectedGriddedData
& orig);
83
85
DtReflectedGriddedData
&
operator=
(
const
DtReflectedGriddedData
& orig);
86
87
protected
:
88
89
static
DtStateRepCreator
theStateRepCreator
;
90
};
91
92
inline
DtGriddedDataRepository
*
DtReflectedGriddedData::gridDataRep
()
const
93
{
94
return
(
DtGriddedDataRepository
*)
myStateRep
;
95
}
96
97
inline
DtGriddedDataRepository
*
DtReflectedGriddedData::gdsr
()
const
98
{
99
return
(
DtGriddedDataRepository
*)
myStateRep
;
100
}
101
102
#endif //DtHLA
103
#endif //DtReflectedGriddedData_H_
104
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
)