hpx::components::client#

Defined in header hpx/components.hpp.

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

namespace hpx
namespace components
template<typename Component, typename Data = void>
class client : public hpx::components::client_base<client<Component, void>, Component, void>#
#include <client.hpp>

The client class is a wrapper that manages a distributed component. It extends client_base with specific Component and Data types.

Template Parameters
  • Component – The type of the component.

  • Data – The type of the data associated with the client (default is void).

Public Functions

client() = default#
inline explicit client(hpx::id_type const &id)#
inline explicit client(hpx::id_type &&id)#
inline explicit client(future_type const &f) noexcept#
inline explicit client(future_type &&f) noexcept#
inline client(future<hpx::id_type> &&f) noexcept#
inline client(future<client> &&c)#
client(client const &rhs) noexcept = default#
client(client &&rhs) noexcept = default#
~client() = default#
inline client &operator=(hpx::id_type const &id)#
inline client &operator=(hpx::id_type &&id)#
inline client &operator=(future_type const &f) noexcept#
inline client &operator=(future_type &&f) noexcept#
inline client &operator=(future<hpx::id_type> &&f) noexcept#
client &operator=(client const &rhs) noexcept = default#
client &operator=(client &&rhs) noexcept = default#

Private Types

using base_type = client_base<client, Component, Data>#
using future_type = typename base_type::future_type#