C++ Actor Framework 1.0.0
|
Forwards all events to its parent. More...
#include <observer.hpp>
Public Member Functions | |
forwarder (coordinator *parent, intrusive_ptr< Target > target, Token token) | |
flow::coordinator * | parent () const noexcept override |
void | on_complete () override |
void | on_error (const error &what) override |
void | on_subscribe (subscription new_sub) override |
void | on_next (const T &item) override |
Public Member Functions inherited from caf::flow::observer_impl_base< T > | |
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_ |
Forwards all events to its parent.