rotor
Event loop friendly C++ actor micro-framework
 
Loading...
Searching...
No Matches
rotor::plugin::registry_plugin_t::discovery_task_t Struct Reference

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_tlink (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
 

Detailed Description

helper class to invoke callback upon address discovery


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