VR-Exchange 2.1 API Documentation
disBroker/detInTrans.h
Go to the documentation of this file.
1 /*********************************************************************
2  ** Copyright (c) 1992-2010 VT MAK
3 *********************************************************************/
4 #pragma once
5 
9 
10 
12 #include "interactionTrans.h"
13 #include <vl/detonateInter.h>
14 
15 namespace MAKVrExchange
16 {
17  namespace DtDisBroker
18  {
19 
20 
25  {
26  public:
27 
31 
36 
40  virtual const char* virtualTranslatorName() const;
41 
43  virtual void enableTranslator(bool enabled);
44 
50  static const char* translatorName();
51 
68  virtual DtPortalDetonationInteraction* translate( DtPortalDetonationInteraction* destination,
69  const DtDetonationInteraction& source );
70 
89  virtual DtDetonationInteraction* translate( DtDetonationInteraction* destination,
90  const DtPortalDetonationInteraction& source );
91 
92  protected:
93 
102  virtual void createDisInteraction(const DtPortalDetonationInteraction& incoming);
103 
112  virtual void createPortalInteraction( const DtDetonationInteraction& incoming );
113 
114  protected:
115 
128  static void receiveDisInteraction(DtDetonationInteraction *interaction, void *userData);
129 
142  static void receivePortalInteraction( const DtPortalDetonationInteraction &interaction, void *userData);
143 
144  };
145 
147  {
148  return translatorName();
149  }
150 
152  {
153  return "Detonation";
154  }
155  }
156 }
157 

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)