VR-Exchange 2.4 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
rprBroker/rprBroker/emitterSystemTrans.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/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 
46 
48  virtual void updatePortalBrokerObject( DtBrokerObject* brokerObj,
49  const DtPortalEmitterSystemObject& sr );
50 
51  virtual DtEmitterBeamData* translate( DtEmitterBeamData* destination,
52  const DtEmitterBeamRepository& source );
53 
69  virtual DtPortalEmitterSystemObject* translate( DtPortalEmitterSystemObject* destination,
70  const DtEmitterSystemRepository& source, const DtReflectedEmitterSystem& refObj );
71 
88  virtual DtEmitterBeamRepository* translate( DtEmitterBeamRepository* destination,
89  const DtEmitterBeamData& source );
90 
105  virtual DtEmitterSystemRepository* translate(
106  DtEmitterSystemRepository* destination,
107  const DtPortalEmitterSystemObject& source,
108  const DtPortalReflectedEmitterSystemObject& refObj );
109 
110  protected:
111 
114  virtual DtEmitterSystemPublisher* instantiateRprPublisher(
116  const DtString& objectName );
117 
120  virtual bool isRprPublishable( const DtBrokerObject* brokerObj,
121  const DtPortalReflectedEmitterSystemObject* refObj );
122 
123  };
124 
125  }
126 }

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)