C++ Actor Framework 1.0.0
Loading...
Searching...
No Matches
caf::flow::forwarder< T, Target, Token > Class Template Reference

Forwards all events to its parent. More...

#include <observer.hpp>

Inheritance diagram for caf::flow::forwarder< T, Target, Token >:
caf::flow::observer_impl_base< T > caf::detail::plain_ref_counted

Public Member Functions

 forwarder (coordinator *parent, intrusive_ptr< Target > target, Token token)
 
flow::coordinatorparent () const noexcept override
 
void on_complete () override
 
void on_error (const error &what) override
 
void on_subscribe (subscription new_sub) override
 
void on_next (const T &item) override
 
- Public Member Functions inherited from caf::flow::observer_impl_base< T >
void ref_coordinated () const noexcept final
 
void deref_coordinated () const noexcept final
 
- Public Member Functions inherited from caf::detail::plain_ref_counted
 plain_ref_counted (const plain_ref_counted &)
 
plain_ref_countedoperator= (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_
 

Detailed Description

template<class T, class Target, class Token>
class caf::flow::forwarder< T, Target, Token >

Forwards all events to its parent.


The documentation for this class was generated from the following file: