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

#include <main_thread_dispatcher.hpp>

Classes

struct  Backend

Public Types

using Token = std::uint64_t

Static Public Member Functions

static Token register_backend (Backend backend)
static bool unregister_backend (Token token)
static bool has_backend ()
static bool is_main_thread ()
static bool call_async (Task task)
static bool call_async_after (Task task, int delay_ms)
static bool call_sync (Task task)

Member Typedef Documentation

◆ Token

Member Function Documentation

◆ call_async()

bool pulp::events::MainThreadDispatcher::call_async ( Task task)
static

◆ call_async_after()

bool pulp::events::MainThreadDispatcher::call_async_after ( Task task,
int delay_ms )
static

◆ call_sync()

bool pulp::events::MainThreadDispatcher::call_sync ( Task task)
static

◆ has_backend()

bool pulp::events::MainThreadDispatcher::has_backend ( )
static

◆ is_main_thread()

bool pulp::events::MainThreadDispatcher::is_main_thread ( )
static

◆ register_backend()

Token pulp::events::MainThreadDispatcher::register_backend ( Backend backend)
static

◆ unregister_backend()

bool pulp::events::MainThreadDispatcher::unregister_backend ( Token token)
static

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