C++ Actor Framework 1.0.0
|
Internal interface of an observer
.
More...
#include <observer.hpp>
Public Types | |
using | input_type = T |
using | handle_type = observer |
Public Member Functions | |
virtual void | on_subscribe (subscription sub)=0 |
virtual void | on_next (const T &item)=0 |
virtual void | on_complete ()=0 |
virtual void | on_error (const error &what)=0 |
observer | as_observer () noexcept |
Public Member Functions inherited from caf::flow::coordinated | |
virtual coordinator * | parent () const noexcept=0 |
Returns the coordinator this object lives on. | |
virtual void | ref_coordinated () const noexcept=0 |
Increases the reference count of the coordinated. | |
virtual void | deref_coordinated () const noexcept=0 |
Decreases the reference count of the coordinated and destroys the object if necessary. | |
Additional Inherited Members | |
Related Symbols inherited from caf::flow::coordinated | |
using | coordinated_ptr = intrusive_ptr<coordinated> |
Internal interface of an observer
.