VR-Link API Documentation for HLA 1.3
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
vl
removeObjectResultInter.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 removeObjectResultInter_H_
8
#define removeObjectResultInter_H_
9
10
#if DtHLA
11
12
#include "
interactionWithEncDec.h
"
13
#include "
hostStructs.h
"
14
#include <
matrix/vlMath.h
>
15
16
17
21
22
class
DT_DLL_VL
DtRemoveObjectResultInter
;
23
class
DT_DLL_VL
DtExerciseConn
;
24
25
27
typedef
void (*
DtRemoveObjectResultInterCb
)
28
(
DtRemoveObjectResultInter
* inter,
void
* usr);
29
30
35
36
class
DT_DLL_VL
DtRemoveObjectResultInter
:
public
DtInteractionWithEncDec
37
{
38
public
:
39
41
DtRemoveObjectResultInter
();
42
44
virtual
~
DtRemoveObjectResultInter
();
45
47
DtRemoveObjectResultInter
(
const
DtRemoveObjectResultInter
& orig);
48
50
DtRemoveObjectResultInter
&
operator=
(
51
const
DtRemoveObjectResultInter
& orig);
52
54
virtual
void
printData
()
const
;
55
57
virtual
void
printDataToStream
(std::ostream& stream)
const
;
58
60
virtual
void
setRemoveObjectResult(
DtRemoveObjectResult
result);
61
virtual
DtRemoveObjectResult
removeObjectResult()
const
;
62
64
virtual
void
setRequestId(
DtU32
id
);
65
virtual
DtU32
requestId()
const
;
66
68
virtual
const
char
*
name
()
const
;
69
70
public
:
71
74
static
DtInteraction
* create();
75
78
static
void
addCallback
(
DtExerciseConn
* conn,
79
DtRemoveObjectResultInterCb
cb,
void
* usr,
80
DtDDMRegionSP
region =
DtDDMRegionSP
());
81
static
void
removeCallback
(
DtExerciseConn
* conn,
82
DtRemoveObjectResultInterCb
cb,
void
* usr,
83
DtDDMRegionSP
region =
DtDDMRegionSP
());
84
85
protected
:
86
87
DtRemoveObjectResult
myRemoveObjectResult
;
88
DtU32
myRequestId
;
89
};
90
91
inline
void
DtRemoveObjectResultInter::setRemoveObjectResult
(
92
DtRemoveObjectResult
result)
93
{
94
myRemoveObjectResult
= result;
95
}
96
97
inline
DtRemoveObjectResult
DtRemoveObjectResultInter::
98
removeObjectResult
()
const
99
{
100
return
myRemoveObjectResult
;
101
}
102
103
inline
void
DtRemoveObjectResultInter::setRequestId
(
DtU32
id
)
104
{
105
myRequestId
= id;
106
}
107
108
inline
DtU32
DtRemoveObjectResultInter::requestId
()
const
109
{
110
return
myRequestId
;
111
}
112
113
inline
const
char
*
DtRemoveObjectResultInter::name
()
const
114
{
115
return
"DtRemoveObjectResultInter"
;
116
}
117
118
#endif
119
#endif
120
121
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
)