VR-Exchange 2.7 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
rprBroker/rprBroker/emitterSystemTranslator.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/reflectedEmitterSystemList.h>
14 #include <vl/emitterSystemPublisher.h>
15 
16 class DtEmitterBeamRepository;
17 class DtReflectedEmitterSystem;
18 class DtEmitterSystemRepository;
19 
20 #define EMITTER_TEMPLATE_ARGS \
21  DtPortalEmitterSystemObject, DtPortalReflectedEmitterSystemObject, \
22  DtReflectedEmitterSystem, DtReflectedEmitterSystemList, \
23  DtEmitterSystemRepository, DtEmitterSystemPublisher
24 
25 namespace MAKVrExchange
26 {
27 
28  namespace DtRprBroker
29  {
30 
34  : public DtEmbeddedSystemTranslator<EMITTER_TEMPLATE_ARGS>
35  {
36  public:
37 
39  Dt_DEF_TRANSLATOR_NAME( "Emitter System" );
40 
43 
45  virtual ~DtEmitterSystemTranslator();
46 
47  virtual DtEmitterBeamData* translate( DtEmitterBeamData* destination,
48  const DtEmitterBeamRepository& source );
49 
65  virtual DtPortalEmitterSystemObject* translate( DtPortalEmitterSystemObject* destination,
66  const DtEmitterSystemRepository& source, const DtReflectedEmitterSystem& refObj );
67 
84  virtual DtEmitterBeamRepository* translate( DtEmitterBeamRepository* destination,
85  const DtEmitterBeamData& source );
86 
101  virtual DtEmitterSystemRepository* translate(
102  DtEmitterSystemRepository* destination,
103  const DtPortalEmitterSystemObject& source,
104  const DtPortalReflectedEmitterSystemObject& refObj );
105 
106  protected:
107 
110  virtual DtEmitterSystemPublisher* instantiateRprPublisher(
112  const DtString& objectName );
113 
116  virtual bool isRprPublishable( DtBrokerObject* brokerObj,
117  const DtPortalReflectedEmitterSystemObject* refObj );
118 
119  };
120 
121  }
122 }
Provides container to hold pointers to Protocol/Portal objects.
Definition: brokerObject.h:24
Provides Emitter System object translation between HLA and the VR-Exchange Portal.
Definition: rprBroker/rprBroker/emitterSystemTranslator.h:33
Base class for all broker objects.
Definition: broker.h:53
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
Represents Emitter Beam Objects.
Definition: emitterBeamData.h:36
Used in translation of Electromagnetic Emissions Objects, such as Emitter System Objects, and Emitter Beam Objects.
Definition: pEmitterSystemObject.h:27

Document ID: Generated on Mon Apr 19 15:55:22 EDT 2021 from SVN revision 227909
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)