VR-Link API Documentation for HLA 1.3
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
vl
interactionWithEncDec.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 DtInteractionWithEncDec_H_
8
#define DtInteractionWithEncDec_H_
9
10
#if DtHLA
11
12
13
#include "
rtiNamespace.h
"
14
#include "
interactionHLA.h
"
15
19
20
class
DT_DLL_VL
DtInteractionDecoder
;
21
class
DT_DLL_VL
DtInteractionEncoder
;
22
class
DT_DLL_VL
DtInteractionRep;
23
28
29
class
DT_DLL_VL
DtInteractionWithEncDec
:
public
DtInteraction
30
{
31
public
:
32
34
DtInteractionWithEncDec
();
35
37
virtual
~
DtInteractionWithEncDec
();
38
40
DtInteractionWithEncDec
(
const
DtInteractionWithEncDec
& orig);
41
43
DtInteractionWithEncDec
&
operator=
(
const
DtInteractionWithEncDec
& orig);
44
53
virtual
void
setExConn
(
DtExerciseConn
* exConn,
54
DtInterClassDesc
* classDesc = NULL);
55
59
#if DtHLA_1516
60
virtual
const
RTI::ParameterHandleValueMap& phvm()
const
;
61
#else
62
virtual
const
RTI::ParameterHandleValuePairSet&
phvps
()
const
;
63
#endif
64
66
#if DtHLA_1516
67
virtual
void
setFromPhvm(
68
const
RTI::ParameterHandleValueMap& pvList);
69
#else
70
virtual
void
setFromPhvps
(
71
const
RTI::ParameterHandleValuePairSet& pvList);
72
#endif
73
81
virtual
void
useThese(
DtInteractionEncoder
* enc,
82
DtInteractionDecoder
* dec,
83
DtInteractionRep* data);
84
86
virtual
DtInteractionEncoder
* encoder()
const
;
87
89
virtual
DtInteractionDecoder
* decoder()
const
;
90
91
protected
:
92
96
virtual
DtInteractionDecoder
* createDecoder(
97
DtExerciseConn
* exConn)
const
;
98
102
virtual
DtInteractionEncoder
* createEncoder(
103
DtExerciseConn
* exConn)
const
;
104
106
virtual
DtInteractionDecoder
* decoderToUse(
107
DtExerciseConn
* exConn)
const
;
108
110
virtual
DtInteractionEncoder
* encoderToUse(
111
DtExerciseConn
* exConn)
const
;
112
113
protected
:
114
115
DtInteractionDecoder
*
myDecoder
;
116
DtInteractionEncoder
*
myEncoder
;
117
DtInteractionRep*
myData
;
118
119
private
:
120
123
mutable
DtInteractionDecoder
*
myMutableCreatedDecoder
;
124
mutable
DtInteractionEncoder
*
myMutableCreatedEncoder
;
125
mutable
RTI::InteractionClassHandle
myMutableEncoderClassHandle
;
126
mutable
RTI::InteractionClassHandle
myMutableDecoderClassHandle
;
127
128
};
129
130
inline
DtInteractionEncoder
*
DtInteractionWithEncDec::encoder
()
const
131
{
132
return
myEncoder
;
133
}
134
135
inline
DtInteractionDecoder
*
DtInteractionWithEncDec::decoder
()
const
136
{
137
return
myDecoder
;
138
}
139
140
#endif
141
#endif
142
143
144
145
146
Document ID: Generated on Wed Oct 23 22:25:48 EDT 2013 from SVN revision 132765
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)