19 #ifndef MIR_DISPATCH_ACTION_QUEUE_H_ 20 #define MIR_DISPATCH_ACTION_QUEUE_H_ 39 void enqueue(std::function<
void()>
const& action);
48 std::list<std::function<void()>> actions;
53 #endif // MIR_DISPATCH_ACTION_QUEUE_H_ Definition: as_render_target.h:27
FdEvents relevant_events() const override
The set of file-descriptor events this Dispatchable handles.
Definition: action_queue.h:33
void enqueue(std::function< void()> const &action)
Fd watch_fd() const override
Get a poll()able file descriptor.
bool dispatch(FdEvents events) override
Dispatch one pending event.
Definition: dispatchable.h:38
uint32_t FdEvents
Definition: dispatchable.h:36