20 #ifndef MPD_SOCKET_IDLE_MONITOR_HXX
21 #define MPD_SOCKET_IDLE_MONITOR_HXX
44 :loop(_loop), active(false) {}
IdleMonitor(EventLoop &_loop)
An event that runs when the EventLoop has become idle, before waiting for more events.
An event loop that polls for events on file/socket descriptors.
void Run()
The main function of this class.
EventLoop & GetEventLoop() const