#ifndef CONTROLLER_H_ #define CONTROLLER_H_ #include #include #include #include #include class Controller { public: Controller(std::shared_ptr settings, std::vector> curves); ~Controller(); void StartFanControlLoop(); void StopFanControlLoop(); private: void Loop(); int mTimeout; std::vector> mFanCurves; std::atomic mRun; std::unique_ptr mWorker; }; #endif // CONTROLLER_H_