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++.
|
#include <rx-subscription.hpp>
Public Types | |
typedef std::weak_ptr< base_subscription_state > | weak_state_type |
Public Types inherited from rxcpp::subscription_base | |
typedef tag_subscription | subscription_tag |
Public Member Functions | |
subscription () | |
template<class U > | |
subscription (U u, typename std::enable_if<!is_subscription< U >::value, void ** >::type=nullptr) | |
template<class U > | |
subscription (U u, typename std::enable_if<!std::is_same< subscription, U >::value &&is_subscription< U >::value, void ** >::type=nullptr) | |
subscription (const subscription &o) | |
subscription (subscription &&o) | |
subscription & | operator= (subscription o) |
bool | is_subscribed () const |
void | unsubscribe () const |
weak_state_type | get_weak () |
Static Public Member Functions | |
static subscription | lock (weak_state_type w) |
Protected Attributes | |
std::shared_ptr< base_subscription_state > | state |
Friends | |
bool | operator< (const subscription &, const subscription &) |
bool | operator== (const subscription &, const subscription &) |
typedef std::weak_ptr<base_subscription_state> rxcpp::subscription::weak_state_type |
|
inline |
|
inlineexplicit |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
friend |
|
friend |
|
protected |