OGRE 14.3
Object-Oriented Graphics Rendering Engine
|
General purpose response structure. More...
#include <OgreWorkQueue.h>
Public Member Functions | |
Response (const Request *rq, bool success, const Any &data, const String &msg=BLANKSTRING) | |
~Response () | |
const Any & | getData () const |
Return the response data (user defined, only valid on success) | |
const String & | getMessages () const |
Get any diagnostic messages about the process. | |
const Request * | getRequest () const |
Get the request that this is a response to (NB destruction destroys this) | |
bool | succeeded () const |
Return whether this is a successful response. | |
Public Attributes | |
Any | mData |
Data associated with the result of the process. | |
String | mMessages |
Any diagnostic messages. | |
const Request * | mRequest |
Pointer to the request that this response is in relation to. | |
bool | mSuccess |
Whether the work item succeeded or not. | |
General purpose response structure.
Ogre::WorkQueue::Response::Response | ( | const Request * | rq, |
bool | success, | ||
const Any & | data, | ||
const String & | msg = BLANKSTRING |
||
) |
Ogre::WorkQueue::Response::~Response | ( | ) |
Get the request that this is a response to (NB destruction destroys this)
|
inline |
Return whether this is a successful response.
Get any diagnostic messages about the process.
Return the response data (user defined, only valid on success)
Pointer to the request that this response is in relation to.
bool Ogre::WorkQueue::Response::mSuccess |
Whether the work item succeeded or not.
Any Ogre::WorkQueue::Response::mData |
Data associated with the result of the process.