hpx/components/client_base.hpp

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

namespace hpx
namespace components

Functions

template<typename Derived, typename Stub>
bool operator==(client_base<Derived, Stub> const &lhs, client_base<Derived, Stub> const &rhs)
template<typename Derived, typename Stub>
bool operator<(client_base<Derived, Stub> const &lhs, client_base<Derived, Stub> const &rhs)
template<typename Derived, typename Stub>
class client_base : public detail::make_stub::type<Stub>

Public Types

template<>
using stub_argument_type = Stub
template<>
using server_component_type = typename detail::make_stub::server_component_type
template<>
using is_client_tag = void

Public Functions

client_base()
client_base(id_type const &id)
client_base(id_type &&id)
client_base(hpx::shared_future<id_type> const &f)
client_base(hpx::shared_future<id_type> &&f)
client_base(hpx::future<id_type> &&f)
client_base(client_base const &rhs)
client_base(client_base &&rhs)
client_base(hpx::future<Derived> &&d)
~client_base()
client_base &operator=(id_type const &id)
client_base &operator=(id_type &&id)
client_base &operator=(hpx::shared_future<id_type> const &f)
client_base &operator=(hpx::shared_future<id_type> &&f)
client_base &operator=(hpx::future<id_type> &&f)
client_base &operator=(client_base const &rhs)
client_base &operator=(client_base &&rhs)
bool valid() const
operator bool() const
void free()
id_type const &get_id() const
naming::gid_type const &get_raw_gid() const
hpx::shared_future<id_type> detach()
hpx::shared_future<id_type> share() const
void reset(id_type const &id)
void reset(id_type &&id)
void reset(shared_future<id_type> &&rhs)
id_type const &get() const
bool is_ready() const
bool has_value() const
bool has_exception() const
void wait() const
std::exception_ptr get_exception_ptr() const
template<typename F>
hpx::traits::future_then_result_t<Derived, F> then(launch l, F &&f)
template<typename F>
hpx::traits::future_then_result_t<Derived, F> then(F &&f)
hpx::future<bool> register_as(std::string symbolic_name, bool manage_lifetime = true)
void connect_to(std::string const &symbolic_name)
std::string const &registered_name() const

Protected Types

template<>
using stub_type = typename detail::make_stub<Stub>::type
template<>
using shared_state_type = lcos::detail::future_data_base<id_type>
template<>
using future_type = shared_future<id_type>

Protected Functions

client_base(hpx::intrusive_ptr<shared_state_type> const &state)
client_base(hpx::intrusive_ptr<shared_state_type> &&state)

Protected Attributes

hpx::intrusive_ptr<shared_state_type> shared_state_

Private Static Functions

template<typename F>
static hpx::traits::future_then_result<Derived, F>::cont_result on_ready(hpx::shared_future<id_type> &&fut, F f)
static bool register_as_helper(client_base const &f, std::string symbolic_name, bool manage_lifetime)
namespace serialization

Functions

template<typename Archive, typename Derived, typename Stub>
void serialize(Archive &ar, ::hpx::components::client_base<Derived, Stub> &f, unsigned version)