libqi-api  2.1.4.13
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Macros | Functions
future.hxx File Reference
#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

 qi
 qi general namespace
 
 qi::detail
 

Macros

#define _QI_DETAILS_FUTURE_HXX_
 

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. 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...
 

Macro Definition Documentation

#define _QI_DETAILS_FUTURE_HXX_

Definition at line 8 of file future.hxx.