VR-Exchange 2.5 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
tenaBroker/tenaBroker/radioReceiverTranslator.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 
15 #include <vl/radioReceiverRepository.h>
16 
17 #define RADIO_RECV_TEMPLATE_ARGS \
18  DtPortalRadioReceiverObject, DtPortalReflectedRadioReceiverObject, \
19  DtReflectedRadioReceiver, DtReflectedRadioReceiverList, \
20  DtRadioReceiverRepository, DtRadioReceiverPublisher
21 
22 namespace MAKVrExchange
23 {
24 
25  namespace DtTenaBroker
26  {
27 
31  : public DtTenaObjectTranslator<RADIO_RECV_TEMPLATE_ARGS>
32  {
33  public:
34 
36  Dt_DEF_TRANSLATOR_NAME( "Radio Receiver" );
37 
40 
42  virtual ~DtRadioReceiverTranslator();
43 
44  protected:
45 
48  virtual bool isTenaPublishable( DtBrokerObject* brokerObj,
50 
52  virtual DtString tenaObjectName( const DtPortalReflectedRadioReceiverObject* 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 DtReflectedRadioReceiver* refObj ) const;
71 
74  virtual bool performPortalGlobalIdMapping(
75  const DtPortalRadioReceiverObjectPublisher* publisher,
76  const DtReflectedRadioReceiver& refObj,
77  DtGlobalIdMapper::ObjectType type /* = DtGlobalIdMapper::EntityType */,
78  int systemId /* = DtGlobalIdMapper::NoSystemId */,
79  int beamId /* = DtGlobalIdMapper::NoBeamId */ );
80 
82  virtual DtPortalRadioReceiverObject* translate(
83  DtPortalRadioReceiverObject* destination,
84  const DtRadioReceiverRepository& source,
85  const DtReflectedRadioReceiver& refObj );
86 
88  virtual DtRadioReceiverRepository* translate(
89  DtRadioReceiverRepository* destination,
90  const DtPortalRadioReceiverObject& source,
92 
93  };
94 
95  }
96 }

Document ID: Generated on Wed Dec 21 15:05:11 EST 2016 from SVN revision 171891
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)