|
| Join (long max_age=0) |
|
| JoinBase (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::Join< T1, T2 >
Join two producer values into a tuple.
Joins the connected producers' values into a tuple. The tuple is emitted when any producer emits a new value and none of the values have aged more than max_age milliseconds.
Definition at line 51 of file join.h.