|
| from_resource_sub (coordinator *ctx, buffer_ptr buf, observer< value_type > out) |
|
bool | disposed () const noexcept override |
|
void | dispose () override |
|
void | request (size_t n) override |
| Signals demand for n more items.
|
|
void | on_producer_ready () override |
| Called to signal that the producer started emitting items.
|
|
void | on_producer_wakeup () override |
| Called to signal to the consumer that the producer added an item to a previously empty source or completed the flow of events.
|
|
void | ref_consumer () const noexcept final |
| Increases the reference count of the consumer.
|
|
void | deref_consumer () const noexcept final |
| Decreases the reference count of the consumer and destroys the object if necessary.
|
|
void | ref_disposable () const noexcept final |
|
void | deref_disposable () const noexcept final |
|
| atomic_ref_counted (const atomic_ref_counted &) |
|
atomic_ref_counted & | operator= (const atomic_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 |
|
virtual void | on_producer_ready ()=0 |
| Called to signal that the producer started emitting items.
|
|
virtual void | on_producer_wakeup ()=0 |
| Called to signal to the consumer that the producer added an item to a previously empty source or completed the flow of events.
|
|
virtual void | ref_consumer () const noexcept=0 |
| Increases the reference count of the consumer.
|
|
virtual void | deref_consumer () const noexcept=0 |
| Decreases the reference count of the consumer and destroys the object if necessary.
|
|
template<class Buffer>
class caf::flow::op::from_resource_sub< Buffer >
Reads from an observable buffer and emits the consumed items.