C++ Actor Framework 1.0.0
Loading...
Searching...
No Matches
caf::net::typed_actor_shell_ptr< TraitOrSignature > 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<TraitOrSignature>
 
using element_type = typed_actor_shell<TraitOrSignature>
 

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 TraitOrSignature>
class caf::net::typed_actor_shell_ptr< TraitOrSignature >

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 file: