49 void End(
bool interrupted)
override;
57 std::unique_ptr<Command> m_command;
A wrapper around std::unique_ptr<Command> so commands have move-only semantics.
Definition CommandPtr.hpp:28
void InitSendable(wpi::util::SendableBuilder &builder) override
bool IsFinished() override
DeferredCommand(DeferredCommand &&other)=default
void End(bool interrupted) override
void Initialize() override
DeferredCommand(wpi::util::unique_function< CommandPtr()> supplier, Requirements requirements)
Creates a new DeferredCommand that directly runs the supplied command when initialized,...
Represents requirements for a command, which is a set of (pointers to) subsystems.
Definition Requirements.hpp:20
Helper class for building Sendable dashboard representations.
Definition SendableBuilder.hpp:21
unique_function is a type-erasing functor similar to std::function.
Definition FunctionExtras.hpp:57
Definition CommandNiDsStadiaController.hpp:15