OGRE 2.1
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 () | |
void | abortRequest () |
Abort the request. | |
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) | |
void | operator delete (void *ptr) |
void | operator delete (void *ptr, const char *, int, const char *) |
void | operator delete (void *ptr, void *) |
void | operator delete[] (void *ptr) |
void | operator delete[] (void *ptr, const char *, int, const char *) |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, const char *file, int line, const char *func) |
operator new, with debug line info | |
void * | operator new (size_t sz, void *ptr) |
placement operator new | |
void * | operator new[] (size_t sz) |
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
array operator new, with debug line info | |
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 | ( | ) |
|
inline |
Abort the request.
References Ogre::WorkQueue::Request::abortRequest(), and Ogre::Any::destroy().
Return the response data (user defined, only valid on success)
Get any diagnostic messages about the process.
Get the request that this is a response to (NB destruction destroys this)
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
operator new, with debug line info
placement operator new
|
inlineinherited |
|
inlineinherited |
array operator new, with debug line info
|
inline |
Return whether this is a successful response.
Any Ogre::WorkQueue::Response::mData |
Data associated with the result of the process.
Pointer to the request that this response is in relation to.
bool Ogre::WorkQueue::Response::mSuccess |
Whether the work item succeeded or not.