Replaced all uses of DISALLOW_COPY_AND_ASSIGN macro

Change-Id: I8371beb286a20d4c7619aab226136569fdefafef
This commit is contained in:
Tyler Veness
2015-07-21 01:23:34 -07:00
parent eb7d55fd59
commit 3bbeccfbb5
22 changed files with 70 additions and 41 deletions

View File

@@ -34,6 +34,10 @@ class PIDController : public LiveWindowSendable,
PIDController(float p, float i, float d, float f, PIDSource *source,
PIDOutput *output, float period = 0.05);
virtual ~PIDController() = default;
PIDController(const PIDController&) = delete;
PIDController& operator=(const PIDController) = delete;
virtual float Get() const;
virtual void SetContinuous(bool continuous = true);
virtual void SetInputRange(float minimumInput, float maximumInput);
@@ -111,6 +115,4 @@ class PIDController : public LiveWindowSendable,
protected:
::std::shared_ptr<ITable> m_table = nullptr;
virtual void Calculate();
DISALLOW_COPY_AND_ASSIGN(PIDController);
};