hpx/parcelport_libfabric/locality.hpp

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

namespace hpx
namespace parcelset
namespace policies
namespace libfabric
struct locality

Public Types

typedef std::array<uint32_t, array_length> locality_data

Public Functions

locality(const locality_data &in_data)
locality()
locality(const locality &other)
locality(locality &&other)
locality &operator=(const locality &other)
const uint32_t &ip_address() const
fi_addr_t fi_address() const
void set_fi_address(fi_addr_t fi_addr)
uint16_t port() const
operator bool() const
void save(serialization::output_archive &ar) const
void load(serialization::input_archive &ar)
const void *fabric_data() const
char *fabric_data_writable()
bool valid()

Public Static Functions

static const char *type()
static const uint32_t &ip_address(const locality_data &data)

Public Static Attributes

const uint32_t array_length = HPX_PARCELPORT_LIBFABRIC_LOCALITY_SIZE / 4
const uint32_t array_size = HPX_PARCELPORT_LIBFABRIC_LOCALITY_SIZE

Private Members

locality_data data_
fi_addr_t fi_address_

Friends

bool operator==(locality const &lhs, locality const &rhs)
bool operator<(locality const &lhs, locality const &rhs)
std::ostream &operator<<(std::ostream &os, locality const &loc)