|
C++ Actor Framework 1.0.0
|
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>
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_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. | |
Additional Inherited Members | |
Protected Attributes inherited from caf::detail::plain_ref_counted | |
| size_t | rc_ |
Simple base type observer implementations that implements the reference counting member functions with a plain (i.e., not thread-safe) reference count.