VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtAgentUpdateResolver.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtAgentUpdateResolver.h,v $ $Revision: 1.17 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #pragma once
14 
15 #include <vrvCore/vrvCore.h>
18 
19 namespace makVrv
20 {
21  class DtDe;
22 
25  template <class ObjectType>
27  {
28  public:
30 
32  DtAgentUpdateResolver(DtDe& de, ObjectType* object,
33  ObjectTypeDefinition* definition);
34 
36  virtual ~DtAgentUpdateResolver();
37 
39  virtual void handleUpdateMessage(DtMessage& message);
40 
42  virtual const std::string& className() const;
43 
46  virtual bool canCastToObject(const std::string& className);
47 
50  virtual void* objectMemoryAddress() const;
51 
53 
54  ObjectType* object();
55  const ObjectType* object() const;
57 
58  protected:
59 
61  ObjectType* myObjectPointer;
63  };
64 }
65 
66 
67 #define DtAgentUpdateResolver_INL_
68 #include "DtAgentUpdateResolver.inl"
69 #undef DtAgentUpdateResolver_INL_
70 

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)