Identifies an untyped actor.
More...
#include <actor.hpp>
Inherits comparable< actor >, comparable< actor, actor_addr >, and comparable< actor, strong_actor_ptr >.
|
|
| actor (actor &&)=default |
| |
|
| actor (const actor &)=default |
| |
|
actor & | operator= (actor &&)=default |
| |
|
actor & | operator= (const actor &)=default |
| |
|
| actor (const scoped_actor &) |
| |
|
| actor (const unsafe_actor_handle_init_t &) |
| |
|
template<class T , class = typename std::enable_if< std::is_base_of<dynamically_typed_actor_base, T>::value >::type> |
| | actor (T *ptr) |
| |
|
template<class T > |
| std::enable_if< is_convertible_to_actor< T >::value, actor & >::type | operator= (intrusive_ptr< T > ptr) |
| |
|
template<class T > |
| std::enable_if< is_convertible_to_actor< T >::value, actor & >::type | operator= (T *ptr) |
| |
|
actor & | operator= (const scoped_actor &x) |
| |
|
actor_addr | address () const noexcept |
| | Returns the address of the stored actor.
|
| |
|
actor_id | id () const noexcept |
| | Returns the ID of this actor.
|
| |
|
node_id | node () const noexcept |
| | Returns the origin node of this actor.
|
| |
|
actor_system & | home_system () const noexcept |
| | Returns the hosting actor system.
|
| |
|
void | swap (actor &other) noexcept |
| | Exchange content of *this and other.
|
| |
|
template<class... Ts> |
| actor | bind (Ts &&...xs) const |
| | Create a new actor decorator that presets or reorders inputs.
|
| |
| bool | unsafe () const |
| | Queries whether this object was constructed using unsafe_actor_handle_init or is in moved-from state. More...
|
| |
|
|
static constexpr bool | has_weak_ptr_semantics = false |
| |
|
static constexpr bool | has_non_null_guarantee = true |
| |
|
|
class | local_actor |
| |
|
template<class > |
| class | data_processor |
| |
|
template<class > |
| class | type_erased_value_impl |
| |
|
template<class , class , int > |
| class | actor_cast_access |
| |
| void | destroy (actor &x) |
| | Releases the reference held by handle x. More...
|
| |
Identifies an untyped actor.
Can be used with derived types of event_based_actor, blocking_actor, and actor_proxy.
- Examples:
- hello_world.cpp.
| bool caf::actor::unsafe |
( |
| ) |
const |
Queries whether this object was constructed using unsafe_actor_handle_init or is in moved-from state.
| void destroy |
( |
actor & |
x | ) |
|
|
friend |
Releases the reference held by handle x.
Using the handle after invalidating it is undefined behavior.
The documentation for this class was generated from the following file:
- libcaf_core/caf/actor.hpp