VR-Link API Documentation for HLA 1.3
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
vl
hEventRepInt.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 hEventRepInt_H_
8
#define hEventRepInt_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
DtEventReportInteraction
;
24
25
26
28
typedef
void (*
DtEventReportInteractionCb
)
29
(
DtEventReportInteraction
* inter,
void
* usr);
30
37
38
class
DT_DLL_VL
DtEventReportInteraction
:
public
DtInteractionWithData
39
{
40
public
:
41
43
DtEventReportInteraction
();
44
46
virtual
~
DtEventReportInteraction
();
47
49
DtEventReportInteraction
(
const
DtEventReportInteraction
& orig);
50
52
DtEventReportInteraction
&
operator=
(
53
const
DtEventReportInteraction
& orig);
54
56
virtual
void
printData
()
const
;
57
59
virtual
void
printDataToStream
(std::ostream& stream)
const
;
60
62
virtual
void
setSenderId(
const
DtEntityIdentifier
&
id
);
63
virtual
const
DtEntityIdentifier
& senderId()
const
;
64
66
virtual
void
setReceiverId(
const
DtEntityIdentifier
&
id
);
67
virtual
const
DtEntityIdentifier
& receiverId()
const
;
68
70
virtual
void
setEventType(
DtEventType
type);
71
virtual
DtEventType
eventType()
const
;
72
74
virtual
const
char
*
name
()
const
;
75
76
public
:
77
80
static
DtInteraction
* create();
81
84
static
void
addCallback
(
DtExerciseConn
* conn,
85
DtEventReportInteractionCb
cb,
void
* usr,
86
DtDDMRegionSP
region =
DtDDMRegionSP
());
87
static
void
removeCallback
(
DtExerciseConn
* conn,
88
DtEventReportInteractionCb
cb,
void
* usr,
89
DtDDMRegionSP
region =
DtDDMRegionSP
());
90
91
protected
:
92
93
DtEntityIdentifier
myOrigEnt
;
94
DtEntityIdentifier
myReceiveEnt
;
95
DtEventType
myEventType
;
96
};
97
98
#endif
99
#endif
100
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
)