libqi-api  2.8.7.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Macros | Functions
async.hxx File Reference
#include <qi/async.hpp>
#include <functional>

Go to the source code of this file.

Namespaces

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

Macros

#define _QI_DETAIL_ASYNC_HXX_
 

Functions

template<typename F >
auto qi::detail::asyncMaybeActor (F &&cb, qi::Duration delay) -> typename std::enable_if< detail::IsAsyncBind< F >::value, typename std::decay< decltype(cb())>::type >::type
 
template<typename F >
auto qi::detail::asyncMaybeActor (F &&cb, qi::SteadyClockTimePoint timepoint) -> typename std::enable_if< detail::IsAsyncBind< F >::value, typename std::decay< decltype(cb())>::type >::type
 
template<typename F , typename Arg0 , typename... Args>
auto qi::detail::invokeMaybeActor (F &&cb, Arg0 *arg0, Args &&...args) -> typename std::enable_if< std::is_base_of< Actor, typename std::decay< Arg0 >::type >::value, decltype(tryUnwrap(arg0->async(boost::bind(cb, arg0, std::forward< Args >(args)...)), 0))>::type
 
template<typename R >
Future< R > qi::async (boost::function< R()> callback, uint64_t usDelay)
 
template<typename R >
Future< R > qi::async (boost::function< R()> callback, qi::Duration delay)
 
template<typename R >
Future< R > qi::async (boost::function< R()> callback, qi::SteadyClockTimePoint timepoint)
 
template<typename R >
Future< R > qi::async (detail::Function< R()> callback)
 
template<typename R , typename Func , typename ArgTrack >
QI_API_DEPRECATED qi::Future< R > qi::async (const Func &f, const ArgTrack &toTrack,...)
 
template<typename T >
void qi::detail::tryCancel (Future< T > &fut, const char *errorMsg)
 
template<typename T , typename Duration >
Future< T > qi::cancelOnTimeout (Future< T > fut, Duration timeout)
 

Macro Definition Documentation

#define _QI_DETAIL_ASYNC_HXX_

Copyright (C) 2012-2016 Aldebaran Robotics See COPYING for the license

Definition at line 8 of file async.hxx.