19 #ifndef MIR_DISPATCH_DISPATCHABLE_H_ 20 #define MIR_DISPATCH_DISPATCHABLE_H_ 78 #endif // MIR_DISPATCH_DISPATCHABLE_H_ AutoUnblockThread is a helper thread class that can gracefully shutdown at destruction time...
Definition: blob.h:26
virtual ~Dispatchable()=default
virtual bool dispatch(FdEvents events)=0
Dispatch one pending event.
Definition: dispatchable.h:32
Definition: dispatchable.h:31
virtual Fd watch_fd() const =0
Get a poll()able file descriptor.
virtual FdEvents relevant_events() const =0
The set of file-descriptor events this Dispatchable handles.
Definition: dispatchable.h:38
uint32_t FdEvents
Definition: dispatchable.h:36
Definition: dispatchable.h:33
Definition: dispatchable.h:30
Dispatchable & operator=(Dispatchable const &)=delete
FdEvent
Definition: dispatchable.h:29