hpx/components/basename_registration_fwd.hpp
hpx/components/basename_registration_fwd.hpp#
See Public API for a list of names and headers that are part of the public HPX API.
-
namespace hpx
Functions
-
hpx::future<bool> register_with_basename(std::string base_name, hpx::id_type id, std::size_t sequence_nr = ~static_cast<std::size_t>(0))#
Register the given id using the given base name.
The function registers the given ids using the provided base name.
Note
The operation will fail if the given sequence number is not unique.
- Parameters
base_name – [in] The base name for which to retrieve the registered ids.
id – [in] The id to register using the given base name.
sequence_nr – [in, optional] The sequential number to use for the registration of the id. This number has to be unique system wide for each registration using the same base name. The default is the current locality identifier. Also, the sequence numbers have to be consecutive starting from zero.
- Returns
A future representing the result of the registration operation itself.
-
hpx::future<bool> register_with_basename(std::string base_name, hpx::future<hpx::id_type> f, std::size_t sequence_nr = ~static_cast<std::size_t>(0))#
Register the id wrapped in the given future using the given base name.
The function registers the object the given future refers to using the provided base name.
Note
The operation will fail if the given sequence number is not unique.
- Parameters
base_name – [in] The base name for which to retrieve the registered ids.
f – [in] The future which should be registered using the given base name.
sequence_nr – [in, optional] The sequential number to use for the registration of the id. This number has to be unique system wide for each registration using the same base name. The default is the current locality identifier. Also, the sequence numbers have to be consecutive starting from zero.
- Returns
A future representing the result of the registration operation itself.
-
hpx::future<bool> register_with_basename(std::string base_name, hpx::id_type id, std::size_t sequence_nr = ~static_cast<std::size_t>(0))#