Apache Mesos
Public Member Functions | List of all members
process::Executor Class Reference

#include <executor.hpp>

Public Member Functions

 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< Nothingexecute (F &&f)
 

Constructor & Destructor Documentation

process::Executor::Executor ( )
inline
process::Executor::~Executor ( )
inline

Member Function Documentation

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>
Future<Nothing> process::Executor::execute ( F &&  f)
inline
void process::Executor::stop ( )
inline

The documentation for this class was generated from the following file: