VR-Exchange 2.6 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
rprBroker/rprBroker/pointObjectTranslator.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2015 VT MAK
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
13 #include <portal/pPointObject.h>
14 #include <vl/pointObjectPublisher.h>
15 #include <vl/reflectedPointObject.h>
16 #include <vl/reflectedPointObjectList.h>
17 
18 #define POINTOBJ_TEMPLATE_ARGS \
19  DtPortalPointObject, DtPortalReflectedPointObject, \
20  DtReflectedPointObject, DtReflectedPointObjectList, \
21  DtPointObjectRepository, DtPointObjectPublisher
22 
23 namespace MAKVrExchange
24 {
25 
26  namespace DtRprBroker
27  {
28 
29  // Template specialization to avoid compilation errors
30  // resulting from point object publisher CTOR.
31  template <>
32  DtPointObjectPublisher*
34  const DtPortalReflectedPointObject* refObj, const DtString& name );
35 
37  : public DtRprObjectTranslator<POINTOBJ_TEMPLATE_ARGS>
38  {
39  public:
40 
42  Dt_DEF_TRANSLATOR_NAME( "Point Object" );
43 
46 
48  virtual ~DtPointObjectTranslator();
49 
51  virtual void updatePortalBrokerObject( DtBrokerObject* brokerObj,
52  const DtPortalPointObject& sr );
53 
56  const DtPointObjectRepository& src, const DtReflectedPointObject& refObj );
57 
59  virtual DtPointObjectRepository* translate( DtPointObjectRepository* dest,
60  const DtPortalPointObject& src, const DtPortalReflectedPointObject& refObj );
61 
62  private:
63 
66 
69 
70  };
71 
72  }
73 }

Document ID: Generated on Wed Jan 30 18:15:18 EST 2019 from SVN revision 195534
Copyright © 2005-2019 VT MÄK. All Rights Reserved (www.mak.com)