ReactESP 3.2.0
Asynchronous programming for the ESP microcontrollers
|
Events are code to be called when a given condition is fulfilled. More...
#include <events.h>
Public Member Functions | |
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. | |
virtual void | add (EventLoop *event_loop)=0 |
virtual void | remove (EventLoop *event_loop)=0 |
virtual void | tick (EventLoop *event_loop)=0 |
virtual void | add (std::shared_ptr< EventLoop > event_loop) |
virtual void | remove (std::shared_ptr< EventLoop > event_loop) |
virtual void | tick (std::shared_ptr< EventLoop > event_loop) |
Protected Attributes | |
const react_callback | callback |
Events are code to be called when a given condition is fulfilled.
|
inline |
|
delete |
|
delete |
|
protected |