VR-Forces 4.0.4 Class Documentation
Public Member Functions
makVrv::DtAgentUpdateResolverInterface Class Reference

Abstract base class for object updaters. More...

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

List of all members.

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

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 Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)