VR-Link API Documentation for HLA 1.3
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
vl
updateControlCbInfo.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
*********************************************************************/
5
6
10
11
#ifndef DtUpdateControlCbInfo_H_
12
#define DtUpdateControlCbInfo_H_
13
14
#if DtHLA
15
16
#include "
updateControlCbList.h
"
17
#include "
stateMsg.h
"
18
#include "
rtiNamespace.h
"
19
24
class
DT_DLL_VL
DtUpdateControlCbInfo
25
{
26
public
:
27
29
DtUpdateControlCbInfo
(
30
#
if
DtHLA_1516
31
RTI::ObjectInstanceHandle hand,
32
#
else
33
RTI::ObjectHandle hand,
34
#endif
35
DtUpdateControlCb
cb,
36
void
* usr);
37
39
virtual
~
DtUpdateControlCbInfo
();
40
42
DtUpdateControlCbInfo
(
43
const
DtUpdateControlCbInfo
& orig);
44
46
DtUpdateControlCbInfo
& operator=(
47
const
DtUpdateControlCbInfo
& orig);
48
50
virtual
int
match(
const
DtUpdateControlCbInfo
*
const
other)
const
;
51
53
virtual
int
operator==
(
const
DtUpdateControlCbInfo
& other)
const
;
54
56
#if DtHLA_1516
57
virtual
const
RTI::ObjectInstanceHandle& objectHandle()
const
;
58
#else
59
virtual
const
RTI::ObjectHandle& objectHandle()
const
;
60
#endif
61
63
virtual
const
DtUpdateControlCb
& cbFunction()
const
;
64
66
virtual
void
* userData()
const
;
67
68
protected
:
69
70
#if DtHLA_1516
71
RTI::ObjectInstanceHandle myHand;
72
#else
73
RTI::ObjectHandle
myHand
;
74
#endif
75
DtUpdateControlCb
myFunc
;
76
void
*
myUsr
;
77
};
78
79
typedef
DtUpdateControlCbInfo
DtUpdatesOnCbInfo
;
80
typedef
DtUpdateControlCbInfo
DtUpdatesOnCbInfo
;
81
82
#if DtHLA_1516
83
inline
const
RTI::ObjectInstanceHandle&
84
#else
85
inline
const
RTI::ObjectHandle&
86
#endif
87
DtUpdateControlCbInfo::objectHandle
()
const
88
{
89
return
myHand
;
90
}
91
92
inline
const
DtUpdateControlCb
&
DtUpdateControlCbInfo::cbFunction
()
const
93
{
94
return
myFunc
;
95
}
96
97
inline
void
*
DtUpdateControlCbInfo::userData
()
const
98
{
99
return
myUsr
;
100
}
101
102
#endif
103
#endif
104
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
)