VR-Exchange 2.2 API Documentation
genericInTrans.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2013 VT MAK
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include "rprTrans.h"
13 #include <portal/pGenericInter.h>
14 #include <vl/hUnknownInter.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
32 
35  template <>
36  DT_DLL_RPRBROKER void
38 
39 
46  class DT_DLL_RPRBROKER DtGenericInteractionTranslator
47  : public DtRprInteractionTranslator<GENERICIN_TEMPLATE_ARGS>
48  {
49  public:
50 
53  const DtString& interactionClassName );
54 
57 
60  virtual void enableTranslator( bool enabled );
61 
78  virtual DtPortalGenericInteraction* translate(
79  DtPortalGenericInteraction* destination,
80  const DtUnknownInteraction& source );
81 
101  virtual DtUnknownInteraction* translate( DtUnknownInteraction* destination,
102  const DtPortalGenericInteraction& source );
103 
104  protected:
105 
108  virtual void createHlaInteraction( const DtPortalGenericInteraction& in );
109 
110  protected:
111 
113 
114  };
115 
116  }
117 }

Document ID: Generated on Mon Apr 15 17:15:50 EDT 2013 from SVN revision 126154
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)