WebLVC 1.7d API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
rprBroker/rprBroker/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/radioTransmitterPublisher.h>
14 #include <vl/reflectedRadioTransmitterList.h>
15 
16 class DtReflectedRadioTransmitter;
17 class DtRadioTransmitterRepository;
18 
19 #define RADIOXMIT_TEMPLATE_ARGS \
20  DtPortalRadioTransmitterObject, DtPortalReflectedRadioTransmitterObject, \
21  DtReflectedRadioTransmitter, DtReflectedRadioTransmitterList, \
22  DtRadioTransmitterRepository, DtRadioTransmitterPublisher
23 
24 namespace MAKVrExchange
25 {
26 
27  namespace DtRprBroker
28  {
29 
33  : public DtEmbeddedSystemTranslator<RADIOXMIT_TEMPLATE_ARGS>
34  {
35  public:
36 
38  Dt_DEF_TRANSLATOR_NAME( "Radio Transmitter" );
39 
42 
45 
62  virtual DtPortalRadioTransmitterObject* translate(
63  DtPortalRadioTransmitterObject* destination,
64  const DtRadioTransmitterRepository& source,
65  const DtReflectedRadioTransmitter& refObj );
66 
85  virtual DtRadioTransmitterRepository* translate(
86  DtRadioTransmitterRepository* destination,
87  const DtPortalRadioTransmitterObject& source,
89 
90  protected:
91 
94  virtual bool isRprPublishable( DtBrokerObject* brokerObj,
96 
97  };
98 
99  }
100 }
Provides container to hold pointers to Protocol/Portal objects.
Definition: brokerObject.h:24
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
#define DT_DLL_RPRBROKER
Definition: brokers/rprBroker/rprBroker/dllExport.h:22
Base class for all embedded system translators.
Definition: rprBroker/rprBroker/embeddedSystemTranslator.h:44
#define Dt_DEF_TRANSLATOR_NAME(strname)
Definition: translator.h:16
Provides Radio Transmitter object translation between HLA and the VR-Exchange Portal.
Definition: rprBroker/rprBroker/radioTransmitterTranslator.h:32
Portal Radio Transmitter Object class.
Definition: pRadioTransmitterObject.h:19

Document ID: Generated on Wed Jun 21 15:05:44 EDT 2023 from SVN revision 256253
Copyright © 2005-2023 MAK Technologies. All Rights Reserved (www.mak.com)