Deprecate Filter class for removal (#1876)

This commit is contained in:
Tyler Veness
2019-09-07 21:02:44 -07:00
committed by Peter Johnson
parent 84e2973aaa
commit 561cbbd144
2 changed files with 9 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2015-2018 FIRST. All Rights Reserved. */
/* Copyright (c) 2015-2019 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of */
/* the project. */
@@ -9,6 +9,8 @@
#include <memory>
#include <wpi/deprecated.h>
#include "frc/PIDSource.h"
namespace frc {
@@ -18,7 +20,9 @@ namespace frc {
*/
class Filter : public PIDSource {
public:
WPI_DEPRECATED("This class is no longer used.")
explicit Filter(PIDSource& source);
WPI_DEPRECATED("This class is no longer used.")
explicit Filter(std::shared_ptr<PIDSource> source);
virtual ~Filter() = default;