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

A scoped handle to a blocking actor. More...

#include <scoped_actor.hpp>

Public Types

using signatures = none_t
 

Public Member Functions

 scoped_actor (actor_system &sys, bool hide_actor=false)
 
 scoped_actor (const scoped_actor &)=delete
 
scoped_actoroperator= (const scoped_actor &)=delete
 
 scoped_actor (scoped_actor &&)=default
 
scoped_actoroperator= (scoped_actor &&)=default
 
actor_system & home_system () const
 
blocking_actoroperator-> () const
 
blocking_actoroperator* () const
 
actor_addr address () const
 
blocking_actorptr () const
 

Static Public Attributes

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

Friends

template<class , class , int >
class actor_cast_access
 

Detailed Description

A scoped handle to a blocking actor.

Examples:
dining_philosophers.cpp.

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