ReactESP 3.0.1
Asynchronous programming for the ESP microcontrollers
|
Events are code to be called when a given condition is fulfilled. More...
#include <ReactESP.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 |
Protected Attributes | |
const react_callback | callback |
Events are code to be called when a given condition is fulfilled.
Definition at line 41 of file ReactESP.h.
|
inline |
Construct a new Event object.
callback | Function to be called when the event is triggered |
Definition at line 51 of file ReactESP.h.
|
delete |
|
delete |
|
protected |
Definition at line 43 of file ReactESP.h.