C++ Actor Framework 1.0.0
|
The subscription for the sample
operator.
More...
#include <sample.hpp>
Public Types | |
using | input_type = T |
using | output_type = T |
using | select_token_type = int64_t |
Public Types inherited from caf::flow::subscription::impl | |
using | handle_type = subscription |
Public Member Functions | |
sample_sub (coordinator *parent, observer< output_type > out) | |
coordinator * | parent () const noexcept override |
Returns the coordinator this object lives on. | |
bool | running () const noexcept |
const error & | err () const noexcept |
bool | pending () const noexcept |
void | init (observable< input_type > vals, observable< select_token_type > ctrl) |
void | fwd_on_subscribe (sample_input_t, subscription sub) |
void | fwd_on_complete (sample_input_t) |
void | fwd_on_error (sample_input_t, const error &what) |
void | fwd_on_next (sample_input_t, const input_type &item) |
void | fwd_on_subscribe (sample_emit_t, subscription sub) |
void | fwd_on_complete (sample_emit_t) |
void | fwd_on_error (sample_emit_t, const error &what) |
void | fwd_on_next (sample_emit_t, select_token_type) |
bool | disposed () const noexcept override |
void | request (size_t n) override |
Signals demand for n more items. | |
Public Member Functions inherited from caf::flow::subscription::impl_base | |
void | ref_disposable () const noexcept override |
void | deref_disposable () const noexcept override |
void | ref_coordinated () const noexcept override |
Increases the reference count of the coordinated. | |
void | deref_coordinated () const noexcept override |
Decreases the reference count of the coordinated and destroys the object if necessary. | |
void | dispose () final |
void | cancel () final |
Signals that the observer is no longer interested in receiving items. | |
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_ |
Related Symbols inherited from caf::flow::coordinated | |
using | coordinated_ptr = intrusive_ptr<coordinated> |
The subscription for the sample
operator.
|
overridevirtualnoexcept |
Returns the coordinator this object lives on.
Implements caf::flow::coordinated.
|
overridevirtual |
Signals demand for n
more items.
Implements caf::flow::subscription::impl.