|
libqi-api
2.0.6.8
|
#include <vector>#include <utility>#include <boost/bind.hpp>#include <qi/eventloop.hpp>#include <qi/log.hpp>Go to the source code of this file.
Classes | |
| struct | qi::FutureValueConverter< void, void > |
| struct | qi::FutureValueConverter< T, void > |
| struct | qi::FutureValueConverter< void, T > |
Namespaces | |
| namespace | qi |
qi general namespace | |
| namespace | qi::detail |
Functions | |
| 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. | |
| template<typename T > | |
| qi::FutureSync< qi::Future< T > > | qi::waitForFirst (std::vector< Future< T > > &vect) |
| Helper function to wait for the first valid future. | |
| 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. | |