hpx/timed_execution/timed_execution_fwd.hpp#
Defined in header hpx/timed_execution/timed_execution_fwd.hpp.
See Public API for a list of names and headers that are part of the public HPX API.
-
namespace hpx
-
namespace parallel
-
namespace execution
Variables
-
constexpr struct hpx::parallel::execution::post_after_t post_after#
-
constexpr struct hpx::parallel::execution::async_execute_at_t async_execute_at#
-
constexpr struct hpx::parallel::execution::async_execute_after_t async_execute_after#
-
constexpr struct hpx::parallel::execution::sync_execute_at_t sync_execute_at#
-
constexpr struct hpx::parallel::execution::sync_execute_after_t sync_execute_after#
-
struct post_at_t#
- #include <timed_execution_fwd.hpp>
Customization point of asynchronous fire & forget execution agent creation supporting timed execution.
This asynchronously (fire & forget) creates a single function invocation f() using the associated executor at the given point in time.
Note
This calls exec.post_at(abs_time, f, ts…), if available, otherwise it emulates timed scheduling by delaying calling execution::post() on the underlying non-time-scheduled execution agent.
- Param exec:
[in] The executor object to use for scheduling of the function f.
- Param abs_time:
[in] The point in time the given function should be scheduled at to run.
- Param f:
[in] The function which will be scheduled using the given executor.
- Param ts…:
[in] Additional arguments to use to invoke f.
Public Functions
-
template<executor_any Executor, typename F, typename ...Ts>
inline decltype(auto) operator()(Executor &&exec, hpx::chrono::steady_time_point const &abs_time, F &&f, Ts&&... ts) const#
-
template<executor_any Executor, typename F, typename ...Ts>
inline decltype(auto) operator()(Executor &&exec, hpx::chrono::steady_time_point const &abs_time, F &&f, Ts&&... ts) const
-
struct post_after_t#
- #include <timed_execution_fwd.hpp>
Customization point of asynchronous fire & forget execution agent creation supporting timed execution.
This asynchronously (fire & forget) creates a single function invocation f() using the associated executor at the given point in time.
Note
This calls exec.post_after(rel_time, f, ts…), if available, otherwise it emulates timed scheduling by delaying calling execution::post() on the underlying non-time-scheduled execution agent.
- Param exec:
[in] The executor object to use for scheduling of the function f.
- Param rel_time:
[in] The duration of time after which the given function should be scheduled to run.
- Param f:
[in] The function which will be scheduled using the given executor.
- Param ts…:
[in] Additional arguments to use to invoke f.
Public Functions
-
template<executor_any Executor, typename F, typename ...Ts>
inline decltype(auto) operator()(Executor &&exec, hpx::chrono::steady_duration const &rel_time, F &&f, Ts&&... ts) const#
-
template<executor_any Executor, typename F, typename ...Ts>
inline decltype(auto) operator()(Executor &&exec, hpx::chrono::steady_duration const &rel_time, F &&f, Ts&&... ts) const
-
struct async_execute_at_t#
- #include <timed_execution_fwd.hpp>
Customization point of asynchronous execution agent creation supporting timed execution.
This asynchronously creates a single function invocation f() using the associated executor at the given point in time.
Note
This calls exec.async_execute_at(abs_time, f, ts…), if available, otherwise it emulates timed scheduling by delaying calling execution::async_execute() on the underlying non-time-scheduled execution agent.
- Param exec:
[in] The executor object to use for scheduling of the function f.
- Param abs_time:
[in] The point in time the given function should be scheduled at to run.
- Param f:
[in] The function which will be scheduled using the given executor.
- Param ts…:
[in] Additional arguments to use to invoke f.
- Return:
f(ts…)’s result through a future
Public Functions
-
template<executor_any Executor, typename F, typename ...Ts>
inline decltype(auto) operator()(Executor &&exec, hpx::chrono::steady_time_point const &abs_time, F &&f, Ts&&... ts) const#
-
template<executor_any Executor, typename F, typename ...Ts>
inline decltype(auto) operator()(Executor &&exec, hpx::chrono::steady_time_point const &abs_time, F &&f, Ts&&... ts) const
-
struct async_execute_after_t#
- #include <timed_execution_fwd.hpp>
Customization point of asynchronous execution agent creation supporting timed execution.
This asynchronously creates a single function invocation f() using the associated executor at the given point in time.
Note
This calls exec.async_execute_after(rel_time, f, ts…), if available, otherwise it emulates timed scheduling by delaying calling execution::async_execute() on the underlying non-time-scheduled execution agent.
- Param exec:
[in] The executor object to use for scheduling of the function f.
- Param rel_time:
[in] The duration of time after which the given function should be scheduled to run.
- Param f:
[in] The function which will be scheduled using the given executor.
- Param ts…:
[in] Additional arguments to use to invoke f.
- Return:
f(ts…)’s result through a future
Public Functions
-
template<executor_any Executor, typename F, typename ...Ts>
inline decltype(auto) operator()(Executor &&exec, hpx::chrono::steady_duration const &rel_time, F &&f, Ts&&... ts) const#
-
template<executor_any Executor, typename F, typename ...Ts>
inline decltype(auto) operator()(Executor &&exec, hpx::chrono::steady_duration const &rel_time, F &&f, Ts&&... ts) const
-
struct sync_execute_at_t#
- #include <timed_execution_fwd.hpp>
Customization point of synchronous execution agent creation supporting timed execution.
This synchronously creates a single function invocation f() using the associated executor at the given point in time.
Note
This calls exec.sync_execute_at(abs_time, f, ts…), if available, otherwise it emulates timed scheduling by delaying calling execution::sync_execute() on the underlying non-time-scheduled execution agent.
- Param exec:
[in] The executor object to use for scheduling of the function f.
- Param abs_time:
[in] The point in time the given function should be scheduled at to run.
- Param f:
[in] The function which will be scheduled using the given executor.
- Param ts…:
[in] Additional arguments to use to invoke f.
- Return:
f(ts…)’s result
Public Functions
-
template<executor_any Executor, typename F, typename ...Ts>
inline decltype(auto) operator()(Executor &&exec, hpx::chrono::steady_time_point const &abs_time, F &&f, Ts&&... ts) const#
-
template<executor_any Executor, typename F, typename ...Ts>
inline decltype(auto) operator()(Executor &&exec, hpx::chrono::steady_time_point const &abs_time, F &&f, Ts&&... ts) const
-
struct sync_execute_after_t#
- #include <timed_execution_fwd.hpp>
Customization point of synchronous execution agent creation supporting timed execution.
This synchronously creates a single function invocation f() using the associated executor at the given point in time.
Note
This calls exec.sync_execute_after(rel_time, f, ts…), if available, otherwise it emulates timed scheduling by delaying calling execution::sync_execute() on the underlying non-time-scheduled execution agent.
- Param exec:
[in] The executor object to use for scheduling of the function f.
- Param rel_time:
[in] The duration of time after which the given function should be scheduled to run.
- Param f:
[in] The function which will be scheduled using the given executor.
- Param ts…:
[in] Additional arguments to use to invoke f.
- Return:
f(ts…)’s result
Public Functions
-
template<executor_any Executor, typename F, typename ...Ts>
inline decltype(auto) operator()(Executor &&exec, hpx::chrono::steady_duration const &rel_time, F &&f, Ts&&... ts) const#
-
template<executor_any Executor, typename F, typename ...Ts>
inline decltype(auto) operator()(Executor &&exec, hpx::chrono::steady_duration const &rel_time, F &&f, Ts&&... ts) const
-
constexpr struct hpx::parallel::execution::post_after_t post_after#
-
namespace execution
-
namespace parallel