rotor
Event loop friendly C++ actor micro-framework
 
Loading...
Searching...
No Matches
rotor::asio::forwarder_base_t< Actor, Handler, ErrHandler > Struct Template Reference

templated forwarder base class More...

#include <forwarder.hpp>

Inheritance diagram for rotor::asio::forwarder_base_t< Actor, Handler, ErrHandler >:
rotor::asio::forwarder_t< Actor, Handler, details::count::_0, ErrHandler > rotor::asio::forwarder_t< Actor, Handler, details::count::_1, ErrHandler >

Public Types

using base_t = forwarder_base_t< Actor, Handler, void >
 alias for base class
 

Public Member Functions

 forwarder_base_t (Actor &actor_, Handler &&handler_, ErrHandler &&err_handler_)
 constructs forwarder_base for the actor from it's member functions: positive result handler and error handler functions.
 

Public Attributes

ErrHandler err_handler
 

Detailed Description

template<typename Actor, typename Handler, typename ErrHandler>
struct rotor::asio::forwarder_base_t< Actor, Handler, ErrHandler >

templated forwarder base class

forwarder base implementation with result and error handlers

Member Data Documentation

◆ err_handler

template<typename Actor , typename Handler , typename ErrHandler >
ErrHandler rotor::asio::forwarder_base_t< Actor, Handler, ErrHandler >::err_handler

pointer-to-member function of the actor to handle negative case result, i.e. error_code


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