VR-Exchange 2.2 API Documentation
rprBroker/libRprBroker/iffTrans.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 "embeddedSystemTrans.h"
13 #include <vl/refIffList.h>
14 #include <vl/iffPub.h>
15 
16 class DtReflectedIff;
17 class DtIffStateRepository;
18 
19 #define IFF_TEMPLATE_ARGS \
20  DtPortalIffObject, DtPortalReflectedIffObject, \
21  DtReflectedIff, DtReflectedIffList, \
22  DtIffStateRepository, DtIffPublisher
23 
24 namespace MAKVrExchange
25 {
26 
27  namespace DtRprBroker
28  {
31  template <>
32  DT_DLL_RPRBROKER DtIffPublisher*
34  const DtPortalReflectedIffObject* refObj, const DtString& name );
35 
36 
39  class DT_DLL_RPRBROKER DtIffObjectTranslator
40  : public DtEmbeddedSystemTranslator<IFF_TEMPLATE_ARGS>
41  {
42  public:
43 
45  Dt_DEF_TRANSLATOR_NAME( "IFF" );
46 
48  DtIffObjectTranslator( DtRprBroker *hlaBroker );
49 
51  virtual ~DtIffObjectTranslator();
52 
68  virtual DtPortalIffObject* translate( DtPortalIffObject* destination,
69  const DtIffStateRepository& source, const DtReflectedIff& refObj );
70 
87  virtual DtIffStateRepository* translate( DtIffStateRepository* destination,
88  const DtPortalIffObject& source, const DtPortalReflectedIffObject& refObj );
89 
90  protected:
91 
94  virtual bool isDiscoverable( const DtBrokerObject* brokerObj,
95  const DtPortalReflectedIffObject* refObj ) const;
96 
97  };
98 
99  }
100 }

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)