Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::events::EventLoop Class Reference

#include <event_loop.hpp>

Public Member Functions

 EventLoop ()
 ~EventLoop ()
 EventLoop (const EventLoop &)=delete
EventLoop & operator= (const EventLoop &)=delete
void dispatch (Task task)
void dispatch_after (Duration delay, Task task)
bool is_current_thread () const
std::thread::id thread_id () const
void stop ()
bool running () const

Constructor & Destructor Documentation

◆ EventLoop() [1/2]

pulp::events::EventLoop::EventLoop ( )

◆ ~EventLoop()

pulp::events::EventLoop::~EventLoop ( )

◆ EventLoop() [2/2]

pulp::events::EventLoop::EventLoop ( const EventLoop & )
delete

Member Function Documentation

◆ dispatch()

void pulp::events::EventLoop::dispatch ( Task task)

◆ dispatch_after()

void pulp::events::EventLoop::dispatch_after ( Duration delay,
Task task )

◆ is_current_thread()

bool pulp::events::EventLoop::is_current_thread ( ) const

◆ operator=()

EventLoop & pulp::events::EventLoop::operator= ( const EventLoop & )
delete

◆ running()

bool pulp::events::EventLoop::running ( ) const

◆ stop()

void pulp::events::EventLoop::stop ( )

◆ thread_id()

std::thread::id pulp::events::EventLoop::thread_id ( ) const

The documentation for this class was generated from the following file:
  • /home/runner/work/pulp/pulp/core/events/include/pulp/events/event_loop.hpp