VR-Exchange 2.2 API Documentation
disBroker/libDisBroker/repairResponseTrans.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/transCtlInter.h>
15 
16 class DtRepairResponsePdu;
17 typedef DtRepairResponsePdu DtRepairResponseInteraction;
18 
19 namespace MAKVrExchange
20 {
21 
22  namespace DtDisBroker
23  {
24 
25  class DtDisBroker;
26 
31  {
32  public:
33 
34  Dt_DEF_TRANSLATOR_NAME( "Repair Response" );
35 
39 
44 
46  virtual void enableTranslator(bool enabled);
47 
64  virtual DtPortalRepairResponseInteraction* translate(
66  const DtRepairResponseInteraction& source );
67 
86  virtual DtRepairResponseInteraction* translate( DtRepairResponseInteraction* destination,
87  const DtPortalRepairResponseInteraction& source );
88 
89  protected:
90 
99  virtual void createDisInteraction(const DtPortalRepairResponseInteraction& incoming);
100 
109  virtual void createPortalInteraction( const DtRepairResponseInteraction& incoming );
110 
111  protected:
112 
124  static void receiveDisInteraction(DtRepairResponsePdu *viewcontrol, void *usr);
125 
138  static void receivePortalInteraction( const DtPortalRepairResponseInteraction &viewcontrol, void *usr);
139 
140  };
141 
142  }
143 }

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)