VR-Exchange 2.1 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:
34 
39 
43  virtual const char* virtualTranslatorName() const
44  { return translatorName(); }
45 
47  virtual void enableTranslator(bool enabled);
48 
54  static const char* translatorName() { return "Event Report"; }
55 
72  virtual DtPortalEventReportInteraction* translate(
73  DtPortalEventReportInteraction* destination,
74  const DtEventReportInteraction& source );
75 
94  virtual DtEventReportInteraction* translate(
95  DtEventReportInteraction* destination,
96  const DtPortalEventReportInteraction& source );
97 
98  protected:
108  virtual void createDisInteraction(const DtPortalEventReportInteraction& incoming);
109 
119  virtual void createPortalInteraction( const DtEventReportInteraction& incoming );
120 
121  protected:
134  static void receiveDisInteraction(DtEventReportInteraction *eventRpt, void *usr);
135 
148  static void receivePortalInteraction(
149  const DtPortalEventReportInteraction &eventRpt, void *usr);
150  };
151  }
152 }
153 
154 #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)