Receives observables from the pre-merge step and merges their inputs for the observer.
More...
|
|
| merge_sub (coordinator *parent, observer< T > out, size_t max_concurrent, size_t max_pending_per_input=default_max_pending_per_input) |
| |
| coordinator * | parent () const noexcept override |
| | Returns the coordinator this object lives on.
|
| |
|
void | on_next (const observable< T > &what) override |
| |
|
void | on_error (const error &what) override |
| |
|
void | on_complete () override |
| |
|
void | on_subscribe (flow::subscription sub) override |
| |
| void | ref_coordinated () const noexcept final |
| | Increases the reference count of the coordinated.
|
| |
| void | deref_coordinated () const noexcept final |
| | Decreases the reference count of the coordinated and destroys the object if necessary.
|
| |
|
void | fwd_on_subscribe (input_key key, subscription sub) |
| |
|
void | fwd_on_complete (input_key key) |
| |
|
void | fwd_on_error (input_key key, const error &what) |
| |
|
void | fwd_on_next (input_key key, const T &item) |
| |
|
bool | disposed () const noexcept override |
| |
| void | request (size_t n) override |
| | Signals demand for n more items.
|
| |
|
size_t | buffered () const noexcept |
| |
|
size_t | demand () const noexcept |
| |
|
size_t | num_inputs () const noexcept |
| |
|
bool | subscribed () const noexcept |
| |
|
size_t | max_concurrent () const noexcept |
| |
|
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.
|
| |
|
| 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.
|
| |
|
| pullable (const pullable &)=delete |
| |
|
pullable & | operator= (const pullable &)=delete |
| |
|
bool | is_pulling () const noexcept |
| | Checks whether this operator is currently running do_pull or is scheduled to do so.
|
| |
template<class T>
class caf::flow::op::merge_sub< T >
Receives observables from the pre-merge step and merges their inputs for the observer.