VR-Exchange 2.4 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
rprBroker/rprBroker/iffTrans.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2015 VT MAK
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
13 #include <vl/reflectedIffList.h>
14 #include <vl/iffPublisher.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  {
29 
32  template <>
33  DT_DLL_RPRBROKER DtIffPublisher*
35  const DtPortalReflectedIffObject* refObj, const DtString& name );
36 
37 
41  : public DtEmbeddedSystemTranslator<IFF_TEMPLATE_ARGS>
42  {
43  public:
44 
46  Dt_DEF_TRANSLATOR_NAME( "IFF" );
47 
50 
52  virtual ~DtIffObjectTranslator();
53 
55  virtual void updatePortalBrokerObject( DtBrokerObject* brokerObj,
56  const DtPortalIffObject& sr );
57 
73  virtual DtPortalIffObject* translate( DtPortalIffObject* destination,
74  const DtIffStateRepository& source, const DtReflectedIff& refObj );
75 
92  virtual DtIffStateRepository* translate( DtIffStateRepository* destination,
93  const DtPortalIffObject& source, const DtPortalReflectedIffObject& refObj );
94 
95  protected:
96 
99  virtual bool isRprPublishable( const DtBrokerObject* brokerObj,
100  const DtPortalReflectedIffObject* refObj );
101 
102  };
103 
104  }
105 }

Document ID: Generated on Thu Jul 23 10:25:22 EDT 2015 from SVN revision 155065
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)