libcaf  0.13.2
Public Member Functions | Friends | Related Functions | 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, abstract_actor * >, and comparable< actor_addr, abstract_actor_ptr >.

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 invalid_actor_addr_t &)
 
actor_addr operator= (const invalid_actor_addr_t &)
 
 operator bool () const
 
bool operator! () const
 
intptr_t compare (const actor_addr &other) const
 
intptr_t compare (const abstract_actor *other) const
 
intptr_t compare (const abstract_actor_ptr &other) const
 
actor_id id () const
 
node_id node () const
 
bool is_remote () const
 Returns whether this is an address of a remote actor.
 
std::set< std::string > message_types () const
 Returns the set of accepted messages types as strings or an empty set if this actor is untyped. More...
 

Friends

class actor
 
class abstract_actor
 
template<class T , typename U >
actor_cast (const U &)
 Converts actor handle what to a different actor handle of type T.
 

Related Functions

(Note that these are not member functions.)

constexpr invalid_actor_addr_t invalid_actor_addr = invalid_actor_addr_t{}
 Identifies an invalid actor_addr.
 
std::string to_string (const actor_addr &what)
 

Detailed Description

Stores the address of typed as well as untyped actors.

Examples:
dining_philosophers.cpp.

Member Function Documentation

std::set<std::string> caf::actor_addr::message_types ( ) const

Returns the set of accepted messages types as strings or an empty set if this actor is untyped.

Friends And Related Function Documentation

std::string to_string ( const actor_addr what)
related

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