CRTP implementation to allow polymorphic decorator functions in Command.
Definition CommandHelper.h:25
A Command that runs instantly; it will initialize, execute once, and end on the same iteration of the...
Definition InstantCommand.h:21
InstantCommand(InstantCommand &&other)=default
InstantCommand()
Creates a new InstantCommand with a Runnable that does nothing.
InstantCommand(const InstantCommand &other)=default
InstantCommand(std::function< void()> toRun, Requirements requirements={})
Creates a new InstantCommand that runs the given Runnable with the given requirements.
Represents requirements for a command, which is a set of (pointers to) subsystems.
Definition Requirements.h:20
Definition FunctionalCommand.h:13