VR-Exchange 2.6 API Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
brokers
rprBroker
rprBroker
genericInteractionTranslator.h
Go to the documentation of this file.
1
/****************************************************************************
2
* Copyright (c) 2015 VT MAK
3
* All rights reserved.
4
****************************************************************************/
5
9
10
#pragma once
11
12
#include <
rprBroker/rprTranslator.h
>
13
#include <
portal/pGenericInter.h
>
14
#include <vl/unknownInteraction.h>
15
16
#define GENERICIN_TEMPLATE_ARGS \
17
DtPortalGenericInteraction, DtUnknownInteraction \
18
19
namespace
MAKVrExchange
20
{
21
22
class
DtPortalGenericInteraction;
23
24
namespace
DtRprBroker
25
{
26
29
template
<>
30
DT_DLL_RPRBROKER
void
31
DtRprInteractionTranslator<GENERICIN_TEMPLATE_ARGS>::initializeRprCallbacks
();
32
35
template
<>
36
DT_DLL_RPRBROKER
void
37
DtRprInteractionTranslator<GENERICIN_TEMPLATE_ARGS>::removeRprCallbacks
();
38
39
46
class
DT_DLL_RPRBROKER
DtGenericInteractionTranslator
47
:
public
DtRprInteractionTranslator
<GENERICIN_TEMPLATE_ARGS>
48
{
49
public
:
50
52
DtGenericInteractionTranslator
(
DtBroker
* broker,
53
const
DtString
& interactionClassName );
54
56
virtual
~
DtGenericInteractionTranslator
();
57
61
62
virtual
void
initializeRprCallbacks();
63
virtual
void
removeRprCallbacks();
64
66
83
virtual
DtPortalGenericInteraction
* translate(
84
DtPortalGenericInteraction
* destination,
85
const
DtUnknownInteraction& source );
86
106
virtual
DtUnknownInteraction* translate( DtUnknownInteraction* destination,
107
const
DtPortalGenericInteraction
& source );
108
109
protected
:
110
113
virtual
void
createInteraction(
const
DtPortalGenericInteraction
& in );
114
115
protected
:
116
117
DtString
myInteractionClassName
;
118
119
};
120
121
}
122
}
Document ID: Generated on Wed Jan 30 18:15:18 EST 2019 from SVN revision 195534
Copyright © 2005-2019 VT MÄK. All Rights Reserved (
www.mak.com
)