helper class to invoke callback upon address discovery More...
#include <registry.h>
Public Types | |
enum class | state_t { PASSIVE , DISCOVERING , LINKING , OPERATIONAL , CANCELLING } |
stat of the discovery task | |
using | callback_t = std::function<void(phase_t phase, const extended_error_ptr_t &)> |
callback for the discovery progress |
Public Member Functions | |
discovery_task_t & | link (bool operational_only_=true) noexcept |
sets that linking should be performed on operational-only discovered address | |
template<typename Callback> | |
void | callback (Callback &&cb) noexcept |
discovery progress callback setter | |
template<typename T, typename... Args> | |
auto | access (Args... args) noexcept |
generic non-public methods accessor |
Friends | |
struct | registry_plugin_t |
helper class to invoke callback upon address discovery