|
libqi-api
2.4.3.28
|
#include <executioncontext.hpp>
Public Member Functions | |
| DelayedPromise () | |
| void | setup (boost::function< void(qi::Promise< T >)> cancelCallback, FutureCallbackType async=FutureCallbackType_Async) |
Public Member Functions inherited from qi::Promise< T > | |
| Promise (FutureCallbackType async=FutureCallbackType_Async) | |
| Promise (boost::function< void(qi::Promise< T >)> cancelCallback, FutureCallbackType async=FutureCallbackType_Async) | |
| Promise (const qi::Promise< T > &rhs) | |
| ~Promise () | |
| void | setValue (const ValueType &value) |
| void | setError (const std::string &msg) |
| void | setCanceled () |
| bool | isCancelRequested () const |
| Future< T > | future () const |
| Get a future linked to this promise. Can be called multiple times. More... | |
| ValueType & | value () |
| void | trigger () |
| void | setOnCancel (boost::function< void(qi::Promise< T >)> cancelCallback) |
| Promise< T > & | operator= (const Promise< T > &rhs) |
Additional Inherited Members | |
Public Types inherited from qi::Promise< T > | |
| typedef detail::FutureType< T > ::type | ValueType |
Protected Member Functions inherited from qi::Promise< T > | |
| void | setup (boost::function< void(qi::Promise< T >)> cancelCallback, FutureCallbackType async=FutureCallbackType_Async) |
| Promise (Future< T > &f) | |
Protected Attributes inherited from qi::Promise< T > | |
| Future< T > | _f |
Definition at line 60 of file executioncontext.hpp.
|
inline |
Definition at line 63 of file executioncontext.hpp.
|
inline |
Definition at line 64 of file executioncontext.hpp.