C++ Actor Framework 1.0.0
Loading...
Searching...
No Matches
caf::policy::select_all< ResponseType > Class Template Reference

Enables a response_handle to fan-in all responses messages into a single result (a vector that stores all received results). More...

#include <select_all.hpp>

Public Types

using response_type = ResponseType
 
using message_id_list = std::vector<message_id>
 
template<class Fun >
using type_checker
 

Public Member Functions

 select_all (message_id_list ids, disposable pending_timeouts)
 
 select_all (select_all &&) noexcept=default
 
select_alloperator= (select_all &&) noexcept=default
 
template<class Self , class F , class OnError >
void await (Self *self, F &&f, OnError &&g)
 
template<class Self , class F , class OnError >
void then (Self *self, F &&f, OnError &&g)
 
template<class Self , class F , class G >
void receive (Self *self, F &&f, G &&g)
 
const message_id_list & ids () const noexcept
 
disposable pending_timeouts ()
 

Static Public Attributes

static constexpr bool is_trivial = false
 

Detailed Description

template<class ResponseType>
class caf::policy::select_all< ResponseType >

Enables a response_handle to fan-in all responses messages into a single result (a vector that stores all received results).

Member Typedef Documentation

◆ type_checker

template<class ResponseType >
template<class Fun >
using caf::policy::select_all< ResponseType >::type_checker
Initial value:
detail::type_checker<response_type,
detail::select_all_helper_t<std::decay_t<Fun>>>

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