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
commentInteractionHLA.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 commentInteractionHLA_H_
8
#define commentInteractionHLA_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
DtCommentInteraction
;
24
25
27
typedef
void (*
DtCommentInteractionCb
)
28
(
DtCommentInteraction
* inter,
void
* usr);
29
30
31
37
class
DT_DLL_VL
DtCommentInteraction
:
public
DtInteractionWithData
38
{
39
public
:
40
42
DtCommentInteraction
();
43
45
virtual
~
DtCommentInteraction
();
46
48
DtCommentInteraction
(
const
DtCommentInteraction
& orig);
49
51
DtCommentInteraction
&
operator=
(
52
const
DtCommentInteraction
& orig);
53
55
virtual
void
printData
()
const
;
56
58
virtual
void
printDataToStream
(std::ostream& stream)
const
;
59
61
virtual
void
setSenderId(
const
DtEntityIdentifier
&
id
);
62
virtual
const
DtEntityIdentifier
& senderId()
const
;
63
65
virtual
void
setReceiverId(
const
DtEntityIdentifier
&
id
);
66
virtual
const
DtEntityIdentifier
& receiverId()
const
;
67
71
virtual
void
setComment(
const
char
*message,
int
size);
72
virtual
const
char
* comment()
const
;
73
75
virtual
const
char
*
name
()
const
;
76
77
public
:
78
81
static
DtInteraction
* create();
82
85
static
void
addCallback
(
DtExerciseConn
* conn,
86
DtCommentInteractionCb
cb,
void
* usr,
87
DtDDMRegionSP
region =
DtDDMRegionSP
());
88
static
void
removeCallback
(
DtExerciseConn
* conn,
89
DtCommentInteractionCb
cb,
void
* usr,
90
DtDDMRegionSP
region =
DtDDMRegionSP
());
91
92
protected
:
93
94
DtEntityIdentifier
myOrigEnt
;
95
DtEntityIdentifier
myReceiveEnt
;
96
};
97
98
#endif
99
#endif
100
Document ID: Generated on Thu Feb 22 04:26:36 EST 2018 from SVN revision 186468
Copyright © 2005-2016 VT MÄK. All Rights Reserved (
www.mak.com
)