libqi-api  2.8.7.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Macros | Enumerations | Functions
executioncontext.hpp File Reference
#include <type_traits>
#include <boost/function.hpp>
#include <qi/api.hpp>
#include <qi/clock.hpp>
#include <ka/typetraits.hpp>
#include <qi/detail/future_fwd.hpp>

Go to the source code of this file.

Classes

class  qi::Future< T >
 
struct  qi::detail::Function< T >
 
struct  qi::ExecutionOptions
 Represent execution behaviour options attached to a task that must be interpreted by an ExecutionContext. More...
 
class  qi::ExecutionContext
 
class  qi::detail::DelayedPromise< T >
 
struct  qi::ToPost< ReturnType, Callback >
 

Namespaces

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

Macros

#define _QI_EXECUTION_CONTEXT_HPP_
 

Enumerations

enum  qi::CancelOption { qi::CancelOption::AllowSkipExecution, qi::CancelOption::AlwaysSkipExecution, qi::CancelOption::NeverSkipExecution }
 < If cancel have been requested for the associated scheduled task... More...
 

Functions

BOOST_CONSTEXPR ExecutionOptions qi::defaultExecutionOptions () BOOST_NOEXCEPT
 
template<typename R >
void qi::detail::setValue (qi::Promise< R > &p, const boost::function< R()> &f)
 
template<>
void qi::detail::setValue< void > (qi::Promise< void > &p, const boost::function< void()> &f)
 
template<typename R >
void qi::detail::callAndSet (qi::Promise< R > p, boost::function< R()> f)
 
template<typename R >
void qi::detail::forwardError (qi::Future< void > f, qi::Promise< R > p)
 

Macro Definition Documentation

#define _QI_EXECUTION_CONTEXT_HPP_

Definition at line 8 of file executioncontext.hpp.