hpx/distribution_policies/unwrapping_result_policy.hpp#

Defined in header hpx/distribution_policies/unwrapping_result_policy.hpp.

See Public API for a list of names and headers that are part of the public HPX API.

namespace hpx
namespace components
struct unwrapping_result_policy#
#include <unwrapping_result_policy.hpp>

This class is a distribution policy that can be using with actions that return futures. For those actions it is possible to apply certain optimizations if the action is invoked synchronously.

Public Functions

inline explicit unwrapping_result_policy(id_type const &id)#
template<typename Client, typename Stub, typename Data>
inline explicit unwrapping_result_policy(client_base<Client, Stub, Data> const &client)#
template<typename Action, typename ...Ts>
inline async_result<Action>::type async(launch policy, Ts&&... vs) const#
template<typename Action, typename ...Ts>
inline async_result<Action>::type async(launch::sync_policy, Ts&&... vs) const#
template<typename Action, typename Callback, typename ...Ts>
inline async_result<Action>::type async_cb(launch policy, Callback &&cb, Ts&&... vs) const#
template<typename Action, typename Continuation, typename ...Ts>
inline bool apply(Continuation &&c, launch policy, Ts&&... vs) const#

Note

This function is part of the invocation policy implemented by this class

template<typename Action, typename ...Ts>
inline bool apply(launch policy, Ts&&... vs) const#
template<typename Action, typename Continuation, typename Callback, typename ...Ts>
inline bool apply_cb(Continuation &&c, launch policy, Callback &&cb, Ts&&... vs) const#

Note

This function is part of the invocation policy implemented by this class

template<typename Action, typename Callback, typename ...Ts>
inline bool apply_cb(launch policy, Callback &&cb, Ts&&... vs) const#
inline hpx::id_type const &get_next_target() const#
template<typename Action>
struct async_result#

Public Types

using type = typename traits::promise_local_result<typename hpx::traits::extract_action<Action>::remote_result_type>::type#