The loop polling BooleanEvent objects and executing the actions bound to them.
Definition: EventLoop.h:15
void Clear()
Clear all bindings.
void Bind(wpi::unique_function< void()> action)
Bind a new action to run.
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:56
Definition: AprilTagFieldLayout.h:22