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

partial specialization of forwarder base when there is no error handler More...

#include <forwarder.hpp>

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

Public Types

using typed_actor_ptr_t = intrusive_ptr_t< Actor >
 alias for intrusive pointer for an actor type
 
using typed_sup_t = supervisor_asio_t
 alias for boost::asio supervisor
 

Public Member Functions

 forwarder_base_t (Actor &actor_, Handler &&handler_)
 constructs forwarder_base for the actor from it handler function
 

Public Attributes

typed_actor_ptr_t typed_actor
 
Handler handler
 

Detailed Description

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

partial specialization of forwarder base when there is no error handler

Member Data Documentation

◆ handler

template<typename Actor , typename Handler >
Handler rotor::asio::forwarder_base_t< Actor, Handler, void >::handler

pointer-to-member function of the actor to handle positive case result

◆ typed_actor

template<typename Actor , typename Handler >
typed_actor_ptr_t rotor::asio::forwarder_base_t< Actor, Handler, void >::typed_actor

intrusive pointer to the actor


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