VR-Exchange 2.8 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
tenaBroker/tenaBroker/environmentProcessTranslator.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/environmentProcessRepository.h>
16 
17 #define ENVPROC_TEMPLATE_ARGS \
18  DtPortalEnvironmentProcessObject, DtPortalReflectedEnvironmentProcessObject, \
19  DtReflectedEnvironmentProcess, DtReflectedEnvironmentProcessList, \
20  DtEnvironmentProcessRepository, DtEnvironmentProcessPublisher
21 
22 namespace MAKVrExchange
23 {
24 
25  namespace DtTenaBroker
26  {
27 
30  template <>
31  DT_DLL_TENABROKER DtEntityIdentifier
34  const DtString& identifier );
35 
36 
41  : public DtTenaObjectTranslator<ENVPROC_TEMPLATE_ARGS>
42  {
43  public:
44 
46  Dt_DEF_TRANSLATOR_NAME( "Environment Process" );
47 
50 
53 
54  protected:
55 
58  virtual bool isTenaPublishable( DtBrokerObject* brokerObj,
60 
62  virtual DtString tenaObjectName( const DtPortalReflectedEnvironmentProcessObject* refObj ) const;
63 
66  virtual DtObjectPublisher* instantiateTenaPublisher(
68  const DtEntityIdentifier& objectName );
69 
72  virtual DtString portalObjectName( const DtReflectedEnvironmentProcess* refObj ) const;
73 
75  virtual DtPortalEnvironmentProcessObject* translate(
77  const DtEnvironmentProcessRepository& source,
78  const DtReflectedEnvironmentProcess& refObj );
79 
81  virtual DtEnvironmentProcessRepository* translate(
82  DtEnvironmentProcessRepository* destination,
85 
86  };
87 
88  }
89 }
Contains the DtReflectedEnvironmentProcessList class declaration.
#define DT_DLL_TENABROKER
Definition: brokers/tenaBroker/tenaBroker/dllExport.h:26
Provides container to hold pointers to Protocol/Portal objects.
Definition: brokerObject.h:24
Contains the DtEnvironmentProcessPublisher class declaration.
DtPortalReflectedObjectTemplate< DtPortalEnvironmentProcessObject > DtPortalReflectedEnvironmentProcessObject
An Environment Process Object template instance.
Definition: pReflectedObjectTypes.h:95
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
Provides EnvironmentProcess object translation between TENA and the VR-Exchange Portal.
Definition: tenaBroker/tenaBroker/environmentProcessTranslator.h:40
#define Dt_DEF_TRANSLATOR_NAME(strname)
Definition: translator.h:16
Represents Environment Process Objects in a simulation.
Definition: pEnvironmentProcessObject.h:21
virtual DtEntityIdentifier mapIdentifier(const T_PortalReflectedObject *refObj, const DtString &identifier)
Maps the reflected object&#39;s global or entity identifier to a TENA id.

Document ID: Generated on Tue Aug 16 16:15:26 EDT 2022 from SVN revision 245901
Copyright © 2005-2022 MAK Technologies. All Rights Reserved (www.mak.com)