VR-Link API Documentation for HLA 1.3
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
receiveInteractionCbInfo.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
*********************************************************************/
5
6
9
10
#ifndef receiveInteractionCbInfo_H_
11
#define receiveInteractionCbInfo_H_
12
13
#if DtHLA
14
15
#include "
rtiNamespace.h
"
16
#include <
vlutil/vlMachineTypes.h
>
17
18
#include "
region.h
"
19
20
class
DT_DLL_VL
DtInteraction
;
21
22
23
typedef
void (*
DtReceiveInteractionCb
)(
DtInteraction
* inter,
void
* usr);
24
28
class
DT_DLL_VL
DtReceiveInteractionCbInfo
29
{
30
public
:
31
33
DtReceiveInteractionCbInfo
(RTI::InteractionClassHandle h,
34
DtReceiveInteractionCb
cb,
35
void
* usr);
36
37
DtReceiveInteractionCbInfo
(RTI::InteractionClassHandle h,
38
DtReceiveInteractionCb
cb,
39
void
* usr,
40
DtDDMRegionSP
region);
41
43
virtual
~
DtReceiveInteractionCbInfo
();
44
46
DtReceiveInteractionCbInfo
(
47
const
DtReceiveInteractionCbInfo
& orig);
48
50
DtReceiveInteractionCbInfo
& operator=(
51
const
DtReceiveInteractionCbInfo
& orig);
52
54
virtual
int
match(
const
DtReceiveInteractionCbInfo
*
const
other)
const
;
55
57
virtual
int
operator==
(
const
DtReceiveInteractionCbInfo
& other)
const
;
58
60
virtual
const
RTI::InteractionClassHandle& interactionClass()
const
;
61
63
virtual
const
DtReceiveInteractionCb
& cbFunction()
const
;
64
66
virtual
void
* userData()
const
;
67
68
protected
:
69
70
RTI::InteractionClassHandle
myClass
;
71
DtReceiveInteractionCb
myFunc
;
72
void
*
myUsr
;
73
DtDDMRegionSP
myRegion
;
74
};
75
76
inline
const
RTI::InteractionClassHandle&
77
DtReceiveInteractionCbInfo::interactionClass
()
const
78
{
79
return
myClass
;
80
}
81
82
inline
const
DtReceiveInteractionCb
&
83
DtReceiveInteractionCbInfo::cbFunction
()
const
84
{
85
return
myFunc
;
86
}
87
88
inline
void
*
DtReceiveInteractionCbInfo::userData
()
const
89
{
90
return
myUsr
;
91
}
92
93
#endif
94
#endif
95
Document ID: Generated on Thu Feb 22 04:26:36 EST 2018 from SVN revision 186468
Copyright © 2005-2016 VT MÄK. All Rights Reserved (
www.mak.com
)