VR-Exchange 2.6 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
rprBroker/rprBroker/emitterSystemTranslator.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2016 VT MAK
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
13 #include <vl/reflectedEmitterSystemList.h>
14 #include <vl/emitterSystemPublisher.h>
15 
16 class DtEmitterBeamRepository;
17 class DtReflectedEmitterSystem;
18 class DtEmitterSystemRepository;
19 
20 #define EMITTER_TEMPLATE_ARGS \
21  DtPortalEmitterSystemObject, DtPortalReflectedEmitterSystemObject, \
22  DtReflectedEmitterSystem, DtReflectedEmitterSystemList, \
23  DtEmitterSystemRepository, DtEmitterSystemPublisher
24 
25 namespace MAKVrExchange
26 {
27 
28  namespace DtRprBroker
29  {
30 
34  : public DtEmbeddedSystemTranslator<EMITTER_TEMPLATE_ARGS>
35  {
36  public:
37 
39  Dt_DEF_TRANSLATOR_NAME( "Emitter System" );
40 
43 
45  virtual ~DtEmitterSystemTranslator();
46 
47  virtual DtEmitterBeamData* translate( DtEmitterBeamData* destination,
48  const DtEmitterBeamRepository& source );
49 
65  virtual DtPortalEmitterSystemObject* translate( DtPortalEmitterSystemObject* destination,
66  const DtEmitterSystemRepository& source, const DtReflectedEmitterSystem& refObj );
67 
84  virtual DtEmitterBeamRepository* translate( DtEmitterBeamRepository* destination,
85  const DtEmitterBeamData& source );
86 
101  virtual DtEmitterSystemRepository* translate(
102  DtEmitterSystemRepository* destination,
103  const DtPortalEmitterSystemObject& source,
104  const DtPortalReflectedEmitterSystemObject& refObj );
105 
106  protected:
107 
110  virtual DtEmitterSystemPublisher* instantiateRprPublisher(
112  const DtString& objectName );
113 
116  virtual bool isRprPublishable( DtBrokerObject* brokerObj,
117  const DtPortalReflectedEmitterSystemObject* refObj );
118 
119  };
120 
121  }
122 }

Document ID: Generated on Wed Jan 30 18:15:18 EST 2019 from SVN revision 195534
Copyright © 2005-2019 VT MÄK. All Rights Reserved (www.mak.com)