VR-Link API Documentation for DIS
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
vl
hReflDesigntr.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 DtReflectedDesignator_H_
8
#define DtReflectedDesignator_H_
9
10
#if DtHLA
11
12
#include "
designatorSR.h
"
13
#include "
hReflectedObj.h
"
14
19
22
class
DT_DLL_VL
DtReflectedDesignator
;
23
typedef
void (*
DtDesignatorCallbackFunction
)(
24
DtReflectedDesignator
* obj,
void
* userData);
25
30
31
class
DT_DLL_VL
DtReflectedDesignator
:
public
DtReflectedObject
32
{
33
public
:
34
36
typedef
DtDesignatorRepository
* (*DtStateRepCreator)();
37
38
public
:
39
41
DtReflectedDesignator
(DtHlaObject* obj,
DtExerciseConn
* conn);
42
44
virtual
~
DtReflectedDesignator
();
45
47
virtual
DtDesignatorRepository
* designatorRep()
const
;
48
50
virtual
DtDesignatorRepository
* dsr()
const
;
51
53
virtual
DtReflectedDesignator
*
next
()
const
;
54
56
virtual
DtReflectedDesignator
*
prev
()
const
;
57
60
virtual
DtReflectedDesignator
*
wrapNext
()
const
;
61
64
virtual
DtReflectedDesignator
*
wrapPrev
()
const
;
65
67
virtual
void
addPostUpdateCallback(
68
DtDesignatorCallbackFunction
cb,
void
* userData);
69
70
virtual
void
removePostUpdateCallback(
71
DtDesignatorCallbackFunction
cb,
void
* userData);
72
73
public
:
74
76
static
DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
77
78
protected
:
79
81
DtReflectedDesignator
(
const
DtReflectedDesignator
& orig);
82
84
DtReflectedDesignator
&
operator=
(
const
DtReflectedDesignator
& orig);
85
86
protected
:
87
88
static
DtStateRepCreator theStateRepCreator;
89
};
90
91
inline
DtDesignatorRepository
*
DtReflectedDesignator::designatorRep
()
const
92
{
93
return
(
DtDesignatorRepository
*) myStateRep;
94
}
95
96
inline
DtDesignatorRepository
*
DtReflectedDesignator::dsr
()
const
97
{
98
return
(
DtDesignatorRepository
*) myStateRep;
99
}
100
101
#endif //DtHLA
102
#endif //DtReflectedDesignator_H_
103
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
)