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
createObjectResultInter.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 createObjectResultInter_H_
8
#define createObjectResultInter_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
DtCreateObjectResultInter
;
23
class
DT_DLL_VL
DtExerciseConn
;
24
25
27
typedef
void (*
DtCreateObjectResultInterCb
)
28
(
DtCreateObjectResultInter
* inter,
void
* usr);
29
30
31
35
class
DT_DLL_VL
DtCreateObjectResultInter
:
public
DtInteractionWithEncDec
36
{
37
public
:
38
40
DtCreateObjectResultInter
();
41
43
virtual
~
DtCreateObjectResultInter
();
44
46
DtCreateObjectResultInter
(
const
DtCreateObjectResultInter
& orig);
47
49
DtCreateObjectResultInter
&
operator=
(
50
const
DtCreateObjectResultInter
& orig);
51
53
virtual
void
printData
()
const
;
54
56
virtual
void
printDataToStream
(std::ostream& stream)
const
;
57
59
virtual
void
setCreateObjectResult(
DtCreateObjectResult
result);
60
virtual
DtCreateObjectResult
createObjectResult()
const
;
61
63
virtual
void
setRequestId(
DtU32
id
);
64
virtual
DtU32
requestId()
const
;
65
67
virtual
const
char
*
name
()
const
;
68
69
public
:
70
73
static
DtInteraction
* create();
74
77
static
void
addCallback
(
DtExerciseConn
* conn,
78
DtCreateObjectResultInterCb
cb,
void
* usr,
79
DtDDMRegionSP
region =
DtDDMRegionSP
());
80
static
void
removeCallback
(
DtExerciseConn
* conn,
81
DtCreateObjectResultInterCb
cb,
void
* usr,
82
DtDDMRegionSP
region =
DtDDMRegionSP
());
83
84
protected
:
85
86
DtCreateObjectResult
myCreateObjectResult
;
87
DtU32
myRequestId
;
88
};
89
90
inline
void
DtCreateObjectResultInter::setCreateObjectResult
(
91
DtCreateObjectResult
result)
92
{
93
myCreateObjectResult
= result;
94
}
95
96
inline
DtCreateObjectResult
DtCreateObjectResultInter::
97
createObjectResult
()
const
98
{
99
return
myCreateObjectResult
;
100
}
101
102
inline
void
DtCreateObjectResultInter::setRequestId
(
DtU32
id
)
103
{
104
myRequestId
= id;
105
}
106
107
inline
DtU32
DtCreateObjectResultInter::requestId
()
const
108
{
109
return
myRequestId
;
110
}
111
112
inline
const
char
*
DtCreateObjectResultInter::name
()
const
113
{
114
return
"DtCreateObjectResultInter"
;
115
}
116
117
#endif
118
#endif
119
120
Document ID: Generated on Mon Feb 6 18:36:34 EST 2017 from SVN revision 173107
Copyright © 2005-2016 VT MÄK. All Rights Reserved (
www.mak.com
)