VR-Exchange 2.1 API Documentation
disBroker/actionResponseInTrans.h
Go to the documentation of this file.
1 /*********************************************************************
2  ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 
6 #ifndef actionResponseInTrans_H_
7 #define actionResponseInTrans_H_
8 
12 
13 
16 #include <vl/actRespInter.h>
17 
18 namespace MAKVrExchange
19 {
20  namespace DtDisBroker
21  {
22 
23  class DtDisBroker;
24 
30  {
31  public:
36 
41 
45  virtual const char* virtualTranslatorName() const
46  { return translatorName(); }
47 
49  virtual void enableTranslator(bool enabled);
50 
56  static const char* translatorName() { return "Action Response"; }
57 
74  virtual DtPortalActionResponseInteraction* translate(
76  const DtActionResponseInteraction& source );
77 
96  virtual DtActionResponseInteraction* translate(
97  DtActionResponseInteraction* destination,
98  const DtPortalActionResponseInteraction& source );
99 
100  protected:
110  virtual void createDisInteraction(const DtPortalActionResponseInteraction& incoming);
111 
121  virtual void createPortalInteraction( const DtActionResponseInteraction& incoming );
122 
123  protected:
136  static void receiveDisInteraction(DtActionResponseInteraction *data, void *usr);
137 
150  static void receivePortalInteraction(
151  const DtPortalActionResponseInteraction &data, void *usr);
152  };
153  }
154 }
155 
156 #endif

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)