VR-Link API Documentation for HLA 1516
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
eventReportInteractionHLA.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 eventReportInteractionHLA_H_
8
#define eventReportInteractionHLA_H_
9
10
#if DtHLA
11
12
#include "
interactionWithData.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 Mon Apr 8 04:49:21 EDT 2019 from SVN revision 197403
Copyright © 2005-2016 VT MÄK. All Rights Reserved (
www.mak.com
)