10 #include <initializer_list>
14 #include <wpi/ArrayRef.h>
16 #include "frc2/command/CommandBase.h"
60 std::vector<std::unique_ptr<Command>>&& commands) = 0;
virtual void AddCommands(std::vector< std::unique_ptr< Command >> &&commands)=0
Adds the given commands to the command group.
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...
Definition: ArrayRef.h:42
static bool RequireUngrouped(Command &command)
Requires that the specified command not have been already allocated to a CommandGroup.
A state machine representing a complete action to be performed by the robot.
Definition: Command.h:52
A base for CommandGroups.
Definition: CommandGroupBase.h:25
A Sendable base class for Commands.
Definition: CommandBase.h:25