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::subjects::subject< T > Class Template Reference

#include <rx-subject.hpp>

Public Types

typedef subscriber< T, observer< T, detail::multicast_observer< T > > > subscriber_type
 
typedef observable< T > observable_type
 

Public Member Functions

 subject ()
 
 subject (composite_subscription cs)
 
bool has_observers () const
 
composite_subscription get_subscription () const
 
subscriber_type get_subscriber () const
 
observable< T > get_observable () const
 

Member Typedef Documentation

◆ observable_type

template<class T>
typedef observable<T> rxcpp::subjects::subject< T >::observable_type

◆ subscriber_type

template<class T>
typedef subscriber<T, observer<T, detail::multicast_observer<T> > > rxcpp::subjects::subject< T >::subscriber_type

Constructor & Destructor Documentation

◆ subject() [1/2]

template<class T>
rxcpp::subjects::subject< T >::subject ( )
inline

◆ subject() [2/2]

template<class T>
rxcpp::subjects::subject< T >::subject ( composite_subscription  cs)
inlineexplicit

Member Function Documentation

◆ get_observable()

template<class T>
observable<T> rxcpp::subjects::subject< T >::get_observable ( ) const
inline

◆ get_subscriber()

template<class T>
subscriber_type rxcpp::subjects::subject< T >::get_subscriber ( ) const
inline

◆ get_subscription()

template<class T>
composite_subscription rxcpp::subjects::subject< T >::get_subscription ( ) const
inline

◆ has_observers()

template<class T>
bool rxcpp::subjects::subject< T >::has_observers ( ) const
inline

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