hpx/naming_base/id_type.hpp

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

Defines

HPX_ID_TYPE_UNSCOPED_ENUM_DEPRECATION_MSG
template<>
struct get_remote_result<hpx::id_type, naming::gid_type>

Public Static Functions

static hpx::id_type call(naming::gid_type const &rhs)
template<>
struct promise_local_result<naming::gid_type>

Public Types

template<>
using type = hpx::id_type
template<>
struct get_remote_result<std::vector<hpx::id_type>, std::vector<naming::gid_type>>

Public Static Functions

static std::vector<hpx::id_type> call(std::vector<naming::gid_type> const &rhs)
template<>
struct promise_local_result<std::vector<naming::gid_type>>

Public Types

template<>
using type = std::vector<hpx::id_type>
namespace hpx

Functions

std::ostream &operator<<(std::ostream &os, id_type const &id)
bool operator!=(id_type const &lhs, id_type const &rhs)
bool operator<=(id_type const &lhs, id_type const &rhs)
bool operator>(id_type const &lhs, id_type const &rhs)
bool operator>=(id_type const &lhs, id_type const &rhs)

Variables

const id_type invalid_id = id_type()
struct id_type

Public Types

enum management_type

Values:

unknown_deleter = -1
unmanaged = 0

unmanaged GID

managed = 1

managed GID

managed_move_credit = 2

managed GID that will give up all credits when sent

Public Functions

constexpr id_type()
id_type(std::uint64_t lsb_id, management_type t)
id_type(naming::gid_type const &gid, management_type t)
id_type(std::uint64_t msb_id, std::uint64_t lsb_id, management_type t)
id_type(id_type const &o)
id_type(id_type &&o)
id_type &operator=(id_type const &o)
id_type &operator=(id_type &&o)
naming::gid_type const &get_gid()
naming::gid_type const &get_gid() const
id_type::management_type get_management_type() const
id_type &operator++()
id_type operator++(int)
operator bool() const
std::uint64_t get_msb() const
void set_msb(std::uint64_t msb)
std::uint64_t get_lsb() const
void set_lsb(std::uint64_t lsb)
void set_lsb(void *lsb)
void make_unmanaged() const
hpx::intrusive_ptr<naming::detail::id_type_impl> &impl()
constexpr hpx::intrusive_ptr<naming::detail::id_type_impl> const &impl() const

Public Static Attributes

constexpr management_type unknown_deleter = management_type::unknown_deleter
constexpr management_type unmanaged = management_type::unmanaged
constexpr management_type managed = management_type::managed
constexpr management_type managed_move_credit = management_type::managed_move_credit

Private Members

hpx::intrusive_ptr<naming::detail::id_type_impl> gid_

Friends

friend constexpr bool operator<(management_type lhs, management_type rhs)
friend constexpr bool operator>(management_type lhs, management_type rhs)
bool operator==(id_type const &lhs, id_type const &rhs)
bool operator!=(id_type const &lhs, id_type const &rhs)
bool operator<(id_type const &lhs, id_type const &rhs)
bool operator<=(id_type const &lhs, id_type const &rhs)
bool operator>(id_type const &lhs, id_type const &rhs)
bool operator>=(id_type const &lhs, id_type const &rhs)
std::ostream &operator<<(std::ostream &os, id_type const &id)
namespace naming

Typedefs

using instead = hpx::id_type

Functions

char const *get_management_type_name(id_type::management_type m)
id_type get_id_from_locality_id(std::uint32_t locality_id)
std::uint32_t get_locality_id_from_id(id_type const &id)
id_type get_locality_from_id(id_type const &id)
bool is_locality(id_type const &id)
namespace traits
template<>
struct get_remote_result<hpx::id_type, naming::gid_type>

Public Static Functions

static hpx::id_type call(naming::gid_type const &rhs)
template<>
struct get_remote_result<std::vector<hpx::id_type>, std::vector<naming::gid_type>>

Public Static Functions

static std::vector<hpx::id_type> call(std::vector<naming::gid_type> const &rhs)
template<>
struct promise_local_result<naming::gid_type>

Public Types

template<>
using type = hpx::id_type
template<>
struct promise_local_result<std::vector<naming::gid_type>>

Public Types

template<>
using type = std::vector<hpx::id_type>