hpx/async_distributed/packaged_action.hpp¶
See Public API for a list of names and headers that are part of the public HPX API.
-
namespace
hpx
-
namespace
lcos
-
template<typename
Action
, typenameResult
>
classpackaged_action
<Action, Result, false> : public hpx::distributed::promise<Result, hpx::traits::extract_action<Action>::remote_result_type>¶ Subclassed by hpx::lcos::packaged_action< Action, Result, true >
Public Functions
-
packaged_action
()¶
-
template<typename
Callback
, typename ...Ts
>
voidapply_cb
(hpx::id_type const &id, Callback &&cb, Ts&&... vs)¶
-
template<typename
Callback
, typename ...Ts
>
voidapply_cb
(naming::address &&addr, hpx::id_type const &id, Callback &&cb, Ts&&... vs)¶
-
template<typename ...
Ts
>
voidapply_p
(hpx::id_type const &id, threads::thread_priority priority, Ts&&... vs)¶
-
template<typename ...
Ts
>
voidapply_p
(naming::address &&addr, hpx::id_type const &id, threads::thread_priority priority, Ts&&... vs)¶
-
template<typename
Callback
, typename ...Ts
>
voidapply_p_cb
(hpx::id_type const &id, threads::thread_priority priority, Callback &&cb, Ts&&... vs)¶
-
template<typename
Callback
, typename ...Ts
>
voidapply_p_cb
(naming::address &&addr, hpx::id_type const &id, threads::thread_priority priority, Callback &&cb, Ts&&... vs)¶
Protected Types
-
template<>
usingaction_type
= typename hpx::traits::extract_action<Action>::type¶
-
template<>
usingremote_result_type
= typename action_type::remote_result_type¶
-
template<>
usingbase_type
= hpx::distributed::promise<Result, remote_result_type>¶
Protected Functions
-
template<typename ...
Ts
>
voiddo_apply
(naming::address &&addr, hpx::id_type const &id, threads::thread_priority priority, Ts&&... vs)¶
-
template<typename ...
Ts
>
voiddo_apply
(hpx::id_type const &id, threads::thread_priority priority, Ts&&... vs)¶
-
-
template<typename
Action
, typenameResult
>
classpackaged_action
<Action, Result, true> : public hpx::lcos::packaged_action<Action, Result, false>¶ Public Functions
-
packaged_action
() Construct a (non-functional) instance of an packaged_action. To use this instance its member function apply needs to be directly called.
Private Types
-
template<>
usingaction_type
= typename packaged_action::action_type¶
-
-
template<typename
-
namespace