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++.
|
controls lifetime for scheduler::schedule and observable<T, SourceOperator>::subscribe. More...
#include <rx-subscription.hpp>
Public Types | |
typedef subscription::weak_state_type | weak_subscription |
Public Types inherited from rxcpp::subscription | |
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 | |
composite_subscription (detail::tag_composite_subscription_empty et) | |
composite_subscription () | |
composite_subscription (const composite_subscription &o) | |
composite_subscription (composite_subscription &&o) | |
composite_subscription & | operator= (composite_subscription o) |
weak_subscription | add (subscription s) const |
template<class F > | |
auto | add (F f) const -> typename std::enable_if< detail::is_unsubscribe_function< F >::value, weak_subscription >::type |
void | remove (weak_subscription w) const |
Public Member Functions inherited from rxcpp::subscription | |
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 composite_subscription | empty () |
Static Public Member Functions inherited from rxcpp::subscription | |
static subscription | lock (weak_state_type w) |
Additional Inherited Members | |
Protected Attributes inherited from rxcpp::subscription | |
std::shared_ptr< base_subscription_state > | state |
controls lifetime for scheduler::schedule and observable<T, SourceOperator>::subscribe.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |