|
ReactivePlusPlus
ReactiveX implementation for C++20
|
Disposable which can keep some other sub-disposables. When this root disposable is disposed, then all sub-disposables would be disposed too. More...
#include <composite_disposable.hpp>
Additional Inherited Members | |
| Public Member Functions inherited from rpp::composite_disposable_impl< rpp::details::disposables::default_disposables_container > | |
| disposable_wrapper | add (Fn &&invocable) |
| bool | is_disposed () const noexcept final |
| Check if this disposable is just disposed. | |
| void | dispose_impl (interface_disposable::Mode mode) noexcept final |
| void | remove (const disposable_wrapper &disposable) override |
| void | clear () override |
| Public Member Functions inherited from rpp::interface_composite_disposable | |
| virtual void | add (disposable_wrapper disposable)=0 |
| template<rpp::constraint::is_nothrow_invocable Fn> | |
| disposable_wrapper | add (Fn &&invocable) |
| Public Member Functions inherited from rpp::interface_disposable | |
| void | dispose () noexcept |
| Dispose disposable and free any underlying resources and etc. | |
| Protected Types inherited from rpp::interface_disposable | |
| enum class | Mode : bool { Disposing = 0 , Destroying = 1 } |
| Protected Member Functions inherited from rpp::composite_disposable_impl< rpp::details::disposables::default_disposables_container > | |
| virtual void | composite_dispose_impl (interface_disposable::Mode) noexcept |
Disposable which can keep some other sub-disposables. When this root disposable is disposed, then all sub-disposables would be disposed too.