#include <vector>
#include <utility>
#include <boost/bind.hpp>
#include <qi/eventloop.hpp>
#include <qi/log.hpp>
Go to the source code of this file.
|
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, FutureCallbackType async) |
|
template<typename T > |
void | qi::waitForAll (std::vector< Future< T > > &vect) |
| Helper function to wait on a vector of futures. More...
|
|
template<typename T > |
qi::FutureSync< qi::Future< T > > | qi::waitForFirst (std::vector< Future< T > > &vect) |
| Helper function to wait for the first valid future. More...
|
|
template<typename FT , typename PT , typename CONV > |
void | qi::detail::futureAdapter (Future< FT > f, Promise< PT > p, CONV converter) |
|
template<typename FT > |
void | qi::detail::futureCancelAdapter (boost::weak_ptr< FutureBaseTyped< FT > > wf) |
|
template<typename FT , typename PT > |
void | qi::adaptFuture (const Future< FT > &f, Promise< PT > &p) |
|
template<typename FT , typename PT , typename CONV > |
void | qi::adaptFuture (const Future< FT > &f, Promise< PT > &p, CONV converter) |
| Similar to adaptFuture(f, p) but with a custom converter. More...
|
|
#define _QI_DETAILS_FUTURE_HXX_ |