|
| template<typename T , typename R > |
| void | qi::detail::continueThen (const Future< T > &future, const boost::function< R(const Future< T > &)> &func, qi::Promise< R > &promise) |
| |
| template<typename T , typename R > |
| void | qi::detail::continueThenAsync (const Future< T > &future, const boost::function< qi::Future< R >(const Future< T > &)> &func, qi::Promise< R > &promise) |
| |
| template<typename T , typename R > |
| void | qi::detail::continueAndThen (const Future< T > &future, const boost::function< R(const typename Future< T >::ValueType &)> &func, qi::Promise< R > &promise) |
| |
| template<typename T , typename R > |
| void | qi::detail::continueAndThenAsync (const Future< T > &future, const boost::function< qi::Future< R >(const typename Future< T >::ValueType &)> &func, qi::Promise< R > &promise) |
| |
| template<typename T > |
| void | qi::detail::waitForFirstHelper (qi::Promise< qi::Future< T > > &prom, qi::Future< T > &fut, qi::Atomic< int > *count) |
| |
| template<typename T > |
| qi::Future< T > | qi::makeFutureError (const std::string &error) |
| | Helper function to return a future with the error set. More...
|
| |
| template<typename FT , typename PT , typename CONV > |
| void | qi::detail::futureAdapter (const Future< FT > &f, Promise< PT > p, CONV converter) |
| |
| template<typename FT > |
| void | qi::detail::futureCancelAdapter (boost::weak_ptr< FutureBaseTyped< FT > > wf) |
| |
| template<typename R > |
| void | qi::adaptFutureUnwrap (Future< AnyReference > &f, Promise< R > &p) |
| | Feed a promise from a generic future which may be unwrapped if it contains itself a future. More...
|
| |
| template<typename FT , typename PT > |
| void | qi::adaptFuture (const Future< FT > &f, Promise< PT > &p, AdaptFutureOption option=AdaptFutureOption_ForwardCancel) |
| | Feed a promise from a future of possibly different type. More...
|
| |
| template<typename FT , typename PT , typename CONV > |
| void | qi::adaptFuture (const Future< FT > &f, Promise< PT > &p, CONV converter, AdaptFutureOption option=AdaptFutureOption_ForwardCancel) |
| | Similar to adaptFuture(f, p) but with a custom converter. More...
|
| |