Simple base type for all subscription implementations that implements the reference counting member functions.
More...
#include <subscription.hpp>
|
| void | ref_disposable () const noexcept final |
| |
| void | deref_disposable () const noexcept final |
| |
|
| plain_ref_counted (const plain_ref_counted &) |
| |
|
plain_ref_counted & | operator= (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.
|
| |
| virtual void | request (size_t n)=0 |
| | Signals demand for n more items.
|
| |
|
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 |
| |
Simple base type for all subscription implementations that implements the reference counting member functions.
◆ deref_disposable()
| void caf::flow::subscription::impl_base::deref_disposable |
( |
| ) |
const |
|
finalvirtualnoexcept |
◆ ref_disposable()
| void caf::flow::subscription::impl_base::ref_disposable |
( |
| ) |
const |
|
finalvirtualnoexcept |
The documentation for this class was generated from the following files:
- libcaf_core/caf/flow/subscription.hpp
- libcaf_core/caf/flow/subscription.cpp