C++ Actor Framework 1.0.0
Loading...
Searching...
No Matches
caf::typed_actor_pointer< TraitOrSignature > Class Template Reference

Provides a view to an actor that implements this messaging interface without knowledge of the actual type. More...

#include <typed_actor_pointer.hpp>

Inheritance diagram for caf::typed_actor_pointer< TraitOrSignature >:
caf::typed_actor_view_base

Public Types

using trait = detail::to_statically_typed_trait_t<TraitOrSignature>
 
using signatures = typename trait::signatures
 Stores the template parameter pack.
 

Public Member Functions

template<class Supertype , class = std::enable_if_t<detail::tl_subset_of< signatures, typename Supertype::signatures>::value>>
 typed_actor_pointer (Supertype *selfptr)
 
template<class... OtherSigs, class = std::enable_if_t<detail::tl_subset_of< signatures, type_list<OtherSigs...>>::value>>
 typed_actor_pointer (typed_actor_pointer< OtherSigs... > other)
 
 typed_actor_pointer (const typed_actor_pointer &)=default
 
 typed_actor_pointer (std::nullptr_t)
 
typed_actor_pointer & operator= (const typed_actor_pointer &)=default
 
template<class Supertype >
typed_actor_pointer & operator= (Supertype *ptr)
 
template<class... OtherSigs, class = std::enable_if_t< detail::tl_subset_of<signatures, type_list<OtherSigs...>>::value>>
typed_actor_pointer & operator= (typed_actor_pointer< OtherSigs... > other)
 
typed_actor_view< trait > * operator-> ()
 
const typed_actor_view< trait > * operator-> () const
 
bool operator! () const noexcept
 
 operator bool () const noexcept
 
 operator scheduled_actor * () const noexcept
 

Detailed Description

template<class TraitOrSignature>
class caf::typed_actor_pointer< TraitOrSignature >

Provides a view to an actor that implements this messaging interface without knowledge of the actual type.


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