C++ Actor Framework 1.0.0
Loading...
Searching...
No Matches
caf::anon_mail_t< Priority, Args > Class Template Reference

Provides a fluent interface for sending anonymous messages to actors. More...

#include <anon_mail.hpp>

Public Member Functions

 anon_mail_t (message &&content)
 
 anon_mail_t (const anon_mail_t &)=delete
 
anon_mail_toperator= (const anon_mail_t &)=delete
 
template<message_priority P = Priority, class E = std::enable_if_t<P == message_priority::normal>>
auto urgent () &&
 Tags the message as urgent, i.e., sends it with high priority.
 
auto schedule (actor_clock::time_point timeout) &&
 Schedules the message for delivery with an absolute timeout.
 
auto delay (actor_clock::duration_type timeout) &&
 Schedules the message for delivery with a relative timeout.
 
template<class Handle >
void send (const Handle &receiver) &&
 Sends the message to receiver.
 

Detailed Description

template<message_priority Priority, class... Args>
class caf::anon_mail_t< Priority, Args >

Provides a fluent interface for sending anonymous messages to actors.


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