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
repairCompleteInteractionHLA.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 repairCompleteInteractionHLA_H_
8
#define repairCompleteInteractionHLA_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
DtRepairCompleteInteraction
;
23
class
DT_DLL_VL
DtExerciseConn
;
24
25
27
typedef
void (*
DtRepairCompleteInteractionCb
)
28
(
DtRepairCompleteInteraction
* inter,
void
* usr);
29
30
35
36
class
DT_DLL_VL
DtRepairCompleteInteraction
:
public
DtInteractionWithEncDec
37
{
38
public
:
39
41
DtRepairCompleteInteraction
();
42
44
virtual
~
DtRepairCompleteInteraction
();
45
47
DtRepairCompleteInteraction
(
const
DtRepairCompleteInteraction
& orig);
48
50
DtRepairCompleteInteraction
&
operator=
(
51
const
DtRepairCompleteInteraction
& orig);
52
54
virtual
void
printData
()
const
;
55
57
virtual
void
printDataToStream
(std::ostream& stream)
const
;
58
60
virtual
void
setReceivingId(
const
DtGlobalObjectDesignator
&
id
);
61
virtual
const
DtGlobalObjectDesignator
&receivingId()
const
;
62
64
virtual
void
setRepairingId(
const
DtGlobalObjectDesignator
&
id
);
65
virtual
const
DtGlobalObjectDesignator
&repairingId()
const
;
66
68
virtual
void
setRepairType(
DtRepairType
type);
69
virtual
DtRepairType
repairType()
const
;
70
72
virtual
const
char
*
name
()
const
;
73
74
public
:
75
78
static
DtInteraction
* create();
79
82
static
void
addCallback
(
DtExerciseConn
* conn,
83
DtRepairCompleteInteractionCb
cb,
void
* usr,
84
DtDDMRegionSP
region =
DtDDMRegionSP
());
85
static
void
removeCallback
(
DtExerciseConn
* conn,
86
DtRepairCompleteInteractionCb
cb,
void
* usr,
87
DtDDMRegionSP
region =
DtDDMRegionSP
());
88
89
protected
:
90
91
DtGlobalObjectDesignator
myReceivingObject
;
92
DtGlobalObjectDesignator
myRepairingObject
;
93
DtRepairType
myRepairType
;
94
};
95
96
inline
const
DtGlobalObjectDesignator
&
DtRepairCompleteInteraction::
97
receivingId
()
const
98
{
99
return
myReceivingObject
;
100
}
101
102
inline
const
DtGlobalObjectDesignator
&
DtRepairCompleteInteraction::
103
repairingId
()
const
104
{
105
return
myRepairingObject
;
106
}
107
108
inline
DtRepairType
DtRepairCompleteInteraction::repairType
()
const
109
{
110
return
myRepairType
;
111
}
112
113
inline
void
DtRepairCompleteInteraction::setReceivingId
(
114
const
DtGlobalObjectDesignator
&
id
)
115
{
116
myReceivingObject
= id;
117
}
118
119
inline
void
DtRepairCompleteInteraction::setRepairingId
(
120
const
DtGlobalObjectDesignator
&
id
)
121
{
122
myRepairingObject
= id;
123
}
124
125
inline
void
DtRepairCompleteInteraction::setRepairType
(
DtRepairType
t)
126
{
127
myRepairType
= t;
128
}
129
130
inline
const
char
*
DtRepairCompleteInteraction::name
()
const
131
{
132
return
"DtRepairCompleteInteraction"
;
133
}
134
135
#endif
136
#endif
137
Document ID: Generated on Tue Mar 1 02:56:17 EST 2016 from SVN revision 162687
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)