C++ Actor Framework 0.18
Loading...
Searching...
No Matches
Public Member Functions | List of all members
caf::detail::invoke_result_visitor Class Referenceabstract

Inspects the result of message handlers and triggers type-depended actions such as generating result messages. More...

#include <invoke_result_visitor.hpp>

Inherited by caf::detail::default_invoke_result_visitor< Self >.

Public Member Functions

virtual void operator() (error &)=0
 Called if the message handler returned an error.
 
virtual void operator() (message &)=0
 Called if the message handler returned any "ordinary" value.
 
template<class... Ts>
void operator() (Ts &... xs)
 Wraps arbitrary values into a message and calls the visitor recursively.
 
void operator() (const unit_t &)
 Called if the message handler returns void or unit_t.
 
void operator() (unit_t &x)
 Disambiguates the variadic operator<Ts...>().
 
template<class... Ts>
void operator() (result< Ts... > &res)
 Dispatches on the runtime-type of x.
 
void operator() (response_promise &)
 
template<class... Ts>
void operator() (typed_response_promise< Ts... > &)
 
template<class... Ts>
void operator() (delegated< Ts... > &)
 
template<class Out , class... Ts>
void operator() (outbound_stream_slot< Out, Ts... > &)
 
template<class In >
void operator() (inbound_stream_slot< In > &)
 
template<class In >
void operator() (make_sink_result< In > &)
 
template<class DownstreamManager , class... Ts>
void operator() (make_source_result< DownstreamManager, Ts... > &)
 
template<class In , class DownstreamManager , class... Ts>
void operator() (make_stage_result< In, DownstreamManager, Ts... > &)
 

Detailed Description

Inspects the result of message handlers and triggers type-depended actions such as generating result messages.


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