ReactESP 3.0.0
Asynchronous programming for the ESP microcontrollers
Loading...
Searching...
No Matches
reactesp::EventInterface Struct Referenceabstract

EventInterface defines the interface for all events. More...

#include <ReactESP.h>

Inheritance diagram for reactesp::EventInterface:
[legend]

Public Member Functions

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
 

Detailed Description

EventInterface defines the interface for all events.

Definition at line 22 of file ReactESP.h.

Constructor & Destructor Documentation

◆ ~EventInterface()

virtual reactesp::EventInterface::~EventInterface ( )
virtualdefault

Default virtual destructor.

Member Function Documentation

◆ add()

virtual void reactesp::EventInterface::add ( EventLoop * event_loop)
pure virtual

◆ remove()

virtual void reactesp::EventInterface::remove ( EventLoop * event_loop)
pure virtual

◆ tick()

virtual void reactesp::EventInterface::tick ( EventLoop * event_loop)
pure virtual

The documentation for this struct was generated from the following file: