12#include <dfx-fdwatch/Poller.hpp>
C-ABI for the dfx framework plugin system.
uint32_t dfx_event_trigger_t
C-compatible event triggers matching dfx::FdWatch::EventTriggers.
Definition PluginInterface.h:127
uint32_t dfx_event_interest_t
C-compatible event triggers matching dfx::FdWatch::EventInterests.
Definition PluginInterface.h:106
Abstract interface for FD-based event polling.
Definition Poller.hpp:37
Bridge between the C++ FdWatch::Poller and the C-ABI dfx_poller_api_t.
Definition PollerApi.hpp:25
static dfx_poller_api_t buildPluginPoller(FdWatch::Poller &poller)
Creates a dfx_poller_api_t vtable for a specific Poller instance.
static constexpr dfx_event_trigger_t dfxEventToPlugin(FdWatch::EventTriggers events) noexcept
Converts internal FdWatch triggers to C-ABI event triggers.
static constexpr FdWatch::EventInterests pluginEventToDfx(dfx_event_interest_t event) noexcept
Converts C-ABI event interests to internal FdWatch interests.
Definition MessageApi.hpp:16
Interface to the host's event loop (Poller).
Definition PluginInterface.h:212