VR-Link API Documentation for HLA 1.3
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
vl
reflectedArealObjectHLA.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 reflectedArealObjectHLA_H_
8
#define reflectedArealObjectHLA_H_
9
10
#if DtHLA
11
12
#include "
arealObjectRepository.h
"
13
#include "
reflectedObjectHLA.h
"
14
19
22
class
DT_DLL_VL
DtReflectedArealObject
;
23
typedef
void (*
DtArealObjectCallbackFunction
)(
24
DtReflectedArealObject
* obj,
void
* userData);
25
30
31
class
DT_DLL_VL
DtReflectedArealObject
:
public
DtReflectedObject
32
{
33
public
:
34
36
typedef
DtArealObjectRepository
* (*DtStateRepCreator)();
37
38
public
:
39
41
DtReflectedArealObject
(
DtHlaObject
* obj,
DtExerciseConn
* conn);
42
44
virtual
~
DtReflectedArealObject
();
45
47
virtual
DtArealObjectRepository
* arealObjectRep()
const
;
48
50
virtual
DtArealObjectRepository
* aosr()
const
;
51
53
virtual
DtReflectedArealObject
*
next
()
const
;
54
56
virtual
DtReflectedArealObject
*
prev
()
const
;
57
60
virtual
DtReflectedArealObject
*
wrapNext
()
const
;
61
64
virtual
DtReflectedArealObject
*
wrapPrev
()
const
;
65
67
virtual
void
addPostUpdateCallback(
68
DtArealObjectCallbackFunction
cb,
void
* userData);
69
70
virtual
void
removePostUpdateCallback(
71
DtArealObjectCallbackFunction
cb,
void
* userData);
72
73
public
:
74
76
static
DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
77
78
protected
:
79
81
DtReflectedArealObject
(
const
DtReflectedArealObject
& orig);
82
84
DtReflectedArealObject
&
operator=
(
const
DtReflectedArealObject
& orig);
85
86
protected
:
87
88
static
DtStateRepCreator
theStateRepCreator
;
89
};
90
91
inline
DtArealObjectRepository
*
DtReflectedArealObject::arealObjectRep
()
const
92
{
93
return
(
DtArealObjectRepository
*)
myStateRep
;
94
}
95
96
inline
DtArealObjectRepository
*
DtReflectedArealObject::aosr
()
const
97
{
98
return
(
DtArealObjectRepository
*)
myStateRep
;
99
}
100
101
#endif //hReflArealObj_H_
102
#endif //DtHLA
103
Document ID: Generated on Wed Oct 23 22:25:48 EDT 2013 from SVN revision 132765
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)