VR-Link API Documentation for HLA 1516
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
vl
tRefGridData.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 DtTENA
8
9
#ifndef tRefGridData_H_
10
#define tRefGridData_H_
11
12
#include "
tReflectedObj.h
"
13
#include "
globalObjDes.h
"
14
#include "
gridDataSR.h
"
15
19
20
class
DT_DLL_VL
DtExerciseConn
;
21
class
DT_DLL_VL
DtReflectedGriddedData
;
22
24
typedef
void (*
DtGriddedDataCallbackFunction
)(
25
DtReflectedGriddedData
* obj,
void
* userData);
26
27
31
class
DT_DLL_VL
DtReflectedGriddedData
:
public
DtReflectedObject
32
{
33
public
:
34
37
typedef
DtGriddedDataRepository
* (*DtStateRepCreator)();
38
39
public
:
40
42
DtReflectedGriddedData
(
DtExerciseConn
* conn);
43
45
virtual
~
DtReflectedGriddedData
();
46
47
private
:
48
50
DtReflectedGriddedData
(
const
DtReflectedGriddedData
& orig);
51
53
DtReflectedGriddedData
&
operator=
(
const
DtReflectedGriddedData
& orig);
54
55
public
:
56
58
virtual
DtReflectedGriddedData
*
next
()
const
;
59
62
virtual
DtGriddedDataRepository
* griddedDataStateRep()
const
;
63
65
virtual
DtGriddedDataRepository
* gdsr()
const
;
66
68
virtual
DtReflectedGriddedData
*
prev
()
const
;
69
72
virtual
DtReflectedGriddedData
*
wrapNext
()
const
;
73
76
virtual
DtReflectedGriddedData
*
wrapPrev
()
const
;
77
79
void
removePostUpdateCallback(
DtGriddedDataCallbackFunction
,
void
* );
80
82
void
addPostUpdateCallback(
DtGriddedDataCallbackFunction
,
void
* );
83
85
virtual
const
DtObjectId
&
id
()
const
;
86
88
virtual
const
DtGlobalObjectDesignator
&
globalId
()
const
;
89
91
virtual
void
printDataToStream(std::ostream& str)
const
;
92
93
public
:
95
static
DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
96
97
protected
:
98
99
static
DtStateRepCreator theStateRepCreator;
100
101
102
};
103
104
inline
DtGriddedDataRepository
* DtReflectedGriddedData::griddedDataStateRep()
const
105
{
106
return
(
DtGriddedDataRepository
*)
myStateRep
;
107
}
108
109
inline
DtGriddedDataRepository
*
DtReflectedGriddedData::gdsr
()
const
110
{
111
return
(
DtGriddedDataRepository
*)
myStateRep
;
112
}
113
114
115
#endif
116
#endif
117
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
)