C++ Actor Framework 1.0.0
Loading...
Searching...
No Matches
caf::net::actor_shell_ptr Class Reference

An "owning" pointer to an actor shell in the sense that it calls quit() on the shell when going out of scope. More...

#include <actor_shell.hpp>

Public Types

using handle_type = actor
 
using element_type = actor_shell
 

Public Member Functions

constexpr actor_shell_ptr (std::nullptr_t) noexcept
 
 actor_shell_ptr (actor_shell_ptr &&other) noexcept=default
 
actor_shell_ptroperator= (actor_shell_ptr &&other) noexcept=default
 
 actor_shell_ptr (const actor_shell_ptr &other)=delete
 
actor_shell_ptroperator= (const actor_shell_ptr &other)=delete
 
handle_type as_actor () const noexcept
 Returns an actor handle to the managed actor shell.
 
void detach (error reason)
 
element_typeget () const noexcept
 
element_typeoperator-> () const noexcept
 
element_typeoperator* () const noexcept
 
bool operator! () const noexcept
 
 operator bool () const noexcept
 

Friends

template<class Handle >
actor_shell_ptr_t< Handle > make_actor_shell (socket_manager *mgr)
 Creates a new actor_shell and registers it at the actor system.
 

Detailed Description

An "owning" pointer to an actor shell in the sense that it calls quit() on the shell when going out of scope.


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