ValueProducer that reads from a Stream and produces each character.
More...
#include <sensesp/system/stream_producer.h>
|
| | StreamCharProducer (Stream *stream) |
| |
| | ValueProducer () |
| |
| | ValueProducer (const char &initial_value) |
| |
| virtual const char & | get () const |
| |
| std::enable_if< std::is_base_of< ValueConsumer< typenameVConsumer::input_type >, VConsumer >::value &&std::is_convertible< char, 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< char, 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< char, typenameVConsumer::input_type >::value, VConsumer * >::type | connect_to (VConsumer &consumer) |
| |
| void | emit (const char &new_value) |
| |
| | Observable () |
| |
| | Observable (Observable &&other) |
| | Move constructor.
|
| |
| void | notify () |
| |
| void | attach (std::function< void()> observer) |
| |
ValueProducer that reads from a Stream and produces each character.
Definition at line 17 of file stream_producer.h.
◆ StreamCharProducer()
| sensesp::StreamCharProducer::StreamCharProducer |
( |
Stream * | stream | ) |
|
|
inline |
◆ read_event_
| reactesp::StreamEvent* sensesp::StreamCharProducer::read_event_ |
|
protected |
◆ stream_
| Stream* sensesp::StreamCharProducer::stream_ |
|
protected |
The documentation for this class was generated from the following file: