![]() |
hpx::find_id_from_basename — Return registered id from the given base name and sequence number.
// In header: <hpx/hpx_fwd.hpp> hpx::future< hpx::id_type > find_id_from_basename(char const * base_name, std::size_t sequence_nr = ~0U);
This function locates the id which was registered with the given base name and the given sequence number. It returns a future representing those id.
![]() |
Note |
---|---|
The future will become ready even if the event (for instance, binding the name to an id) has already happened in the past. This is important in order to reliably retrieve ids from a name, even if the name was already registered. |
Parameters: |
|
||||
Returns: |
A representing the id which was registered using the given base name and sequence numbers. |