VR-Exchange 2.2 API Documentation
disBroker/libDisBroker/stopTrans.h
Go to the documentation of this file.
1 /******************************************************************************
2  ** Copyright (c) 1992-2010 VT MAK
3 ******************************************************************************/
4 
8 
9 #pragma once
10 
11 #include "interactionTrans.h"
12 #include <vl/stopInter.h>
13 
14 namespace MAKVrExchange
15 {
16 
17  class DtPortalStopInteraction;
18 
19  namespace DtDisBroker
20  {
21 
22  class DtDisBroker;
23 
28  class DT_DLL_DISBROKER DtStopInteractionTranslator : public DtInteractionTranslator
29  {
30  public:
31 
32  Dt_DEF_TRANSLATOR_NAME( "Stop" );
33 
38 
42  virtual ~DtStopInteractionTranslator();
43 
45  virtual void enableTranslator(bool enabled);
46 
63  virtual DtPortalStopInteraction* translate(
64  DtPortalStopInteraction* destination, const DtStopFreezeInteraction& source );
65 
84  virtual DtStopFreezeInteraction* translate( DtStopFreezeInteraction* destination,
85  const DtPortalStopInteraction& source );
86 
87  protected:
88 
97  virtual void createDisInteraction( const DtPortalStopInteraction& incoming );
98 
107  virtual void createPortalInteraction( const DtStopFreezeInteraction& incoming );
108 
121  static void receiveDisInteraction( DtStopFreezeInteraction* interaction,
122  void* userData );
123 
136  static void receivePortalInteraction( const DtPortalStopInteraction& interaction,
137  void* userData );
138 
139  private:
140 
143 
146 
148  int operator==( const DtStopInteractionTranslator& );
149 
151  int operator!=( const DtStopInteractionTranslator& );
152 
153  }; //end class DtStopInteractionTranslator
154 
155  }
156 }

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)