Distributed object virtual address. More...
Public Member Functions | |
constexpr | object_virtual_address (void *const p) noexcept |
constexpr | object_virtual_address (const object_id h) noexcept |
constexpr bool | valid (void) const noexcept |
constexpr address_type | get_type (void) const noexcept |
void * | direct (void) const noexcept |
object_id | indirect (void) const noexcept |
std::size_t | abstract (void) const noexcept |
std::size_t | hash_code (void) const noexcept |
Public Types | |
enum | address_type { UNKNOWN = 0x0, DIRECT, INDIRECT } |
Internal handle type. More... | |
using | member_types = std::tuple< address_type > |
Friends | |
constexpr bool | operator== (object_virtual_address const &x, object_virtual_address const &y) noexcept |
constexpr bool | operator!= (object_virtual_address const &x, object_virtual_address const &y) noexcept |
std::ostream & | operator<< (std::ostream &, object_virtual_address const &) |
Distributed object virtual address.
This class abstracts the address of a distributed object.
Internal handle type.
Enumerator | |
---|---|
UNKNOWN | Virtual address not associated with an object. |
DIRECT | Direct address to the registered object. |
INDIRECT | Indirect address to the registered object through an spmd_registry. |