Lunchbox
1.16.0
Multi-threaded C++ toolbox library for all application developers creating high-performance multi-threaded programs.
|
A Future implementation for a RequestHandler request. More...
#include <request.h>
Classes | |
class | Impl |
Public Member Functions | |
Request (RequestHandler &handler, const uint32_t request) | |
Construct a new request. More... | |
virtual | ~Request () |
Destruct and wait for completion of the request, unless relinquished. More... | |
uint32_t | getID () const |
void | unregister () |
Unregister this request from the request handler. More... | |
Public Member Functions inherited from lunchbox::Future< T > | |
Future (Impl impl) | |
Construct a new future. More... | |
~Future () | |
Destruct the future. More... | |
T | wait (const uint32_t timeout_=LB_TIMEOUT_INDEFINITE) |
Wait for the promise to be fullfilled. More... | |
bool | isReady () const |
operator bool_t () | |
bool | operator! () |
bool | operator== (const T &rhs) |
bool | operator!= (const T &rhs) |
bool | operator< (const T &rhs) |
bool | operator> (const T &rhs) |
bool | operator<= (const T &rhs) |
bool | operator>= (const T &rhs) |
Additional Inherited Members | |
Public Types inherited from lunchbox::Future< T > | |
typedef RefPtr< FutureImpl< T > > | Impl |
The wait implementation. | |
Protected Attributes inherited from lunchbox::Future< T > | |
Impl | impl_ |
A Future implementation for a RequestHandler request.
|
inline |
|
inlinevirtual |
Destruct and wait for completion of the request, unless relinquished.
Definition at line 166 of file request.h.
References lunchbox::Future< T >::wait().
|
inline |
|
inline |