WPILibC++
2020.3.2-60-g3011ebe
|
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"
41 void End(
bool interrupted)
override;
49 bool m_finished{
false};
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...
Definition: ArrayRef.h:42
void Execute() override
The main body of a command.
ProxyScheduleCommand(wpi::ArrayRef< Command * > toSchedule)
Creates a new ProxyScheduleCommand that schedules the given commands when initialized,...
void Initialize() override
The initial subroutine of a command.
void End(bool interrupted) override
The action to take when the command ends.
Schedules the given commands when this command is initialized, and ends when all the commands are no ...
Definition: ProxyScheduleCommand.h:24
CRTP implementation to allow polymorphic decorator functions in Command.
Definition: CommandHelper.h:26
This is a 'vector' (really, a variable-sized array), optimized for the case when the array is small.
Definition: SmallVector.h:856
bool IsFinished() override
Whether the command has finished.