Base subscription implementation used as base class/interface and core implementation for derrived subscriptions. More...
#include <subscription_base.hpp>
Public Member Functions | |
subscription_base (const subscription_base &)=default | |
subscription_base (subscription_base &&) noexcept=default | |
subscription_base & | operator= (const subscription_base &other)=default |
subscription_base & | operator= (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 |
Base subscription implementation used as base class/interface and core implementation for derrived subscriptions.