OGRE-Next
4.0.0unstable
Object-Oriented Graphics Rendering Engine
|
General purpose request structure. More...
#include <OgreWorkQueue.h>
Public Member Functions | |
Request (uint16 channel, uint16 rtype, const Any &rData, uint8 retry, RequestID rid) | |
Constructor. More... | |
~Request () | |
void | abortRequest () const |
Set the abort flag. More... | |
bool | getAborted () const |
Get the abort flag. More... | |
uint16 | getChannel () const |
Get the request channel (top level categorisation) More... | |
const Any & | getData () const |
Get the user details of this request. More... | |
RequestID | getID () const |
Get the identifier of this request. More... | |
uint8 | getRetryCount () const |
Get the remaining retry count. More... | |
uint16 | getType () const |
Get the type of this request within the given channel. More... | |
General purpose request structure.
Ogre::WorkQueue::Request::Request | ( | uint16 | channel, |
uint16 | rtype, | ||
const Any & | rData, | ||
uint8 | retry, | ||
RequestID | rid | ||
) |
Constructor.
Ogre::WorkQueue::Request::~Request | ( | ) |
|
inline |
Set the abort flag.
Referenced by Ogre::WorkQueue::Response::abortRequest().
|
inline |
Get the abort flag.
Referenced by Ogre::WorkQueue::RequestHandler::canHandleRequest(), and Ogre::WorkQueue::ResponseHandler::canHandleResponse().
|
inline |
Get the request channel (top level categorisation)
|
inline |
Get the user details of this request.
|
inline |
Get the identifier of this request.
|
inline |
Get the remaining retry count.
|
inline |
Get the type of this request within the given channel.