C++ Actor Framework 1.0.0
|
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_type * | get () const noexcept |
element_type * | operator-> () const noexcept |
element_type & | operator* () 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. | |
An "owning" pointer to an actor shell in the sense that it calls quit()
on the shell when going out of scope.