|
libqi-api
release-2.5.3-2016-11-18
|
#include <executioncontext.hpp>
Public Member Functions | |
| 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_Auto) | |
| template<typename FUNC , typename std::enable_if<!std::is_same< typename std::decay< FUNC >::type, typename std::decay< qi::Promise< T > >::type >::value >::type * = nullptr> | |
| Promise (FUNC &&cancelCallback, FutureCallbackType async=FutureCallbackType_Auto) | |
| Promise (boost::function< void(qi::Promise< T >)> cancelCallback, FutureCallbackType async=FutureCallbackType_Auto) | |
| 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 > | |
| using | ValueType = typename detail::FutureType< T >::type |
Protected Member Functions inherited from qi::Promise< T > | |
| void | setup (boost::function< void(qi::Promise< T > &)> cancelCallback, FutureCallbackType async=FutureCallbackType_Auto) |
| Promise (Future< T > &f) | |
Protected Attributes inherited from qi::Promise< T > | |
| Future< T > | _f |
Definition at line 113 of file executioncontext.hpp.
|
inline |
Definition at line 116 of file executioncontext.hpp.