AUI Framework
master
Cross-platform base for C++ UI apps
|
Poll-based event loop to handle events of file descriptors.
#include <AUI/Platform/unix/UnixIoThread.h>
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 |