9 #ifndef DtSceneObjectAbstractUpdater_H_
10 #define DtSceneObjectAbstractUpdater_H_
34 template <
class ObjectType>
37 if(canCastToObject(className))
39 return (ObjectType*)objectMemoryAddress();
49 virtual void handleUpdateMessage(
DtMessage& message) = 0;
52 virtual const std::string& className()
const = 0;
55 virtual bool canCastToObject(
const std::string& className) = 0;
59 virtual void* objectMemoryAddress()
const = 0;
ObjectType * castObjectTypeFromUpdater(const std::string &className)
Attempt to cast an object from an updater using the className. It is vital that the class name is the...
Definition: DtAgentUpdateResolverInterface.h:35
The IGI Message. Is easily encoded and decoding using stream operators. It also provides validation d...
Definition: DtMessage.h:30
Abstract base class for object updaters.
Definition: DtAgentUpdateResolverInterface.h:20
virtual ~DtAgentUpdateResolverInterface()
DTOR.
Definition: DtAgentUpdateResolverInterface.h:25
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
Contains DLL export macros.