VR-Exchange 2.2 API Documentation
commentInTrans.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 <portal/pCommentInter.h>
13 #include "interactionTrans.h"
14 #include <vl/commentInter.h>
15 
16 namespace MAKVrExchange
17 {
18 
19  namespace DtDisBroker
20  {
21 
22  class DtDisBroker;
23 
29  {
30  public:
31 
32  Dt_DEF_TRANSLATOR_NAME( "Comment" );
33 
38 
43 
45  virtual void enableTranslator(bool enabled);
46 
63  virtual DtPortalCommentInteraction* translate(
64  DtPortalCommentInteraction* destination,
65  const DtCommentInteraction& source );
66 
85  virtual DtCommentInteraction* translate(
86  DtCommentInteraction* destination,
87  const DtPortalCommentInteraction& source );
88 
89  protected:
99  virtual void createDisInteraction(const DtPortalCommentInteraction& incoming);
100 
110  virtual void createPortalInteraction( const DtCommentInteraction& incoming );
111 
112  protected:
125  static void receiveDisInteraction(DtCommentInteraction *comment, void *usr);
126 
139  static void receivePortalInteraction(
140  const DtPortalCommentInteraction &comment, void *usr);
141 
142  };
143 
144  }
145 }

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)