ReactivePlusPlus
ReactiveX implementation for C++20
|
QT creational operators are operators that create new observable from QObjects. More...
Functions | |
template<std::derived_from< QObject > TSignalQObject, std::derived_from< TSignalQObject > TObject, typename R , typename... Args> | |
auto | rppqt::source::from_signal (const TObject &object, R(TSignalQObject::*signal)(Args...)) |
Creates rpp::observable that emits a items from provided QT signal. | |
QT creational operators are operators that create new observable from QObjects.
auto rppqt::source::from_signal | ( | const TObject & | object, |
R(TSignalQObject::* | signal )(Args...) ) |
Creates rpp::observable that emits a items from provided QT signal.
object | is QObject which would emit signals |
signal | is interested signal which would generate emissions for observable. Expected to obtain pointer to member function representing signal |