VR-Link API Documentation for HLA 1516
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
vl
removeObjectRequestInter.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 removeObjectRequestInter_H_
8
#define removeObjectRequestInter_H_
9
10
#if DtHLA
11
12
#include "
interactionWithEncDec.h
"
13
#include "
hostStructs.h
"
14
#include <
matrix/vlMath.h
>
15
#include "
globalObjectDesignatorList.h
"
16
17
18
22
23
class
DT_DLL_VL
DtRemoveObjectRequestInter
;
24
class
DT_DLL_VL
DtExerciseConn
;
25
26
28
typedef
void (*
DtRemoveObjectRequestInterCb
)
29
(
DtRemoveObjectRequestInter
* inter,
void
* usr);
30
35
36
37
class
DT_DLL_VL
DtRemoveObjectRequestInter
:
public
DtInteractionWithEncDec
38
{
39
public
:
40
42
DtRemoveObjectRequestInter
();
43
45
virtual
~
DtRemoveObjectRequestInter
();
46
48
DtRemoveObjectRequestInter
(
const
DtRemoveObjectRequestInter
& orig);
49
51
DtRemoveObjectRequestInter
&
operator=
(
52
const
DtRemoveObjectRequestInter
& orig);
53
55
virtual
void
printData
()
const
;
56
58
virtual
void
printDataToStream
(std::ostream& stream)
const
;
59
61
virtual
const
DtGlobalObjectDesignatorList
& objectIDs()
const
;
62
virtual
DtGlobalObjectDesignatorList
* objectIDs();
63
65
virtual
void
setNumIds(
DtU8
numIds);
66
virtual
DtU8
numIds()
const
;
67
69
virtual
void
setNthObjectId(
70
DtInt32
idIndex,
const
DtGlobalObjectDesignator
&
id
);
71
virtual
const
DtGlobalObjectDesignator
& nthObjectId(
DtInt32
idIndex)
const
;
72
74
virtual
void
setRequestId(
DtU32
id
);
75
virtual
DtU32
requestId()
const
;
76
78
virtual
const
char
*
name
()
const
;
79
80
public
:
81
84
static
DtInteraction
* create();
85
88
static
void
addCallback
(
DtExerciseConn
* conn,
89
DtRemoveObjectRequestInterCb
cb,
void
* usr,
90
DtDDMRegionSP
region =
DtDDMRegionSP
());
91
static
void
removeCallback
(
DtExerciseConn
* conn,
92
DtRemoveObjectRequestInterCb
cb,
void
* usr,
93
DtDDMRegionSP
region =
DtDDMRegionSP
());
94
95
protected
:
96
97
DtGlobalObjectDesignatorList
myObjectList
;
98
DtGlobalObjectDesignator
myNthId
;
99
DtU32
myRequestId
;
100
};
101
102
inline
void
DtRemoveObjectRequestInter::setRequestId
(
DtU32
id
)
103
{
104
myRequestId
= id;
105
}
106
107
inline
DtU32
DtRemoveObjectRequestInter::requestId
()
const
108
{
109
return
myRequestId
;
110
}
111
112
inline
const
char
*
DtRemoveObjectRequestInter::name
()
const
113
{
114
return
"DtRemoveObjectRequestInter"
;
115
}
116
117
#endif
118
#endif
119
120
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
)