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

Go to the source code of this file.

Namespaces

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

Macros

#define _QI_ASYNC_HPP_
 

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 >
auto qi::asyncAt (F &&callback, qi::SteadyClockTimePoint timepoint) -> decltype(qi::getEventLoop() ->asyncAt(std::forward< F >(callback), timepoint))
 
template<typename F >
auto qi::asyncDelay (F &&callback, qi::Duration delay) -> decltype(detail::asyncMaybeActor(std::forward< F >(callback), delay))
 
template<typename F >
auto qi::async (F &&callback) -> decltype(asyncDelay(std::forward< F >(callback), qi::Duration(0)))
 
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 , typename Duration >
Future< T > qi::cancelOnTimeout (Future< T > fut, Duration timeout)
 

Macro Definition Documentation

#define _QI_ASYNC_HPP_

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

Definition at line 8 of file async.hpp.