|
| | Zip (long max_age=0) |
| | ZipBase (long max_age=0) |
| | ValueProducer () |
| virtual const std::tuple< T1, T2 > & | get () const |
| std::enable_if< std::is_base_of< ValueConsumer< typenameVConsumer::input_type >, VConsumer >::value &&std::is_convertible< std::tuple< T1, T2 >, typenameVConsumer::input_type >::value, std::shared_ptr< VConsumer > >::type | connect_to (std::shared_ptr< VConsumer > consumer) |
| | Connect a producer to a transform with a different input type.
|
| void | emit (const std::tuple< T1, T2 > &new_value) |
| | Observable () |
| | Observable (Observable &&other) |
| | Move constructor.
|
| void | notify () |
| int | attach (std::function< void()> observer) |
| | Attach an observer callback.
|
| void | detach (int id) |
| | Remove a previously attached observer by its ID.
|
template<typename T1, typename T2>
class sensesp::Zip< T1, T2 >
Zip two producer values into a tuple.
Zips the connected producers' values into a tuple. The tuple is emitted once all producers have emitted a new value within max_age milliseconds. All producers must emit a new value before the next tuple is emitted.
Definition at line 57 of file zip.h.