12 #ifndef DtSceneObjectAbstractUpdater_H_
13 #define DtSceneObjectAbstractUpdater_H_
37 template <
class ObjectType>
40 if(canCastToObject(className))
42 return (ObjectType*)objectMemoryAddress();
52 virtual void handleUpdateMessage(
DtMessage& message) = 0;
55 virtual const std::string& className()
const = 0;
58 virtual bool canCastToObject(
const std::string& className) = 0;
62 virtual void* objectMemoryAddress()
const = 0;
ObjectType * castObjectTypeFromUpdater(const std::string &className)
Attempt to cast an object from an updater using the className.
Definition: DtAgentUpdateResolverInterface.h:38
The IGI Message.
Definition: DtMessage.h:33
Abstract base class for object updaters.
Definition: DtAgentUpdateResolverInterface.h:23
virtual ~DtAgentUpdateResolverInterface()
DTOR.
Definition: DtAgentUpdateResolverInterface.h:28
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
Contains DLL export macros.