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.

Header hpx/timed_execution/timed_execution.hpp

Header hpx/timed_execution/timed_execution_fwd.hpp

Header hpx/timed_execution/timed_executors.hpp

namespace hpx
namespace parallel
namespace execution

Typedefs

using sequenced_timed_executor = timed_executor<execution::sequenced_executor>
using parallel_timed_executor = timed_executor<execution::parallel_executor>
template<typename BaseExecutor>
struct timed_executor
#include <timed_executors.hpp>

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::util::steady_time_point const &abs_time)
timed_executor(hpx::util::steady_duration const &rel_time)
template<typename Executor>
timed_executor(Executor &&exec, hpx::util::steady_time_point const &abs_time)
template<typename Executor>
timed_executor(Executor &&exec, hpx::util::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_

Header hpx/timed_execution/traits/is_timed_executor.hpp

namespace hpx
namespace parallel
namespace execution

Typedefs

using is_timed_executor_t = typename is_timed_executor<T>::type