VR-Exchange 2.2 API Documentation
eventReportInTrans.h
Go to the documentation of this file.
1 /*********************************************************************
2  ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 
6 #ifndef eventReportInTrans_H_
7 #define eventReportInTrans_H_
8 
12 
13 
15 #include "interactionTrans.h"
16 #include <vl/eventRepInter.h>
17 
18 namespace MAKVrExchange {
19  namespace DtDisBroker {
20 
21  class DtDisBroker;
22 
28  {
29  public:
30 
31  Dt_DEF_TRANSLATOR_NAME( "Event Report" );
32 
37 
42 
44  virtual void enableTranslator(bool enabled);
45 
62  virtual DtPortalEventReportInteraction* translate(
63  DtPortalEventReportInteraction* destination,
64  const DtEventReportInteraction& source );
65 
84  virtual DtEventReportInteraction* translate(
85  DtEventReportInteraction* destination,
86  const DtPortalEventReportInteraction& source );
87 
88  protected:
98  virtual void createDisInteraction(const DtPortalEventReportInteraction& incoming);
99 
109  virtual void createPortalInteraction( const DtEventReportInteraction& incoming );
110 
111  protected:
124  static void receiveDisInteraction(DtEventReportInteraction *eventRpt, void *usr);
125 
138  static void receivePortalInteraction(
139  const DtPortalEventReportInteraction &eventRpt, void *usr);
140  };
141  }
142 }
143 
144 #endif

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)