STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types | Friends
stapl::runtime::object_virtual_address Class Reference

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 &)
 

Detailed Description

Distributed object virtual address.

This class abstracts the address of a distributed object.

See also
rmi_handle

Member Enumeration Documentation

◆ address_type

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.


The documentation for this class was generated from the following file: