#include <OnixS/FIXEngine/Threading/Future.h>
Public Member Functions | |
bool | valid () |
ONIXS_FIXENGINE_API void | setExceptionImpl () |
Protected Member Functions | |
ONIXS_FIXENGINE_API | PromiseBase () ONIXS_FIXENGINE_NOTHROW |
ONIXS_FIXENGINE_API | PromiseBase (const PromiseBase &other) ONIXS_FIXENGINE_NOTHROW |
ONIXS_FIXENGINE_API PromiseBase & | operator= (const PromiseBase &other) ONIXS_FIXENGINE_NOTHROW |
ONIXS_FIXENGINE_API | ~PromiseBase () ONIXS_FIXENGINE_NOTHROW |
ONIXS_FIXENGINE_API void | swap (PromiseBase &other) ONIXS_FIXENGINE_NOTHROW |
ONIXS_FIXENGINE_API void | setValue (ValueBase *value) |
ONIXS_FIXENGINE_API void | setVoid () |
ONIXS_FIXENGINE_API SharedFuture< FutureValue > | getFutureImpl () const |
template<typename T > | |
SharedFuture< T > | getTypedFuture () const |
|
protected |
|
protected |
|
protected |
Destroys a future object.
If this is the last reference to the asynchronous result associated with *this (if any), then destroy that asynchronous result.
|
protected |
|
inlineprotected |
|
protected |
ONIXS_FIXENGINE_API void setExceptionImpl | ( | ) |
|
protected |
|
protected |
|
protected |
bool valid | ( | ) |
Check if a future instance is associated with an asynchronous result.
Returns true
if the *this has an associated asynchronous result, false otherwise.