OGRE 2.1
Object-Oriented Graphics Rendering Engine
|
Interface definition for a handler of responses. More...
#include <OgreWorkQueue.h>
Public Member Functions | |
ResponseHandler () | |
virtual | ~ResponseHandler () |
virtual bool | canHandleResponse (const Response *res, const WorkQueue *srcQ) |
Return whether this handler can process a given response. | |
virtual void | handleResponse (const Response *res, const WorkQueue *srcQ)=0 |
The handler method every subclass must implement. | |
Interface definition for a handler of responses.
|
inline |
|
inlinevirtual |
|
inlinevirtual |
Return whether this handler can process a given response.
Reimplemented in Ogre::Page, Ogre::Terrain, Ogre::TerrainGroup, Ogre::TerrainLodManager, and Ogre::ResourceBackgroundQueue.
|
pure virtual |
The handler method every subclass must implement.
res | The Response structure. The caller is responsible for deleting this after the call is made, none of the data contained (except pointers to structures in user Any data) will persist after this call is returned. |
srcQ | The work queue that this request originated from |
Implemented in Ogre::LodWorkQueueInjector, Ogre::Page, Ogre::Terrain, Ogre::TerrainGroup, Ogre::TerrainLodManager, Ogre::TerrainPagedWorldSection, Ogre::Volume::ChunkHandler, and Ogre::ResourceBackgroundQueue.