#include <OnixS/FIXEngine/Threading/Future.h>
Public Member Functions | |
Promise () ONIXS_FIXENGINE_NOTHROW | |
Promise (const Promise< void > &other) ONIXS_FIXENGINE_NOTHROW | |
Promise< void > & | operator= (const Promise< void > &other) ONIXS_FIXENGINE_NOTHROW |
void | swap (Promise< void > &other) ONIXS_FIXENGINE_NOTHROW |
SharedFuture< void > | getFuture () const |
void | set () |
template<typename ExceptionType > | |
void | setException (const ExceptionType &exception) |
Public Member Functions inherited from PromiseBase | |
bool | valid () |
ONIXS_FIXENGINE_API void | setExceptionImpl () |
Additional Inherited Members | |
Protected Member Functions inherited from PromiseBase | |
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 |
|
inline |
|
inline |
|
inline |
|
inline |