VR-Exchange 2.2 API Documentation
rprBroker/libRprBroker/designatorTrans.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2013 VT MAK
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <namespace.h>
13 #include "rprTrans.h"
14 #include <vl/reflectedDesignatorList.h>
15 #include <vl/designatrPub.h>
16 
17 class DtDesignatorRepository;
18 class DtReflectedDesignator;
19 
20 #define DESIGNATOR_TEMPLATE_ARGS \
21  DtPortalDesignatorObject, DtPortalReflectedDesignatorObject, \
22  DtReflectedDesignator, DtReflectedDesignatorList, \
23  DtDesignatorRepository, DtDesignatorPublisher
24 
25 namespace MAKVrExchange
26 {
27 
28  class DtPortalDesignatorObject;
29 
30  namespace DtRprBroker
31  {
32 
35  class DT_DLL_RPRBROKER DtDesignatorObjectTranslator
36  : public DtRprObjectTranslator<DESIGNATOR_TEMPLATE_ARGS>
37  {
38  public:
39 
41  Dt_DEF_TRANSLATOR_NAME( "Designator" );
42 
45 
48 
64  virtual DtPortalDesignatorObject* translate(
65  DtPortalDesignatorObject* destination,
66  const DtDesignatorRepository& source,
67  const DtReflectedDesignator& refObj );
68 
85  virtual DtDesignatorRepository* translate(
86  DtDesignatorRepository* destination,
87  const DtPortalDesignatorObject& source,
88  const DtPortalReflectedDesignatorObject& refObj );
89 
90  protected:
91 
95  virtual DtDesignatorPublisher* instantiateHlaPublisher(
96  const DtPortalReflectedDesignatorObject* refObj, const DtString& name );
97 
100  virtual bool isDiscoverable( const DtBrokerObject* brokerObj,
101  const DtPortalReflectedDesignatorObject* refObj ) const;
102 
103  };
104 
105  }
106 }
107 

Document ID: Generated on Mon Apr 15 17:15:50 EDT 2013 from SVN revision 126154
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)