VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions
makVrv::DtAgentUpdateResolverInterface Class Reference

Abstract base class for object updaters. More...

Inheritance diagram for makVrv::DtAgentUpdateResolverInterface:
Inheritance graph
[legend]

Public Member Functions

virtual ~DtAgentUpdateResolverInterface ()
 DTOR.
template<class ObjectType >
ObjectType * castObjectTypeFromUpdater (const std::string &className)
 Attempt to cast an object from an updater using the className.
virtual void handleUpdateMessage (DtMessage &message)=0
 Abstract of handling an update message.
virtual const std::string & className () const =0
 Abstract getting the class name for the updater.
virtual bool canCastToObject (const std::string &className)=0
 Abstract getting if the updater's object can be cast to a particular class.
virtual void * objectMemoryAddress () const =0
 Abstract getting the object memory address necessary for casting the ObjectType.

Detailed Description

Abstract base class for object updaters.

Constructor & Destructor Documentation

virtual makVrv::DtAgentUpdateResolverInterface::~DtAgentUpdateResolverInterface ( )
inlinevirtual

DTOR.

Member Function Documentation

template<class ObjectType >
ObjectType* makVrv::DtAgentUpdateResolverInterface::castObjectTypeFromUpdater ( const std::string &  className)
inline

Attempt to cast an object from an updater using the className.

It is vital that the class name is the correct string for the class. See the class's DtSceneObjectDefinition implementation for the valid string. The ObjectType MUST also be generated scene object class.

virtual void makVrv::DtAgentUpdateResolverInterface::handleUpdateMessage ( DtMessage message)
pure virtual

Abstract of handling an update message.

Implemented in makVrv::DtAgentUpdateResolver< ObjectType >.

virtual const std::string& makVrv::DtAgentUpdateResolverInterface::className ( ) const
pure virtual

Abstract getting the class name for the updater.

Implemented in makVrv::DtAgentUpdateResolver< ObjectType >.

virtual bool makVrv::DtAgentUpdateResolverInterface::canCastToObject ( const std::string &  className)
pure virtual

Abstract getting if the updater's object can be cast to a particular class.

Implemented in makVrv::DtAgentUpdateResolver< ObjectType >.

virtual void* makVrv::DtAgentUpdateResolverInterface::objectMemoryAddress ( ) const
pure virtual

Abstract getting the object memory address necessary for casting the ObjectType.

Implemented in makVrv::DtAgentUpdateResolver< ObjectType >.

Referenced by makVrv::Cast< DesiredType >::toFunctionType().


The documentation for this class was generated from the following file:

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)