C++ Actor Framework 1.0.0
Loading...
Searching...
No Matches
caf::flow::observer_impl_base< T > Class Template Reference

Simple base type observer implementations that implements the reference counting member functions with a plain (i.e., not thread-safe) reference count. More...

#include <observer.hpp>

Inheritance diagram for caf::flow::observer_impl_base< T >:
caf::detail::plain_ref_counted caf::flow::forwarder< T, Target, Token >

Public Member Functions

void ref_coordinated () const noexcept final
 
void deref_coordinated () const noexcept final
 
- Public Member Functions inherited from caf::detail::plain_ref_counted
 plain_ref_counted (const plain_ref_counted &)
 
plain_ref_countedoperator= (const plain_ref_counted &)
 
void ref () const noexcept
 Increases reference count by one.
 
void deref () const noexcept
 Decreases reference count by one and calls request_deletion when it drops to zero.
 
bool unique () const noexcept
 Queries whether there is exactly one reference.
 
size_t get_reference_count () const noexcept
 Queries the current reference count for this object.
 

Additional Inherited Members

- Protected Attributes inherited from caf::detail::plain_ref_counted
size_t rc_
 

Detailed Description

template<class T>
class caf::flow::observer_impl_base< T >

Simple base type observer implementations that implements the reference counting member functions with a plain (i.e., not thread-safe) reference count.


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