ReactESP 3.3.1
Asynchronous programming for the ESP microcontrollers
Loading...
Searching...
No Matches
reactesp::UntimedEvent Class Reference

Events that are triggered based on something else than time. More...

#include <events.h>

Inheritance diagram for reactesp::UntimedEvent:
[legend]
Collaboration diagram for reactesp::UntimedEvent:
[legend]

Public Member Functions

 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)
Public Member Functions inherited from reactesp::Event
 Event (react_callback callback)
 Construct a new Event object.
 Event (const Event &)=delete
 Event (Event &&)=delete
Eventoperator= (const Event &)=delete
Eventoperator= (Event &&)=delete
Public Member Functions inherited from reactesp::EventInterface
virtual ~EventInterface ()=default
 Default virtual destructor.

Additional Inherited Members

Protected Attributes inherited from reactesp::Event
const react_callback callback

Detailed Description

Events that are triggered based on something else than time.

Definition at line 203 of file events.h.

Constructor & Destructor Documentation

◆ UntimedEvent()

reactesp::UntimedEvent::UntimedEvent ( react_callback callback)
inline

Definition at line 205 of file events.h.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ add() [1/2]

void reactesp::UntimedEvent::add ( EventLoop * event_loop)
overridevirtual

Implements reactesp::EventInterface.

Definition at line 70 of file events.cpp.

◆ add() [2/2]

virtual void reactesp::EventInterface::add ( std::shared_ptr< EventLoop > event_loop)
inlinevirtual

Reimplemented from reactesp::EventInterface.

Definition at line 41 of file events.h.

◆ remove() [1/2]

void reactesp::UntimedEvent::remove ( EventLoop * event_loop)
overridevirtual

Implements reactesp::EventInterface.

Definition at line 76 of file events.cpp.

Here is the call graph for this function:

◆ remove() [2/2]

virtual void reactesp::EventInterface::remove ( std::shared_ptr< EventLoop > event_loop)
inlinevirtual

Reimplemented from reactesp::EventInterface.

Definition at line 44 of file events.h.

◆ tick() [1/2]

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

◆ tick() [2/2]

virtual void reactesp::EventInterface::tick ( std::shared_ptr< EventLoop > event_loop)
inlinevirtual

Reimplemented from reactesp::EventInterface.

Definition at line 47 of file events.h.


The documentation for this class was generated from the following files: