VR-Exchange 2.4 API Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
brokers
ddsBroker
ddsBroker
ddsBroker/ddsBroker/fireInTrans.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 <
ddsBroker/ddsTrans.h
>
13
14
// ************************************************************************ //
15
// Use the DIS implementation from VR-Link by temporarily defining DtDIS.
16
// ************************************************************************ //
17
#ifndef DtDIS
18
# define MUST_UNDEF_DTDIS
19
# define DtDIS 1
20
#endif
21
22
#include <vl/fireInteraction.h>
23
24
#ifdef MUST_UNDEF_DTDIS
25
# undef DtDIS
26
#endif
27
// ************************************************************************ //
28
29
#include <
portal/pFireInter.h
>
30
31
#include <list>
32
33
namespace
MAKVrExchange
34
{
35
36
namespace
DtDdsBroker
37
{
38
39
class
DtDdsBroker;
40
43
class
DT_DLL_DDSBROKER
DtFireInteractionTranslator
44
:
public
DtDdsInteractionTranslator
<DtPortalFireInteraction, simpleOM::simpleFireInteraction>
45
{
46
public
:
47
49
Dt_DEF_TRANSLATOR_NAME
(
"Fire"
);
50
52
DtFireInteractionTranslator
(
DtBroker
* broker );
53
55
virtual
~
DtFireInteractionTranslator
();
56
60
61
virtual
void
initializeDdsCallbacks();
62
virtual
void
removeDdsCallbacks();
63
65
67
virtual
DtPortalFireInteraction
* translate(
DtPortalFireInteraction
* destination,
68
const
simpleOM::simpleFireInteraction
& source );
69
71
virtual
simpleOM::simpleFireInteraction
* translate(
72
simpleOM::simpleFireInteraction
* destination,
73
const
DtPortalFireInteraction
& source );
74
75
virtual
void
printDDSInteraction(
76
const
simpleOM::simpleFireInteraction
& fireInter )
const
;
77
78
private
:
79
81
DtFireInteractionTranslator
(
const
DtFireInteractionTranslator
& other );
82
84
DtFireInteractionTranslator
& operator = (
const
DtFireInteractionTranslator
& other );
85
87
bool
operator == (
const
DtFireInteractionTranslator
& );
88
90
bool
operator != (
const
DtFireInteractionTranslator
& );
91
92
};
93
94
}
95
}
Document ID: Generated on Thu Jul 23 10:25:22 EDT 2015 from SVN revision 155065
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)