VR-Exchange 2.4 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
tenaBroker/tenaBroker/radioTransmitterTrans.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/radioTransmitterRepository.h>
16 
17 #define RADIO_XMIT_TEMPLATE_ARGS \
18  DtPortalRadioTransmitterObject, DtPortalReflectedRadioTransmitterObject, \
19  DtReflectedRadioTransmitter, DtReflectedRadioTransmitterList, \
20  DtRadioTransmitterRepository, DtRadioTransmitterPublisher
21 
22 namespace MAKVrExchange
23 {
24 
25  namespace DtTenaBroker
26  {
27 
31  : public DtTenaObjectTranslator<RADIO_XMIT_TEMPLATE_ARGS>
32  {
33  public:
34 
36  Dt_DEF_TRANSLATOR_NAME( "Radio Transmitter" );
37 
40 
43 
44  protected:
45 
48  virtual bool isTenaPublishable( const DtBrokerObject* brokerObj,
50 
52  virtual DtString tenaObjectName(
53  const DtPortalReflectedRadioTransmitterObject* refObj ) const;
54 
57  virtual DtObjectPublisher* instantiateTenaPublisher(
59  const DtEntityIdentifier& objectName );
60 
63  virtual bool performTenaGlobalIdMapping( const DtObjectPublisher* publisher,
65  DtGlobalIdMapper::ObjectType type /* = DtGlobalIdMapper::EntityType */,
66  int systemId /* = DtGlobalIdMapper::NoSystemId */,
67  int beamId /* = DtGlobalIdMapper::NoBeamId */ );
68 
71  virtual DtString portalObjectName( const DtReflectedRadioTransmitter* refObj ) const;
72 
75  virtual bool performPortalGlobalIdMapping(
77  const DtReflectedRadioTransmitter& refObj,
78  DtGlobalIdMapper::ObjectType type /* = DtGlobalIdMapper::EntityType */,
79  int systemId /* = DtGlobalIdMapper::NoSystemId */,
80  int beamId /* = DtGlobalIdMapper::NoBeamId */ );
81 
83  virtual DtPortalRadioTransmitterObject* translate(
84  DtPortalRadioTransmitterObject* destination,
85  const DtRadioTransmitterRepository& source,
86  const DtReflectedRadioTransmitter& refObj );
87 
89  virtual DtRadioTransmitterRepository* translate(
90  DtRadioTransmitterRepository* destination,
91  const DtPortalRadioTransmitterObject& source,
93 
94  };
95 
96  }
97 }

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)