ReactivePlusPlus
One more implementation of ReactiveX approach in C++ with care about performance and templates in mind
 
Loading...
Searching...
No Matches
rpp::subscription_base Class Reference

Base subscription implementation used as base class/interface and core implementation for derrived subscriptions. More...

#include <subscription_base.hpp>

Inheritance diagram for rpp::subscription_base:
rpp::callback_subscription rpp::composite_subscription

Public Member Functions

 subscription_base (const subscription_base &)=default
 
 subscription_base (subscription_base &&) noexcept=default
 
subscription_baseoperator= (const subscription_base &other)=default
 
subscription_baseoperator= (subscription_base &&other) noexcept=default
 
bool operator== (const subscription_base &rhs) const =default
 
bool is_subscribed () const
 indicates current status of subscription
 
void unsubscribe () const
 initiates unsubscription process (if subscribed)
 

Static Public Member Functions

static subscription_base empty ()
 

Protected Member Functions

 subscription_base (std::shared_ptr< details::subscription_state > state)
 
const std::shared_ptr< details::subscription_state > & get_state () const
 

Detailed Description

Base subscription implementation used as base class/interface and core implementation for derrived subscriptions.


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