BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
#include <future.hpp>
Public Types | |
typedef std::shared_ptr< promise< void > > | ptr |
Public Types inherited from fc::promise_base | |
typedef std::shared_ptr< promise_base > | ptr |
Public Member Functions | |
virtual | ~promise () |
void | wait (const microseconds &timeout=microseconds::maximum()) |
void | wait_until (const time_point &tp) |
void | set_value () |
void | set_value (const void_t &) |
template<typename CompletionHandler > | |
void | on_complete (CompletionHandler &&c) |
Public Member Functions inherited from fc::promise_base | |
virtual | ~promise_base () |
const char * | get_desc () const |
virtual void | cancel (const char *reason FC_CANCELATION_REASON_DEFAULT_ARG) |
bool | canceled () const |
bool | ready () const |
bool | error () const |
void | set_exception (const fc::exception_ptr &e) |
Static Public Member Functions | |
static ptr | create (const char *desc FC_TASK_NAME_DEFAULT_ARG) |
static ptr | create (bool fulfilled, const char *desc FC_TASK_NAME_DEFAULT_ARG) |
Protected Member Functions | |
promise (const char *desc) | |
promise (bool fulfilled, const char *desc) | |
Protected Member Functions inherited from fc::promise_base | |
promise_base (const char *desc FC_TASK_NAME_DEFAULT_ARG) | |
void | _wait (const microseconds &timeout_us) |
void | _wait_until (const time_point &timeout_us) |
void | _notify () |
void | _set_value (const void *v) |
void | _on_complete (detail::completion_handler *c) |
Additional Inherited Members | |
Protected Attributes inherited from fc::promise_base | |
const char * | _cancellation_reason |
Definition at line 159 of file future.hpp.
typedef std::shared_ptr< promise<void> > fc::promise< void >::ptr |
Definition at line 161 of file future.hpp.
|
inlinevirtual |
Definition at line 163 of file future.hpp.
|
inlineprotected |
Definition at line 189 of file future.hpp.
|
inlineprotected |
Definition at line 190 of file future.hpp.
|
inlinestatic |
Definition at line 169 of file future.hpp.
|
inlinestatic |
Definition at line 165 of file future.hpp.
|
inline |
Definition at line 185 of file future.hpp.
|
inline |
Definition at line 181 of file future.hpp.
|
inline |
Definition at line 182 of file future.hpp.
|
inline |
Definition at line 174 of file future.hpp.
|
inline |
Definition at line 177 of file future.hpp.