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

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

#include <events.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 29 of file events.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

Implemented in reactesp::DelayEvent, reactesp::ISREvent, reactesp::RepeatEvent, reactesp::StreamEvent, and reactesp::TickEvent.

Here is the caller graph for this function:

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