8#include <initializer_list>
33 std::initializer_list<Subsystem*> requirements);
43 std::span<Subsystem* const> requirements = {});
CRTP implementation to allow polymorphic decorator functions in Command.
Definition: CommandHelper.h:26
A command that runs a Runnable continuously.
Definition: RunCommand.h:23
RunCommand(std::function< void()> toRun, std::span< Subsystem *const > requirements={})
Creates a new RunCommand.
RunCommand(std::function< void()> toRun, std::initializer_list< Subsystem * > requirements)
Creates a new RunCommand.
RunCommand(const RunCommand &other)=default
RunCommand(RunCommand &&other)=default
Definition: InstantCommand.h:14