VR-Exchange 2.4 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
tenaBroker/tenaBroker/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 
12 #include <tenaBroker/tenaTrans.h>
15 #include <vl/emitterSystemRepository.h>
16 
17 #define EMITTER_TEMPLATE_ARGS \
18  DtPortalEmitterSystemObject, DtPortalReflectedEmitterSystemObject, \
19  DtReflectedEmitterSystem, DtReflectedEmitterSystemList, \
20  DtEmitterSystemRepository, DtEmitterSystemPublisher
21 
22 namespace MAKVrExchange
23 {
24 
25  namespace DtTenaBroker
26  {
27 
31  : public DtTenaObjectTranslator<EMITTER_TEMPLATE_ARGS>
32  {
33  public:
34 
36  Dt_DEF_TRANSLATOR_NAME( "Emitter System" );
37 
40 
43 
44  protected:
45 
48  virtual bool isTenaPublishable( const DtBrokerObject* brokerObj,
50 
52  virtual DtString tenaObjectName( const DtPortalReflectedEmitterSystemObject* refObj ) const;
53 
56  virtual DtObjectPublisher* instantiateTenaPublisher(
58  const DtEntityIdentifier& objectName );
59 
62  virtual bool performTenaGlobalIdMapping( const DtObjectPublisher* publisher,
64  DtGlobalIdMapper::ObjectType type /* = DtGlobalIdMapper::EntityType */,
65  int systemId /* = DtGlobalIdMapper::NoSystemId */,
66  int beamId /* = DtGlobalIdMapper::NoBeamId */ );
67 
70  virtual DtString portalObjectName( const DtReflectedEmitterSystem* refObj ) const;
71 
73  virtual DtPortalEmitterSystemObject* translate(
74  DtPortalEmitterSystemObject* destination,
75  const DtEmitterSystemRepository& source,
76  const DtReflectedEmitterSystem& refObj );
77 
79  virtual DtEmitterBeamData* translate( DtEmitterBeamData* destination,
80  const DtEmitterBeamRepository& source );
81 
83  virtual DtEmitterSystemRepository* translate(
84  DtEmitterSystemRepository* destination,
85  const DtPortalEmitterSystemObject& source,
87 
89  virtual DtEmitterBeamRepository* translate(
90  DtEmitterBeamRepository* destination,
91  const DtEmitterBeamData& source );
92 
93  };
94 
95  }
96 }

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)