|
| Zip (long max_age=0) |
|
| ZipBase (long max_age=0) |
|
| ValueProducer () |
|
| ValueProducer (const std::tuple< T1, T2 > &initial_value) |
|
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.
|
|
std::enable_if< std::is_base_of< ValueConsumer< typenameVConsumer::input_type >, VConsumer >::value &&std::is_convertible< std::tuple< T1, T2 >, typenameVConsumer::input_type >::value, VConsumer * >::type | connect_to (VConsumer *consumer) |
|
std::enable_if< std::is_base_of< ValueConsumer< typenameVConsumer::input_type >, VConsumer >::value &&std::is_convertible< std::tuple< T1, T2 >, typenameVConsumer::input_type >::value, VConsumer * >::type | connect_to (VConsumer &consumer) |
|
void | emit (const std::tuple< T1, T2 > &new_value) |
|
| Observable () |
|
| Observable (Observable &&other) |
| Move constructor.
|
|
void | notify () |
|
void | attach (std::function< void()> observer) |
|
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.