C++ Actor Framework 1.0.0
Loading...
Searching...
No Matches
caf::net::typed_actor_shell_ptr< T1, T2, Ts... > Class Template 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 <typed_actor_shell.hpp>

Public Types

using handle_type = typed_actor<T1, T2, Ts...>
 
using element_type = typed_actor_shell<T1, T2, Ts...>
 

Public Member Functions

constexpr typed_actor_shell_ptr (std::nullptr_t) noexcept
 
 typed_actor_shell_ptr (typed_actor_shell_ptr &&other) noexcept=default
 
typed_actor_shell_ptr & operator= (typed_actor_shell_ptr &&other) noexcept=default
 
 typed_actor_shell_ptr (const typed_actor_shell_ptr &other)=delete
 
typed_actor_shell_ptr & operator= (const typed_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

template<class T1, class T2, class... Ts>
class caf::net::typed_actor_shell_ptr< T1, T2, Ts... >

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

Note
This is a specialization for backwards compatibility with pre v1.0 releases. Please use the trait based implementation.

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