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

forwarder specialization for 1-argument asio-callback without error handler More...

#include <forwarder.hpp>

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

Public Types

using base_t = forwarder_base_t< Actor, Handler, void >
 alias for base class
 
- Public Types inherited from rotor::asio::forwarder_base_t< Actor, Handler, void >
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

template<typename T = void>
void operator() () noexcept
 mimics boost::asio handler, which will be forwarded/decomposed into two different methods of the actor
 
- Public Member Functions inherited from rotor::asio::forwarder_base_t< Actor, Handler, void >
 forwarder_base_t (Actor &actor_, Handler &&handler_)
 constructs forwarder_base for the actor from it handler function
 

Additional Inherited Members

- Public Attributes inherited from rotor::asio::forwarder_base_t< Actor, Handler, void >
typed_actor_ptr_t typed_actor
 
Handler handler
 

Detailed Description

template<typename Actor, typename Handler>
struct rotor::asio::forwarder_t< Actor, Handler, details::count::_0, void >

forwarder specialization for 1-argument asio-callback without error handler


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