ReactivePlusPlus
One more implementation of ReactiveX approach in C++ with care about performance and templates in mind
 
Loading...
Searching...
No Matches
rpp::details::dynamic_observer_state< T, TObserver > Class Template Referencefinal
Inheritance diagram for rpp::details::dynamic_observer_state< T, TObserver >:
rpp::details::dynamic_observer_state_base< T >

Public Member Functions

template<typename ... Args>
requires std::constructible_from<TObserver, Args...>
 dynamic_observer_state (Args &&...args)
 
void on_next (const T &v) const override
 
void on_next (T &&v) const override
 
void on_error (const std::exception_ptr &err) const override
 
void on_completed () const override
 
virtual void on_next (const T &v) const =0
 
virtual void on_next (T &&v) const =0
 
virtual void on_error (const std::exception_ptr &err) const =0
 
virtual void on_completed () const =0
 

Member Function Documentation

◆ on_completed()

template<constraint::decayed_type T, constraint::observer_of_type< T > TObserver>
void rpp::details::dynamic_observer_state< T, TObserver >::on_completed ( ) const
inlineoverridevirtual

◆ on_error()

template<constraint::decayed_type T, constraint::observer_of_type< T > TObserver>
void rpp::details::dynamic_observer_state< T, TObserver >::on_error ( const std::exception_ptr &  err) const
inlineoverridevirtual

◆ on_next() [1/2]

template<constraint::decayed_type T, constraint::observer_of_type< T > TObserver>
void rpp::details::dynamic_observer_state< T, TObserver >::on_next ( const T &  v) const
inlineoverridevirtual

◆ on_next() [2/2]

template<constraint::decayed_type T, constraint::observer_of_type< T > TObserver>
void rpp::details::dynamic_observer_state< T, TObserver >::on_next ( T &&  v) const
inlineoverridevirtual

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