Operations class for container distributions that provides get_element. More...
Public Member Functions | |
value_type | get_element (gid_type const &gid) const |
Return a copy of the element at a specific GID. Note that this is a blocking operation. More... | |
future< value_type > | get_element_split (gid_type const &gid) |
Return a future of the element at a specific GID. This is a non-blocking operation. More... | |
Friends | |
class | migratable< Derived > |
Operations class for container distributions that provides get_element.
Uses the CRTP pattern. Requires that the base container has a get_element method that takes a single GID.
Derived | The most derived distribution class |
value_type stapl::operations::gettable< Derived >::get_element | ( | gid_type const & | gid | ) | const |
Return a copy of the element at a specific GID. Note that this is a blocking operation.
gid | GID of the element to retrieve |
future<value_type> stapl::operations::gettable< Derived >::get_element_split | ( | gid_type const & | gid | ) |
Return a future of the element at a specific GID. This is a non-blocking operation.
gid | GID of the element to retrieve |