VR-Exchange 2.6 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
disBroker/disBroker/radioTransmitterTranslator.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/reflectedRadioTransmitterList.h>
14 #include <vl/radioTransmitterPublisher.h>
15 
16 class DtReflectedRadioTransmitter;
17 class DtRadioTransmitterRepository;
18 
19 #define RADIO_XMIT_TEMPLATE_ARGS \
20  DtPortalRadioTransmitterObject, DtPortalReflectedRadioTransmitterObject, \
21  DtReflectedRadioTransmitter, DtReflectedRadioTransmitterList, \
22  DtRadioTransmitterRepository, DtRadioTransmitterPublisher
23 
24 namespace MAKVrExchange
25 {
26 
27  class DtPortalRadioTransmitterObject;
28 
29  namespace DtDisBroker
30  {
31 
32  template <>
33  DT_DLL_DISBROKER DtEntityIdentifier
36  const DtString& identifier );
37 
38  template <>
39  DT_DLL_DISBROKER DtObjectPublisher*
42  const DtEntityIdentifier& name );
43 
44 
48  : public DtEmbeddedSystemTranslator<RADIO_XMIT_TEMPLATE_ARGS>
49  {
50  public:
51 
53  Dt_DEF_TRANSLATOR_NAME( "Radio Transmitter" );
54 
57 
60 
61  protected:
62 
65  virtual bool isDisPublishable( DtBrokerObject* brokerObj,
67 
70  virtual bool performDisGlobalIdMapping( const DtObjectPublisher* publisher,
72  DtGlobalIdMapper::ObjectType type /* = DtGlobalIdMapper::EntityType */,
73  int systemId /* = DtGlobalIdMapper::NoSystemId */,
74  int beamId /* = DtGlobalIdMapper::NoBeamId */ );
75 
78  virtual DtString portalObjectName( const DtReflectedRadioTransmitter* refObj ) const;
79 
82  virtual bool performPortalGlobalIdMapping(
84  const DtReflectedRadioTransmitter& refObj,
85  DtGlobalIdMapper::ObjectType type /* = DtGlobalIdMapper::EntityType */,
86  int systemId /* = DtGlobalIdMapper::NoSystemId */,
87  int beamId /* = DtGlobalIdMapper::NoBeamId */ );
88 
91  virtual void deleteDisPublisher( DtBrokerObject* brokerObject );
92 
94  virtual DtPortalRadioTransmitterObject* translate( DtPortalRadioTransmitterObject* destination,
95  const DtRadioTransmitterRepository& source, const DtReflectedRadioTransmitter& refObj );
96 
98  virtual DtRadioTransmitterRepository* translate( DtRadioTransmitterRepository* destination,
100 
101  };
102 
103  }
104 }
105 

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)