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