20 #ifndef MPD_EVENT_DEFERRED_CALL_HXX
21 #define MPD_EVENT_DEFERRED_CALL_HXX
34 const Callback callback;
EventLoop & GetEventLoop()
An event loop that polls for events on file/socket descriptors.
DeferredCall(EventLoop &_loop, Callback _callback)
Defer execution of an event into an EventLoop.
This object stores a function pointer wrapping a method, and a reference to an instance of the method...
void RunDeferred() override
Invoke a method call in the EventLoop.