VR-Exchange 2.1 API Documentation
disBroker/transferControlTrans.h
Go to the documentation of this file.
1 /*********************************************************************
2  ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 
6 
7 #pragma once
8 
10 #include <disBroker/interactionTrans.h> //DtInteractionTranslator
11 #include <vl/transCtlInter.h>
12 
13 namespace MAKVrExchange {
14  namespace DtDisBroker {
15 
16  class DtDisBroker;
17 
22  {
23  public:
27 
32 
36  virtual const char* virtualTranslatorName() const { return translatorName(); }
37 
39  virtual void enableTranslator(bool enabled);
40 
46  static const char* translatorName() { return "Transfer Control"; }
47 
65  const DtTransferControlInteraction& source );
66 
85  virtual DtTransferControlInteraction* translate( DtTransferControlInteraction* destination,
86  const DtPortalTransferControlInteraction& source );
87 
88  protected:
97  virtual void createDisInteraction(const DtPortalTransferControlInteraction& incoming);
98 
107  virtual void createPortalInteraction( const DtTransferControlInteraction& incoming );
108 
109  protected:
121  static void receiveDisInteraction(DtTransferControlRequestPdu *viewcontrol, void *usr);
122 
135  static void receivePortalInteraction( const DtPortalTransferControlInteraction &viewcontrol, void *usr);
136  };
137  }
138 }
139 
140 

Document ID: Generated on Tue Aug 7 22:07:13 EDT 2012 from SVN revision 117874
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)