mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-26 01:51:41 +00:00
Add NOLINT to CommandTestBase due to gmock not adding "override" keyword, which causes warnings on clang.
26 lines
669 B
C++
26 lines
669 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 "frc/buttons/ButtonScheduler.h"
|
|
|
|
namespace frc {
|
|
|
|
class Trigger;
|
|
class Command;
|
|
|
|
class CancelButtonScheduler : public ButtonScheduler {
|
|
public:
|
|
CancelButtonScheduler(bool last, Trigger* button, Command* orders);
|
|
~CancelButtonScheduler() override = default;
|
|
|
|
CancelButtonScheduler(CancelButtonScheduler&&) = default;
|
|
CancelButtonScheduler& operator=(CancelButtonScheduler&&) = default;
|
|
|
|
void Execute() override;
|
|
};
|
|
|
|
} // namespace frc
|