10 #include <wpi/ArrayRef.h>
11 #include <wpi/SmallVector.h>
13 #include "frc2/command/CommandBase.h"
14 #include "frc2/command/CommandHelper.h"
15 #include "frc2/command/SetUtilities.h"
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...
Definition: ArrayRef.h:42
void Initialize() override
The initial subroutine of a command.
CRTP implementation to allow polymorphic decorator functions in Command.
Definition: CommandHelper.h:26
bool RunsWhenDisabled() const override
Whether the given command should run when the robot is disabled.
Schedules the given commands when this command is initialized.
Definition: ScheduleCommand.h:24
bool IsFinished() override
Whether the command has finished.
This is a 'vector' (really, a variable-sized array), optimized for the case when the array is small.
Definition: SmallVector.h:856
ScheduleCommand(wpi::ArrayRef< Command * > toSchedule)
Creates a new ScheduleCommand that schedules the given commands when initialized.