timed_execution

The contents of this module can be included with the header hpx/modules/timed_execution.hpp. These headers may be used by user-code but are not guaranteed stable (neither header location nor contents). You are using these at your own risk. If you wish to use non-public functionality from a module we strongly suggest only including the module header hpx/modules/timed_execution.hpp, not the particular header in which the functionality you would like to use is defined. See Public API for a list of names that are part of the public HPX API.

namespace hpx
namespace parallel
namespace execution

Typedefs

using sequenced_timed_executor = timed_executor<hpx::execution::sequenced_executor>
using parallel_timed_executor = timed_executor<hpx::execution::parallel_executor>
template<typename BaseExecutor>
struct timed_executor

Public Types

typedef std::decay<BaseExecutor>::type base_executor_type
typedef hpx::traits::executor_execution_category<base_executor_type>::type execution_category
typedef hpx::traits::executor_parameters_type<base_executor_type>::type parameters_type

Public Functions

timed_executor(hpx::chrono::steady_time_point const &abs_time)
timed_executor(hpx::chrono::steady_duration const &rel_time)
template<typename Executor>
timed_executor(Executor &&exec, hpx::chrono::steady_time_point const &abs_time)
template<typename Executor>
timed_executor(Executor &&exec, hpx::chrono::steady_duration const &rel_time)
template<typename F, typename ...Ts>
hpx::util::detail::invoke_deferred_result<F, Ts...>::type sync_execute(F &&f, Ts&&... ts)
template<typename F, typename ...Ts>
hpx::future<typename hpx::util::detail::invoke_deferred_result<F, Ts...>::type> async_execute(F &&f, Ts&&... ts)
template<typename F, typename ...Ts>
void post(F &&f, Ts&&... ts)

Public Members

BaseExecutor exec_
std::chrono::steady_clock::time_point execute_at_
namespace hpx
namespace parallel
namespace execution

Typedefs

template<typename T>
using is_timed_executor_t = typename is_timed_executor<T>::type