VR-Exchange 2.2 API Documentation
disBroker/libDisBroker/createEntityInTrans.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"
14 #include <vl/creatEntInt.h>
15 
16 namespace MAKVrExchange
17 {
18 
19  namespace DtDisBroker
20  {
21 
22  class DtDisBroker;
23 
27  class DT_DLL_DISBROKER DtCreateEntityInteractionTranslator
29  {
30  public:
31 
32  Dt_DEF_TRANSLATOR_NAME( "Create Entity" );
33 
37 
42 
44  virtual void enableTranslator(bool enabled);
45 
62  virtual DtPortalCreateEntityInteraction* translate(
63  DtPortalCreateEntityInteraction* destination, const DtCreateEntityInteraction& source );
64 
83  virtual DtCreateEntityInteraction* translate( DtCreateEntityInteraction* destination,
84  const DtPortalCreateEntityInteraction& source );
85 
86  protected:
87 
96  virtual void createDisInteraction( const DtPortalCreateEntityInteraction& incoming );
97 
106  virtual void createPortalInteraction( const DtCreateEntityInteraction& incoming );
107 
108  protected:
109 
121  static void receiveDisInteraction(DtCreateEntityInteraction *createentity, void *usr);
122 
135  static void receivePortalInteraction( const DtPortalCreateEntityInteraction &createentity, void *usr);
136 
137  };
138 
139  }
140 }

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)