OGRE 2.1
Object-Oriented Graphics Rendering Engine
|
Handles the WorkQueue management of the chunks. More...
#include <OgreVolumeChunkHandler.h>
Public Member Functions | |
ChunkHandler (void) | |
Constructor. | |
virtual | ~ChunkHandler (void) |
Destructor. | |
void | addRequest (const ChunkRequest &req) |
Adds a new ChunkRequest to be loaded to the WorkQueue. | |
virtual bool | canHandleRequest (const Request *req, const WorkQueue *srcQ) |
Return whether this handler can process a given request. | |
virtual bool | canHandleResponse (const Response *res, const WorkQueue *srcQ) |
Return whether this handler can process a given response. | |
WorkQueue::Response * | handleRequest (const WorkQueue::Request *req, const WorkQueue *srcQ) |
Implementation for WorkQueue::RequestHandler. | |
void | handleResponse (const WorkQueue::Response *res, const WorkQueue *srcQ) |
Implementation for WorkQueue::ResponseHandler. | |
void | processWorkQueue (void) |
Calls the process-update of the WorkQueue so it doesn't block. | |
Handles the WorkQueue management of the chunks.
Ogre::Volume::ChunkHandler::ChunkHandler | ( | void | ) |
Constructor.
void Ogre::Volume::ChunkHandler::addRequest | ( | const ChunkRequest & | req | ) |
Adds a new ChunkRequest to be loaded to the WorkQueue.
req | The ChunkRequest. |
|
inlinevirtualinherited |
Return whether this handler can process a given request.
Reimplemented in Ogre::Page, Ogre::Terrain, Ogre::TerrainGroup, Ogre::TerrainLodManager, and Ogre::ResourceBackgroundQueue.
|
inlinevirtualinherited |
Return whether this handler can process a given response.
Reimplemented in Ogre::Page, Ogre::Terrain, Ogre::TerrainGroup, Ogre::TerrainLodManager, and Ogre::ResourceBackgroundQueue.
|
virtual |
Implementation for WorkQueue::RequestHandler.
Implements Ogre::WorkQueue::RequestHandler.
|
virtual |
Implementation for WorkQueue::ResponseHandler.
Implements Ogre::WorkQueue::ResponseHandler.
Calls the process-update of the WorkQueue so it doesn't block.