VR-Link API Documentation for HLA 1.3
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
vl
hSetDataInter.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 hSetDataInter_H_
8
#define hSetDataInter_H_
9
10
#if DtHLA
11
12
#include "
hInterWData.h
"
13
#include "
hostStructs.h
"
14
#include <
matrix/vlMath.h
>
15
16
17
21
22
class
DT_DLL_VL
DtExerciseConn
;
23
class
DT_DLL_VL
DtSetDataInteraction
;
24
25
26
28
typedef
void (*
DtSetDataInteractionCb
)
29
(
DtSetDataInteraction
* inter,
void
* usr);
30
36
class
DT_DLL_VL
DtSetDataInteraction
:
public
DtInteractionWithData
37
{
38
public
:
39
41
DtSetDataInteraction
();
42
44
virtual
~
DtSetDataInteraction
();
45
47
DtSetDataInteraction
(
const
DtSetDataInteraction
& orig);
48
50
DtSetDataInteraction
&
operator=
(
51
const
DtSetDataInteraction
& orig);
52
54
virtual
void
printData
()
const
;
55
57
virtual
void
printDataToStream
(std::ostream& stream)
const
;
58
60
virtual
void
setSenderId(
const
DtEntityIdentifier
&
id
);
61
virtual
const
DtEntityIdentifier
& senderId()
const
;
62
64
virtual
void
setReceiverId(
const
DtEntityIdentifier
&
id
);
65
virtual
const
DtEntityIdentifier
& receiverId()
const
;
66
68
virtual
void
setRequestId(
unsigned
long
id
);
69
virtual
unsigned
long
requestId()
const
;
70
72
virtual
const
char
*
name
()
const
;
73
74
public
:
75
78
static
DtInteraction
* create();
79
82
static
void
addCallback
(
DtExerciseConn
* conn,
83
DtSetDataInteractionCb
cb,
void
* usr,
84
DtDDMRegionSP
region =
DtDDMRegionSP
());
85
static
void
removeCallback
(
DtExerciseConn
* conn,
86
DtSetDataInteractionCb
cb,
void
* usr,
87
DtDDMRegionSP
region =
DtDDMRegionSP
());
88
89
protected
:
90
91
DtEntityIdentifier
myOrigEnt
;
92
DtEntityIdentifier
myReceiveEnt
;
93
unsigned
long
myRequestId
;
94
};
95
96
#endif
97
#endif
98
Document ID: Generated on Wed Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)