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
reflectedEnvironmentProcessHLA.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
*********************************************************************/
5
#ifndef DtReflectedEnvironmentProcess_H_
6
#define DtReflectedEnvironmentProcess_H_
7
8
#if DtHLA
9
10
#include "
environmentProcessRepository.h
"
11
#include "
reflectedObjectHLA.h
"
12
17
20
class
DT_DLL_VL
DtReflectedEnvironmentProcess
;
21
typedef
void (*
DtEnvironmentProcessCallbackFunction
)(
22
DtReflectedEnvironmentProcess
* obj,
void
* userData);
23
31
class
DT_DLL_VL
DtReflectedEnvironmentProcess
:
public
DtReflectedObject
32
{
33
public
:
34
37
typedef
DtEnvironmentProcessRepository
* (*DtStateRepCreator)();
38
39
public
:
40
42
DtReflectedEnvironmentProcess
(DtHlaObject* obj,
DtExerciseConn
* conn);
43
45
virtual
~
DtReflectedEnvironmentProcess
();
46
48
virtual
DtEnvironmentProcessRepository
* environmentProcessStateRep()
const
;
49
51
virtual
DtEnvironmentProcessRepository
* epsr()
const
;
52
54
virtual
DtReflectedEnvironmentProcess
*
next
()
const
;
55
57
virtual
DtReflectedEnvironmentProcess
*
prev
()
const
;
58
61
virtual
DtReflectedEnvironmentProcess
*
wrapNext
()
const
;
62
65
virtual
DtReflectedEnvironmentProcess
*
wrapPrev
()
const
;
66
68
virtual
void
addPostUpdateCallback(
69
DtEnvironmentProcessCallbackFunction
cb,
void
* userData);
70
71
virtual
void
removePostUpdateCallback(
72
DtEnvironmentProcessCallbackFunction
cb,
void
* userData);
73
74
public
:
75
77
static
DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
78
79
protected
:
80
82
DtReflectedEnvironmentProcess
(
const
DtReflectedEnvironmentProcess
& orig);
83
85
DtReflectedEnvironmentProcess
&
operator
=
86
(
const
DtReflectedEnvironmentProcess
& orig);
87
88
protected
:
89
90
static
DtStateRepCreator theStateRepCreator;
91
};
92
93
inline
DtEnvironmentProcessRepository
*
94
DtReflectedEnvironmentProcess::environmentProcessStateRep
()
const
95
{
96
return
(
DtEnvironmentProcessRepository
*)
myStateRep
;
97
}
98
99
inline
DtEnvironmentProcessRepository
*
100
DtReflectedEnvironmentProcess::epsr
()
const
101
{
102
return
(
DtEnvironmentProcessRepository
*)
myStateRep
;
103
}
104
105
#endif //DtHLA
106
#endif //DtReflectedEnvironmentProcess
107
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
)