VR-Link API Documentation for HLA Evolved
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
reflectedDiGuyObjectHLA.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1992-2013 VT MAK
3
** All rights reserved.
4
*********************************************************************/
5
9
10
#pragma once
11
12
#if DtHLA
13
14
#include <
vl/reflectedObjectHLA.h
>
15
#include "
vl/diGuyObjectStateRepository.h
"
16
17
18
class
DtReflectedDIGuyObject
;
19
23
typedef
void (*
DtDIGuyObjectCallbackFunction
)(
24
DtReflectedDIGuyObject
* obj,
void
* userData);
25
30
class
DT_DLL_VL
DtReflectedDIGuyObject
:
public
DtReflectedObject
31
{
32
public
:
35
typedef
DtDIGuyObjectStateRepository
* (*DtStateRepCreator)();
36
37
public
:
39
DtReflectedDIGuyObject
(
DtHlaObject
* obj,
DtExerciseConn
* exConn);
40
42
virtual
~
DtReflectedDIGuyObject
();
43
45
virtual
DtDIGuyObjectStateRepository
* dIGuyObjectStateRep()
const
;
46
48
virtual
DtDIGuyObjectStateRepository
* dsr()
const
;
49
52
virtual
void
setDsr(
DtDIGuyObjectStateRepository
* newDsr);
53
56
virtual
DtReflectedDIGuyObject
* next()
const
;
57
60
virtual
DtReflectedDIGuyObject
* prev()
const
;
61
64
virtual
DtReflectedDIGuyObject
* wrapNext()
const
;
65
68
virtual
DtReflectedDIGuyObject
* wrapPrev()
const
;
69
72
virtual
void
addPostUpdateCallback(
73
DtDIGuyObjectCallbackFunction
cb,
void
* userData);
74
77
virtual
void
removePostUpdateCallback(
78
DtDIGuyObjectCallbackFunction
cb,
void
* userData);
79
80
public
:
82
static
DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
83
84
protected
:
86
DtReflectedDIGuyObject
(
const
DtReflectedDIGuyObject
& orig);
87
89
DtReflectedDIGuyObject
&
operator=
(
const
DtReflectedDIGuyObject
& orig);
90
91
protected
:
92
93
DtDIGuyObjectStateRepository
*
myConstructedDsr
;
94
95
protected
:
97
static
DtStateRepCreator
theStateRepCreator
;
98
};
99
100
inline
DtDIGuyObjectStateRepository
*
DtReflectedDIGuyObject::dIGuyObjectStateRep
()
const
101
{
102
return
(
DtDIGuyObjectStateRepository
*)
myStateRep
;
103
}
104
105
inline
DtDIGuyObjectStateRepository
*
DtReflectedDIGuyObject::dsr
()
const
106
{
107
return
(
DtDIGuyObjectStateRepository
*)
myStateRep
;
108
}
109
110
111
112
#endif
Document ID: Generated on Fri May 15 06:36:13 EDT 2015 from SVN revision 153263
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)