VR-Exchange 2.2 API Documentation
tenaBroker/libTenaBroker/stopTrans.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 "interactionTrans.h" //DtInteractionTranslator
13 
14 class DtStopFreezeInteraction;
15 
16 namespace MAKVrExchange
17 {
18 
19  class DtPortalStopInteraction;
20 
21  namespace DtTenaBroker
22  {
23 
24  class DtTenaBroker;
25 
29  class DT_DLL_TENABROKER DtStopInteractionTranslator : public DtInteractionTranslator
30  {
31  public:
32 
34  Dt_DEF_TRANSLATOR_NAME( "Stop" );
35 
39 
43  virtual ~DtStopInteractionTranslator();
44 
46  virtual void enableTranslator(bool enabled);
47 
64  virtual DtPortalStopInteraction* translate( DtPortalStopInteraction* destination,
65  const DtStopFreezeInteraction& source );
66 
85  virtual DtStopFreezeInteraction* translate( DtStopFreezeInteraction* destination,
86  const DtPortalStopInteraction& source );
87 
88  protected:
89 
98  virtual void createTenaInteraction( const DtPortalStopInteraction& incoming );
99 
108  virtual void createPortalInteraction( const DtStopFreezeInteraction& incoming );
109 
122  static void receiveTenaInteraction( DtStopFreezeInteraction* interaction,
123  void* userData );
124 
137  static void receivePortalInteraction( const DtPortalStopInteraction& interaction,
138  void* userData );
139 
140  private:
141 
144 
147 
149  int operator==( const DtStopInteractionTranslator& );
150 
152  int operator!=( const DtStopInteractionTranslator& );
153 
154  };
155 
156  }
157 }

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)