VR-Exchange 2.1 API Documentation
disBroker/resupplyReceivedTrans.h
Go to the documentation of this file.
1 /*********************************************************************
2  ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 
6 
7 #pragma once
8 
10 #include <disBroker/interactionTrans.h> //DtInteractionTranslator
11 #include <vl/resupplyInter.h>
12 
13 namespace MAKVrExchange {
14  namespace DtDisBroker {
15 
16  class DtDisBroker;
17 
18 
23  {
24  public:
28 
33 
37  virtual const char* virtualTranslatorName() const { return translatorName(); }
38 
40  virtual void enableTranslator(bool enabled);
41 
47  static const char* translatorName() { return "Resupply Received"; }
48 
65 
67  const DtResupplyRecInteraction& source );
68 
87  virtual DtResupplyRecInteraction* translate( DtResupplyRecInteraction* destination,
89 
90  protected:
99  virtual void createDisInteraction(const DtPortalResupplyReceivedInteraction& incoming);
100 
109  virtual void createPortalInteraction( const DtResupplyRecInteraction& incoming );
110 
111  protected:
123  static void receiveDisInteraction(DtResupplyReceivedPdu *viewcontrol, void *usr);
124 
137  static void receivePortalInteraction( const DtPortalResupplyReceivedInteraction &viewcontrol, void *usr);
138  };
139  }
140 }
141 
142 

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)