WPILibC++ 2024.3.2
|
A command that prints a string when initialized. More...
#include <frc2/command/PrintCommand.h>
Public Member Functions | |
PrintCommand (std::string_view message) | |
Creates a new a PrintCommand. More... | |
PrintCommand (PrintCommand &&other)=default | |
PrintCommand (const PrintCommand &other)=default | |
bool | RunsWhenDisabled () const override |
Public Member Functions inherited from frc2::CommandHelper< InstantCommand, PrintCommand > | |
CommandHelper ()=default | |
CommandPtr | ToPtr () &&override |
Additional Inherited Members | |
Protected Member Functions inherited from frc2::CommandHelper< InstantCommand, PrintCommand > | |
std::unique_ptr< Command > | TransferOwnership () &&override |
A command that prints a string when initialized.
This class is provided by the NewCommands VendorDep
|
explicit |
Creates a new a PrintCommand.
message | the message to print |
|
default |
|
default |
|
override |