ReactESP 3.2.0
Asynchronous programming for the ESP microcontrollers
|
Event that is triggered when there is input available at the given Arduino Stream. More...
#include <events.h>
Public Member Functions | |
StreamEvent (Stream &stream, react_callback callback) | |
Construct a new Stream Event object. | |
void | tick (EventLoop *event_loop) override |
![]() | |
UntimedEvent (react_callback callback) | |
void | add (EventLoop *event_loop) override |
void | remove (EventLoop *event_loop) override |
virtual void | add (std::shared_ptr< EventLoop > event_loop) |
virtual void | remove (std::shared_ptr< EventLoop > event_loop) |
virtual void | tick (EventLoop *event_loop)=0 |
virtual void | tick (std::shared_ptr< EventLoop > event_loop) |
![]() | |
Event (react_callback callback) | |
Construct a new Event object. | |
Event (const Event &)=delete | |
Event (Event &&)=delete | |
Event & | operator= (const Event &)=delete |
Event & | operator= (Event &&)=delete |
![]() | |
virtual | ~EventInterface ()=default |
Default virtual destructor. | |
Additional Inherited Members | |
![]() | |
const react_callback | callback |
Event that is triggered when there is input available at the given Arduino Stream.
|
inline |
|
overridevirtual |
Implements reactesp::EventInterface.
Definition at line 68 of file events.cpp.