Files
allwpilib/wpilibcExamples/src/main/cpp/commands/instantcommand/ReplaceMeInstantCommand2.hpp
2025-11-07 23:09:21 -08:00

21 lines
728 B
C++

// Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#pragma once
#include <wpi/commands2/CommandHelper.hpp>
#include <wpi/commands2/InstantCommand.hpp>
// NOTE: Consider using this command inline, rather than writing a subclass.
// For more information, see:
// https://docs.wpilib.org/en/stable/docs/software/commandbased/convenience-features.html
class ReplaceMeInstantCommand2
: public wpi::cmd::CommandHelper<wpi::cmd::InstantCommand,
ReplaceMeInstantCommand2> {
public:
ReplaceMeInstantCommand2();
void Initialize() override;
};