WebLVC 1.8 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
tenaBroker/tenaBroker/radioTransmitterTranslator.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2016 MAK Technologies, Inc.
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
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( 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 }
#define DT_DLL_TENABROKER
Definition: brokers/tenaBroker/tenaBroker/dllExport.h:26
Provides container to hold pointers to Protocol/Portal objects.
Definition: brokerObject.h:24
ObjectType
Definition: tenaBroker/tenaBroker/globalIdMapper.h:55
Contains the TENA DtRadioTransmitterPublisher class declaration.
A simple template class to hold different types of State Repositories.
Definition: pObjectPublisher.h:68
Provides Radio Transmitter object translation between TENA and the VR-Exchange Portal.
Definition: tenaBroker/tenaBroker/radioTransmitterTranslator.h:30
Base class for all broker objects.
Definition: broker.h:58
A template to create reflected object types for each type of object message.
Definition: pReflectedObject.h:58
Base class for all TENA object translators.
Definition: tenaTranslator.h:88
Contains the DtReflectedRadioTransmitterList class declaration.
#define Dt_DEF_TRANSLATOR_NAME(strname)
Definition: translator.h:16
Portal Radio Transmitter Object class.
Definition: pRadioTransmitterObject.h:19

Document ID: Generated on Wed Mar 12 15:05:17 EDT 2025 from SVN revision 274272
Copyright © 2005-2025 MAK Technologies. All Rights Reserved (www.mak.com)