- Aldebaran documentation |
- C++ Libraries |
- index

libqi-api 2.8.7.4

- Main Page
- Related Pages
- Namespaces
- Classes
- Files
- Examples

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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>`
`#include <qi/strand.hpp>`
`#include <qi/type/detail/futureadapter.hpp>`
`#include <qi/detail/futurebarrier.hpp>`

Go to the source code of this file.

## Classes
class | qi::detail::AddUnwrap< Future< T > >
struct | qi::FutureValueConverter< void, void >
struct | qi::FutureValueConverter< T, void >
struct | qi::FutureValueConverter< void, T >
struct | qi::detail::FutureWrapper< T >
struct | qi::detail::FutureWrapper< void >

## Namespaces
| qi
| Deprecated in 2.5. Use int8_t from <cstdint>.
| qi::detail

## Macros
#define | _QI_DETAIL_FUTURE_HXX_

## Functions
template<typename R , typename F >
void | qi::detail::setPromiseFromCall (Promise< R > &p, F &&f)
template<typename F >
void | qi::detail::setPromiseFromCall (Promise< void > &p, F &&f)
template<typename R , typename F >
void | qi::detail::setPromiseFromCallWithExceptionSupport (Promise< R > &p, F &&f)
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...
template<typename T >
Future< AnyValue > | qi::toAnyValueFuture (Future< T > future)
template<>
Future< AnyValue > | qi::toAnyValueFuture (Future< void > future)

## Macro Definition Documentation

#define _QI_DETAIL_FUTURE_HXX_

Definition at line 8 of file future.hxx.