|
C++ Actor Framework 0.19
|
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_ptr & | operator= (actor_shell_ptr &&other) noexcept=default |
| actor_shell_ptr (const actor_shell_ptr &other)=delete | |
| actor_shell_ptr & | operator= (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_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 (actor_system &, async::execution_context_ptr) |
| 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.