General purpose response structure.
More...
#include <OgreWorkQueue.h>
|
| 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.
|
|
General purpose response structure.
◆ Response()
◆ ~Response()
Ogre::WorkQueue::Response::~Response |
( |
| ) |
|
◆ abortRequest()
void Ogre::WorkQueue::Response::abortRequest |
( |
| ) |
|
|
inline |
◆ getData()
const Any & Ogre::WorkQueue::Response::getData |
( |
| ) |
const |
|
inline |
Return the response data (user defined, only valid on success)
◆ getMessages()
const String & Ogre::WorkQueue::Response::getMessages |
( |
| ) |
const |
|
inline |
Get any diagnostic messages about the process.
◆ getRequest()
const Request * Ogre::WorkQueue::Response::getRequest |
( |
| ) |
const |
|
inline |
◆ operator delete() [1/3]
◆ operator delete() [2/3]
◆ operator delete() [3/3]
◆ operator delete[]() [1/2]
◆ operator delete[]() [2/2]
◆ operator new() [1/3]
◆ operator new() [2/3]
template<class Alloc >
void * Ogre::AllocatedObject< Alloc >::operator new |
( |
size_t |
sz, |
|
|
const char * |
file, |
|
|
int |
line, |
|
|
const char * |
func |
|
) |
| |
|
inlineinherited |
operator new, with debug line info
◆ operator new() [3/3]
◆ operator new[]() [1/2]
◆ operator new[]() [2/2]
template<class Alloc >
void * Ogre::AllocatedObject< Alloc >::operator new[] |
( |
size_t |
sz, |
|
|
const char * |
file, |
|
|
int |
line, |
|
|
const char * |
func |
|
) |
| |
|
inlineinherited |
array operator new, with debug line info
◆ succeeded()
bool Ogre::WorkQueue::Response::succeeded |
( |
| ) |
const |
|
inline |
Return whether this is a successful response.
◆ mData
Any Ogre::WorkQueue::Response::mData |
Data associated with the result of the process.
◆ mMessages
String Ogre::WorkQueue::Response::mMessages |
◆ mRequest
const Request* Ogre::WorkQueue::Response::mRequest |
Pointer to the request that this response is in relation to.
◆ mSuccess
bool Ogre::WorkQueue::Response::mSuccess |
Whether the work item succeeded or not.
The documentation for this struct was generated from the following file: