#include <executor.hpp>
|
| Executor () |
|
| ~Executor () |
|
void | stop () |
|
template<typename F > |
_Deferred< F > | defer (F &&f) |
|
template<typename F , typename R = typename result_of<F()>::type, typename std::enable_if<!std::is_void< R >::value, int >::type = 0> |
auto | execute (F &&f) -> decltype(dispatch(process, std::function< R()>(std::forward< F >(f)))) |
|
template<typename F , typename R = typename result_of<F()>::type, typename std::enable_if< std::is_void< R >::value, int >::type = 0> |
Future< Nothing > | execute (F &&f) |
|
process::Executor::Executor |
( |
| ) |
|
|
inline |
process::Executor::~Executor |
( |
| ) |
|
|
inline |
template<typename F >
_Deferred<F> process::Executor::defer |
( |
F && |
f | ) |
|
|
inline |
template<typename F , typename R = typename result_of<F()>::type, typename std::enable_if<!std::is_void< R >::value, int >::type = 0>
auto process::Executor::execute |
( |
F && |
f | ) |
-> decltype(dispatch(process, std::function<R()>(std::forward<F>(f))))
|
|
inline |
template<typename F , typename R = typename result_of<F()>::type, typename std::enable_if< std::is_void< R >::value, int >::type = 0>
void process::Executor::stop |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: