RxCpp
The Reactive Extensions for Native (RxCpp) is a library for composing asynchronous and event-based programs using observable sequences and LINQ-style query operators in both C and C++.
Public Types | Public Member Functions | List of all members
rxcpp::observer< T, void, void, void, void > Class Template Reference

consumes values from an observable using type-forgetting (shared allocated state with virtual methods) More...

#include <rx-observer.hpp>

Inheritance diagram for rxcpp::observer< T, void, void, void, void >:
Inheritance graph
[legend]
Collaboration diagram for rxcpp::observer< T, void, void, void, void >:
Collaboration graph
[legend]

Public Types

typedef tag_dynamic_observer dynamic_observer_tag
 
- Public Types inherited from rxcpp::observer_base< T >
typedef T value_type
 
typedef tag_observer observer_tag
 

Public Member Functions

 observer ()
 
 observer (const this_type &o)
 
 observer (this_type &&o)
 
template<class Observer >
 observer (Observer o)
 
this_typeoperator= (this_type o)
 
template<class V >
void on_next (V &&v) const
 
void on_error (std::exception_ptr e) const
 
void on_completed () const
 
observer< T > as_dynamic () const
 

Detailed Description

template<class T>
class rxcpp::observer< T, void, void, void, void >

consumes values from an observable using type-forgetting (shared allocated state with virtual methods)

Template Parameters
T- the type of value in the stream

Member Typedef Documentation

template<class T >
typedef tag_dynamic_observer rxcpp::observer< T, void, void, void, void >::dynamic_observer_tag

Constructor & Destructor Documentation

template<class T >
rxcpp::observer< T, void, void, void, void >::observer ( )
inline
template<class T >
rxcpp::observer< T, void, void, void, void >::observer ( const this_type o)
inline
template<class T >
rxcpp::observer< T, void, void, void, void >::observer ( this_type &&  o)
inline
template<class T >
template<class Observer >
rxcpp::observer< T, void, void, void, void >::observer ( Observer  o)
inlineexplicit

Member Function Documentation

template<class T >
observer<T> rxcpp::observer< T, void, void, void, void >::as_dynamic ( ) const
inline
template<class T >
void rxcpp::observer< T, void, void, void, void >::on_completed ( ) const
inline
template<class T >
void rxcpp::observer< T, void, void, void, void >::on_error ( std::exception_ptr  e) const
inline
template<class T >
template<class V >
void rxcpp::observer< T, void, void, void, void >::on_next ( V &&  v) const
inline
template<class T >
this_type& rxcpp::observer< T, void, void, void, void >::operator= ( this_type  o)
inline

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