libcaf  0.17.1
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
caf::mailbox_element_view< Ts > Class Template Referencefinal

Provides a view for treating arbitrary data as message element. More...

#include <mailbox_element.hpp>

Inherits caf::mailbox_element, and type_erased_tuple_view< Ts...>.

Public Member Functions

 mailbox_element_view (strong_actor_ptr &&x0, message_id x1, forwarding_stack &&x2, Ts &...xs)
 
type_erased_tuplecontent () override
 
const type_erased_tuplecontent () const override
 
message move_content_to_message () override
 
message copy_content_to_message () const override
 
- Public Member Functions inherited from caf::mailbox_element
 mailbox_element (strong_actor_ptr &&x, message_id y, forwarding_stack &&z)
 
bool is_high_priority () const
 
 mailbox_element (mailbox_element &&)=delete
 
 mailbox_element (const mailbox_element &)=delete
 
mailbox_element & operator= (mailbox_element &&)=delete
 
mailbox_element & operator= (const mailbox_element &)=delete
 
- Public Member Functions inherited from caf::memory_managed
virtual void request_deletion (bool decremented_rc) const noexcept
 Default implementations calls `delete this, but can be overriden in case deletion depends on some condition or the class doesn't use default new/delete. More...
 

Additional Inherited Members

- Public Types inherited from caf::mailbox_element
using forwarding_stack = std::vector< strong_actor_ptr >
 
- Public Attributes inherited from caf::mailbox_element
strong_actor_ptr sender
 Source of this message and receiver of the final response.
 
message_id mid
 Denotes whether this an asynchronous message or a request.
 
forwarding_stack stages
 stages.back() is the next actor in the forwarding chain, if this is empty then the original sender receives the response. More...
 

Detailed Description

template<class... Ts>
class caf::mailbox_element_view< Ts >

Provides a view for treating arbitrary data as message element.


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