C++ Actor Framework 0.19
Loading...
Searching...
No Matches
Public Member Functions | List of all members
caf::flow::subscription::impl_base Class Reference

Simple base type for all subscription implementations that implements the reference counting member functions. More...

#include <subscription.hpp>

Inheritance diagram for caf::flow::subscription::impl_base:
caf::detail::plain_ref_counted caf::flow::subscription::impl caf::disposable::impl caf::flow::op::cell_sub< T > caf::flow::op::concat_sub< T > caf::flow::op::merge_sub< T > caf::flow::op::zip_with_sub< F, Ts > caf::flow::subscription::fwd_impl

Public Member Functions

void ref_disposable () const noexcept final
 
void deref_disposable () 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.
 
- Public Member Functions inherited from caf::flow::subscription::impl
virtual void request (size_t n)=0
 Signals demand for n more items.
 
- Public Member Functions inherited from caf::disposable::impl
virtual void dispose ()=0
 
virtual bool disposed () const noexcept=0
 
disposable as_disposable () noexcept
 
virtual void ref_disposable () const noexcept=0
 
virtual void deref_disposable () const noexcept=0
 

Additional Inherited Members

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

Detailed Description

Simple base type for all subscription implementations that implements the reference counting member functions.

Member Function Documentation

◆ deref_disposable()

void caf::flow::subscription::impl_base::deref_disposable ( ) const
finalvirtualnoexcept

Implements caf::disposable::impl.

◆ ref_disposable()

void caf::flow::subscription::impl_base::ref_disposable ( ) const
finalvirtualnoexcept

Implements caf::disposable::impl.


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