VR-Forces 4.0.4 Class Documentation
Public Types | Public Member Functions | Protected Attributes
makVrv::DtAgentUpdateResolver< ObjectType > Class Template Reference

DtAgentUpdateResolver updates an instance of an object using is definition. More...

Inheritance diagram for makVrv::DtAgentUpdateResolver< ObjectType >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef DtAgentDefinition
< ObjectType > 
ObjectTypeDefinition

Public Member Functions

 DtAgentUpdateResolver (DtDe &de, ObjectType *object, ObjectTypeDefinition *definition)
 Construct an updater for an object and it's type definition.
virtual ~DtAgentUpdateResolver ()
 DTOR.
virtual void handleUpdateMessage (DtMessage &message)
 Implementation of handling an update message via a definition.
virtual const std::string & className () const
 Abstract getting the class name for the updater.
virtual bool canCastToObject (const std::string &className)
 Implementation of if an updater's object can be cast to a particular class.
virtual void * objectMemoryAddress () const
 Get the object memory address necessary for casting the ObjectType.
ObjectType * object ()
 Get a pointer to the actual object this updater updates.
const ObjectType * object () const
 Get a pointer to the actual object this updater updates.

Protected Attributes

DtDemyDe
ObjectType * myObjectPointer
ObjectTypeDefinitionmyObjectTypeDefinition

Detailed Description

template<class ObjectType>
class makVrv::DtAgentUpdateResolver< ObjectType >

DtAgentUpdateResolver updates an instance of an object using is definition.


Member Typedef Documentation

template<class ObjectType >
typedef DtAgentDefinition<ObjectType> makVrv::DtAgentUpdateResolver< ObjectType >::ObjectTypeDefinition

Constructor & Destructor Documentation

template<class ObjectType >
makVrv::DtAgentUpdateResolver< ObjectType >::DtAgentUpdateResolver ( DtDe de,
ObjectType *  object,
ObjectTypeDefinition definition 
)

Construct an updater for an object and it's type definition.

template<class ObjectType >
virtual makVrv::DtAgentUpdateResolver< ObjectType >::~DtAgentUpdateResolver ( ) [virtual]

DTOR.


Member Function Documentation

template<class ObjectType >
virtual void makVrv::DtAgentUpdateResolver< ObjectType >::handleUpdateMessage ( DtMessage message) [virtual]

Implementation of handling an update message via a definition.

Implements makVrv::DtAgentUpdateResolverInterface.

template<class ObjectType >
virtual const std::string& makVrv::DtAgentUpdateResolver< ObjectType >::className ( ) const [virtual]

Abstract getting the class name for the updater.

Implements makVrv::DtAgentUpdateResolverInterface.

template<class ObjectType >
virtual bool makVrv::DtAgentUpdateResolver< ObjectType >::canCastToObject ( const std::string &  className) [virtual]

Implementation of if an updater's object can be cast to a particular class.

Implements makVrv::DtAgentUpdateResolverInterface.

template<class ObjectType >
virtual void* makVrv::DtAgentUpdateResolver< ObjectType >::objectMemoryAddress ( ) const [virtual]

Get the object memory address necessary for casting the ObjectType.

Implements makVrv::DtAgentUpdateResolverInterface.

template<class ObjectType >
ObjectType* makVrv::DtAgentUpdateResolver< ObjectType >::object ( )

Get a pointer to the actual object this updater updates.

template<class ObjectType >
const ObjectType* makVrv::DtAgentUpdateResolver< ObjectType >::object ( ) const

Get a pointer to the actual object this updater updates.


Member Data Documentation

template<class ObjectType >
DtDe& makVrv::DtAgentUpdateResolver< ObjectType >::myDe [protected]
template<class ObjectType >
ObjectType* makVrv::DtAgentUpdateResolver< ObjectType >::myObjectPointer [protected]
template<class ObjectType >
ObjectTypeDefinition* makVrv::DtAgentUpdateResolver< ObjectType >::myObjectTypeDefinition [protected]

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)