|
libqi-api
2.4.3.28
|
#include <future.hxx>
Public Types | |
| typedef boost::function< void(Promise < T >)> | CancelCallback |
| typedef FutureType< T >::type | ValueType |
Public Member Functions | |
| FutureBaseTyped () | |
| ~FutureBaseTyped () | |
| bool | isCancelable () const |
| void | cancel (qi::Future< T > &future) |
| void | setOnCancel (qi::Promise< T > &promise, CancelCallback onCancel) |
| void | callCbNotify (qi::Future< T > &future) |
| void | setValue (qi::Future< T > &future, const ValueType &value) |
| void | set (qi::Future< T > &future) |
| void | setError (qi::Future< T > &future, const std::string &message) |
| void | setBroken (qi::Future< T > &future) |
| void | setCanceled (qi::Future< T > &future) |
| void | setOnDestroyed (boost::function< void(ValueType)> f) |
| void | connect (qi::Future< T > future, const boost::function< void(qi::Future< T >)> &s, FutureCallbackType type) |
| const ValueType & | value (int msecs) const |
Public Member Functions inherited from qi::detail::FutureBase | |
| FutureBase () | |
| ~FutureBase () | |
| FutureState | wait (int msecs) const |
| FutureState | wait (qi::Duration duration) const |
| FutureState | wait (qi::SteadyClock::time_point timepoint) const |
| FutureState | state () const |
| bool | isRunning () const |
| bool | isFinished () const |
| bool | isCanceled () const |
| bool | isCancelRequested () const |
| bool | hasError (int msecs) const |
| bool | hasValue (int msecs) const |
| const std::string & | error (int msecs) const |
| void | reportStart () |
| void | reset () |
Friends | |
| class | Promise< T > |
Additional Inherited Members | |
Public Attributes inherited from qi::detail::FutureBase | |
| FutureBasePrivate * | _p |
Protected Member Functions inherited from qi::detail::FutureBase | |
| void | reportValue () |
| void | reportError (const std::string &message) |
| void | requestCancel () |
| void | reportCanceled () |
| boost::recursive_mutex & | mutex () |
| void | notifyFinish () |
Definition at line 274 of file future.hxx.
| typedef boost::function<void(Promise<T>)> qi::detail::FutureBaseTyped< T >::CancelCallback |
Definition at line 276 of file future.hxx.
| typedef FutureType<T>::type qi::detail::FutureBaseTyped< T >::ValueType |
Definition at line 277 of file future.hxx.
|
inline |
Definition at line 278 of file future.hxx.
|
inline |
Definition at line 284 of file future.hxx.
|
inline |
Definition at line 324 of file future.hxx.
|
inline |
Definition at line 295 of file future.hxx.
|
inline |
Definition at line 409 of file future.hxx.
|
inline |
Definition at line 290 of file future.hxx.
|
inline |
Definition at line 363 of file future.hxx.
|
inline |
Definition at line 386 of file future.hxx.
|
inline |
Definition at line 395 of file future.hxx.
|
inline |
Definition at line 376 of file future.hxx.
|
inline |
Definition at line 310 of file future.hxx.
|
inline |
Definition at line 404 of file future.hxx.
|
inline |
Definition at line 346 of file future.hxx.
|
inline |
Definition at line 438 of file future.hxx.
|
friend |
Definition at line 450 of file future.hxx.