VR-Link API Documentation for DIS
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vl
reflectedGriddedDataHLA.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 "
griddedDataRepository.h
"
13
#include "
reflectedObjectHLA.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 Mon Jun 22 21:18:40 EDT 2020 from SVN revision 213785
Copyright © 2005-2018 MAK Technologies. All Rights Reserved (
www.mak.com
)