AUI Framework
master
Cross-platform module-based framework for developing C++20 desktop applications
|
Poll-based event loop to handle events of file descriptors. More...
Poll-based event loop to handle events of file descriptors.
Public Types | |
using | Callback = std::function< void(ABitField< UnixPollEvent > triggeredFlags)> |
Public Member Functions | |
void | registerCallback (int fd, ABitField< UnixPollEvent > flags, Callback callback) noexcept |
void | unregisterCallback (int fd) noexcept |
Static Public Member Functions | |
static UnixIoThread & | inst () noexcept |
Friends | |
class | UnixIoEventLoop |
#include <AUI/Platform/unix/UnixIoThread.h>