|
| Zip4 (long max_age=0) |
|
| ZipBase (long max_age=0) |
|
| ValueProducer () |
|
| ValueProducer (const std::tuple< T1, T2, T3, T4 > &initial_value) |
|
virtual const std::tuple< T1, T2, T3, T4 > & | get () const |
|
std::enable_if< std::is_base_of< ValueConsumer< typenameVConsumer::input_type >, VConsumer >::value &&std::is_convertible< std::tuple< T1, T2, T3, T4 >, 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, T3, T4 >, 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, T3, T4 >, typenameVConsumer::input_type >::value, VConsumer * >::type | connect_to (VConsumer &consumer) |
|
void | emit (const std::tuple< T1, T2, T3, T4 > &new_value) |
|
| Observable () |
|
| Observable (Observable &&other) |
| Move constructor.
|
|
void | notify () |
|
void | attach (std::function< void()> observer) |
|
template<typename T1, typename T2, typename T3, typename T4>
class sensesp::Zip4< T1, T2, T3, T4 >
Zip four 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.
Definition at line 127 of file zip.h.