VR-Exchange 2.1 API Documentation
modEntTrans.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2012 VT MAK
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <hlaBroker/entityTrans.h>
13 #include <namespace.h>
14 
16 class DtHlaBroker;
18 
19 namespace DtHlaBrokerNamespace = DtVREXCHANGE_NAMESPACE::DtHLA_BROKER_NAMESPACE;
20 
25 class DtModEntityTranslator : public DtHlaBrokerNamespace::DtEntityTranslator
26 {
27 public:
28 
30  DtModEntityTranslator( DtHlaBrokerNamespace::DtHlaBroker* broker );
31 
33  virtual ~DtModEntityTranslator();
34 
35 public:
36 
39  virtual const char* virtualTranslatorName() const;
40 
43  static const char* translatorName() { return "Entity State"; }
44 
45 protected:
46 
48  virtual void receiveHlaUpdate( DtReflectedEntity* obj );
49 
52 
54  virtual bool isPortalPublishable( const DtHlaBrokerNamespace::DtBrokerObject* brokerObject ) const;
55 
57  virtual bool isHlaPublishable( const DtHlaBrokerNamespace::DtBrokerObject* brokerObject ) const;
58 
59 private:
60 
61  // Copy Constructor not implemented -- do not copy!
63 
64  // Assignment Operator not implemented -- do not copy!
66 
67 };

Document ID: Generated on Tue Aug 7 22:07:13 EDT 2012 from SVN revision 117874
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)