41 bool m_running{
false};
EventLoop & operator=(const EventLoop &)=delete
void Bind(wpi::util::unique_function< void()> action)
Bind a new action to run when the loop is polled.
EventLoop(const EventLoop &)=delete
void Clear()
Clear all bindings.
void Poll()
Poll all bindings.
unique_function is a type-erasing functor similar to std::function.
Definition FunctionExtras.hpp:57
Definition CvSource.hpp:15