47 [[deprecated(
"Defer a proxy command instead.")]]
66 [[deprecated(
"Defer a proxy command instead.")]]
93 void End(
bool interrupted)
override;
A state machine representing a complete action to be performed by the robot.
Definition Command.hpp:41
A wrapper around std::unique_ptr<Command> so commands have move-only semantics.
Definition CommandPtr.hpp:28
void InitSendable(wpi::util::SendableBuilder &builder) override
WPI_IGNORE_DEPRECATED ProxyCommand(wpi::util::unique_function< Command *()> supplier)
Creates a new ProxyCommand that schedules the supplied command when initialized, and ends when it is ...
WPI_UNIGNORE_DEPRECATED ProxyCommand(Command *command)
Creates a new ProxyCommand that schedules the given command when initialized, and ends when it is no ...
void Initialize() override
ProxyCommand(ProxyCommand &&other)=default
ProxyCommand(wpi::util::unique_function< CommandPtr()> supplier)
Creates a new ProxyCommand that schedules the supplied command when initialized, and ends when it is ...
void End(bool interrupted) override
bool IsFinished() override
ProxyCommand(std::unique_ptr< Command > command)
Creates a new ProxyCommand that schedules the given command when initialized, and ends when it is no ...
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
#define WPI_IGNORE_DEPRECATED
Definition deprecated.hpp:15
#define WPI_UNIGNORE_DEPRECATED
Definition deprecated.hpp:26
Definition CommandNiDsStadiaController.hpp:15