41 bool m_running{
false};
A declarative way to bind a set of actions to a loop and execute them when the loop is polled.
Definition: EventLoop.h:15
void Clear()
Clear all bindings.
void Bind(wpi::unique_function< void()> action)
Bind a new action to run when the loop is polled.
EventLoop & operator=(const EventLoop &)=delete
void Poll()
Poll all bindings.
EventLoop(const EventLoop &)=delete
unique_function is a type-erasing functor similar to std::function.
Definition: FunctionExtras.h:57
Definition: AprilTagPoseEstimator.h:15