libcaf  0.16.0
Public Types | Public Member Functions | List of all members
caf::mixin::sender< Base, Subtype > Class Template Reference

A sender is an actor that supports self->send(...). More...

#include <sender.hpp>

Inherits Base.

Public Types

using extended_base = sender
 

Public Member Functions

template<class... Ts>
 sender (Ts &&... xs)
 
template<message_priority P = message_priority::normal, class Dest = actor, class... Ts>
void send (const Dest &dest, Ts &&... xs)
 Sends {xs...} as an asynchronous message to dest with priority mp.
 
template<message_priority P = message_priority::normal, class... Ts>
void send (const strong_actor_ptr &dest, Ts &&... xs)
 Sends {xs...} as an asynchronous message to dest with priority mp.
 
template<message_priority P = message_priority::normal, class Source = actor, class Dest = actor, class... Ts>
void anon_send (const Dest &dest, Ts &&... xs)
 
template<message_priority P = message_priority::normal, class Rep = int, class Period = std::ratio<1>, class Dest = actor, class... Ts>
void delayed_send (const Dest &dest, std::chrono::duration< Rep, Period > rtime, Ts &&... xs)
 
template<message_priority P = message_priority::normal, class Rep = int, class Period = std::ratio<1>, class Source = actor, class Dest = actor, class... Ts>
void delayed_anon_send (const Dest &dest, std::chrono::duration< Rep, Period > rtime, Ts &&... xs)
 

Detailed Description

template<class Base, class Subtype>
class caf::mixin::sender< Base, Subtype >

A sender is an actor that supports self->send(...).


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