<commit_before>#pragma once

#include "controller.hpp"
#include "ec/pid.hpp"
#include "fan.hpp"

#include <memory>
#include <vector>

class ZoneInterface;

/*
 * Base class for PID controllers.  Each PID that implements this needs to
 * provide an inputProc, setptProc, and outputProc.
 */
class PIDController : public Controller
{
  public:
    PIDController(const std::string& id, ZoneInterface* owner) :
        Controller(), _owner(owner), _setpoint(0), _id(id)
    {
    }

    virtual ~PIDController()
    {
    }

    virtual float inputProc(void) = 0;
    virtual float setptProc(void) = 0;
    virtual void outputProc(float value) = 0;

    void process(void);

    std::string getID(void)
    {<commit_msg>pid: add missing override specifiers<commit_after>#pragma once

#include "controller.hpp"
#include "ec/pid.hpp"
#include "fan.hpp"

#include <memory>
#include <vector>

class ZoneInterface;

/*
 * Base class for PID controllers.  Each PID that implements this needs to
 * provide an inputProc, setptProc, and outputProc.
 */
class PIDController : public Controller
{
  public:
    PIDController(const std::string& id, ZoneInterface* owner) :
        Controller(), _owner(owner), _setpoint(0), _id(id)
    {
    }

    virtual ~PIDController()
    {
    }

    virtual float inputProc(void) override = 0;
    virtual float setptProc(void) = 0;
    virtual void outputProc(float value) override = 0;

    void process(void) override;

    std::string getID(void) override
    {
{'fraction_non_alphanumeric': 0.11200536552649229, 'fraction_numerical': 0.0053655264922870555, 'mean_word_length': 3.6191950464396285, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7448105', 'n_tokens_mistral': 480, 'n_tokens_neox': 459, 'n_words': 138}