VR-Exchange 2.2 API Documentation
baseInteractionTranslator.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2012 VT MAK
3  * All rights reserved.
4  ****************************************************************************/
5 
6 #pragma once
7 
8 #include <broker/translator.h>
9 
10 #define INTERACTION_TRANSLATOR_TEMPLATE_LIST \
11  template \
12  < class T_DtPortalInteraction, class T_ParentClass >
13 
14 namespace MAKVrExchange
15 {
17  {
18  public:
19 
22 
23  virtual void initializePortalCallbacks() = 0;
24  virtual void removePortalCallbacks() = 0;
25 
26  virtual void enableTranslator( bool enabled );
27  };
28 
35  {
37  DtInteractionTranslator( DtBroker* broker, const DtString& name, DtPortalMessageKind kind );
38 
40  virtual ~DtInteractionTranslator();
41 
42  virtual void initializePortalCallbacks();
43  virtual void removePortalCallbacks();
44 
45  static void receivePortalInteraction( const T_DtPortalInteraction& inter, void* usr );
46  virtual void createInteraction( const T_DtPortalInteraction& incoming ) = 0;
47  };
48 
49 };

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)