C++ Actor Framework 1.0.0
|
Base type for asynchronous producers of events. More...
#include <producer.hpp>
Public Member Functions | |
virtual void | on_consumer_ready ()=0 |
Called to signal that the consumer started handling events. | |
virtual void | on_consumer_cancel ()=0 |
Called to signal that the consumer stopped handling events. | |
virtual void | on_consumer_demand (size_t demand)=0 |
Called to signal that the consumer requests more events. | |
virtual void | ref_producer () const noexcept=0 |
Increases the reference count of the producer. | |
virtual void | deref_producer () const noexcept=0 |
Decreases the reference count of the producer and destroys the object if necessary. | |
Related Symbols | |
(Note that these are not member symbols.) | |
using | producer_ptr = intrusive_ptr<producer> |
void | intrusive_ptr_add_ref (const producer *p) noexcept |
void | intrusive_ptr_release (const producer *p) noexcept |
Base type for asynchronous producers of events.
|
pure virtualnoexcept |
Decreases the reference count of the producer and destroys the object if necessary.
Implemented in caf::flow::buffer_writer_impl< Buffer >.
|
pure virtual |
Called to signal that the consumer stopped handling events.
Implemented in caf::flow::buffer_writer_impl< Buffer >.
|
pure virtual |
Called to signal that the consumer requests more events.
Implemented in caf::flow::buffer_writer_impl< Buffer >.
|
pure virtual |
Called to signal that the consumer started handling events.
Implemented in caf::flow::buffer_writer_impl< Buffer >.
|
pure virtualnoexcept |
Increases the reference count of the producer.
Implemented in caf::flow::buffer_writer_impl< Buffer >.