OGRE-Next
2.3
Object-Oriented Graphics Rendering Engine
|
Injects the output of a request to the mesh in a thread safe way. More...
#include <OgreLodWorkQueueInjector.h>
Public Member Functions | |
LodWorkQueueInjector () | |
virtual | ~LodWorkQueueInjector () |
virtual bool | canHandleResponse (const Response *res, const WorkQueue *srcQ) |
Return whether this handler can process a given response. More... | |
LodWorkQueueInjectorListener * | getInjectorListener () |
void | handleResponse (const WorkQueue::Response *res, const WorkQueue *srcQ) |
The handler method every subclass must implement. More... | |
void | removeInjectorListener () |
void | setInjectorListener (LodWorkQueueInjectorListener *injectorListener) |
Static Public Member Functions | |
static LodWorkQueueInjector & | getSingleton () |
static LodWorkQueueInjector * | getSingletonPtr () |
Injects the output of a request to the mesh in a thread safe way.
Ogre::LodWorkQueueInjector::LodWorkQueueInjector | ( | ) |
|
virtual |
|
inlinevirtualinherited |
Return whether this handler can process a given response.
Reimplemented in Ogre::ResourceBackgroundQueue, and Ogre::Page.
References Ogre::WorkQueue::Request::getAborted(), and Ogre::WorkQueue::Response::getRequest().
|
inline |
|
static |
|
static |
|
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 |
Implements Ogre::WorkQueue::ResponseHandler.
|
inline |
|
inline |