libcaf  0.15.0
Public Member Functions | Static Public Attributes | Friends | List of all members
caf::actor_addr Class Reference

Stores the address of typed as well as untyped actors. More...

#include <actor_addr.hpp>

Inherits comparable< actor_addr >, comparable< actor_addr, weak_actor_ptr >, comparable< actor_addr, strong_actor_ptr >, comparable< actor_addr, abstract_actor * >, and comparable< actor_addr, actor_control_block * >.

Public Member Functions

 actor_addr (actor_addr &&)=default
 
 actor_addr (const actor_addr &)=default
 
actor_addroperator= (actor_addr &&)=default
 
actor_addroperator= (const actor_addr &)=default
 
 actor_addr (const unsafe_actor_handle_init_t &)
 
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_addr &other) noexcept
 Exchange content of *this and other.
 

Static Public Attributes

static constexpr bool has_weak_ptr_semantics = true
 
static constexpr bool has_non_null_guarantee = true
 

Friends

template<class >
class type_erased_value_impl
 
template<class >
class data_processor
 
class actor
 
class abstract_actor
 
class down_msg
 
class exit_msg
 
template<class , class , int >
class actor_cast_access
 

Detailed Description

Stores the address of typed as well as untyped actors.

Examples:
dining_philosophers.cpp.

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