9#pragma warning(disable : 4521)
46 std::vector<std::unique_ptr<Command>>&& commands);
55 template <wpi::util::DecayedDerivedFrom<Command>... Commands>
73 template <wpi::util::DecayedDerivedFrom<Command>... Commands>
75 std::vector<std::unique_ptr<Command>> foo;
76 ((void)foo.emplace_back(std::make_unique<std::decay_t<Commands>>(
77 std::forward<Commands>(commands))),
86 void End(
bool interrupted) final;
101 bool m_runWhenDisabled{
true};
A state machine representing a complete action to be performed by the robot.
Definition Command.hpp:41
InterruptionBehavior
An enum describing the command's behavior when another command with a shared requirement is scheduled...
Definition Command.hpp:173
@ kCancelIncoming
This command continues, and the incoming command is not scheduled.
Definition Command.hpp:182
SequentialCommandGroup(SequentialCommandGroup &)=delete
Command::InterruptionBehavior GetInterruptionBehavior() const override
void InitSendable(wpi::util::SendableBuilder &builder) override
void End(bool interrupted) final
SequentialCommandGroup(const SequentialCommandGroup &)=delete
SequentialCommandGroup(Commands &&... commands)
Creates a new SequentialCommandGroup.
Definition SequentialCommandGroup.hpp:56
bool RunsWhenDisabled() const override
SequentialCommandGroup(std::vector< std::unique_ptr< Command > > &&commands)
Creates a new SequentialCommandGroup.
SequentialCommandGroup(SequentialCommandGroup &&other)=default
void AddCommands(Commands &&... commands)
Adds the given commands to the group.
Definition SequentialCommandGroup.hpp:74
Definition StringMap.hpp:773
Definition CommandNiDsStadiaController.hpp:15
const size_t invalid_index
Definition SequentialCommandGroup.hpp:23
Definition raw_os_ostream.hpp:19
Definition CvSource.hpp:15