Refactoring, housekeeping, documentation

Add a class diagram. Still needs some details.
Refactor to better respect SOLID principles.
Housekeeping, move and rename classes/files.
This commit is contained in:
2022-09-27 00:09:30 +02:00
parent 4f6a1dfc4f
commit 289c55b78c
28 changed files with 402 additions and 339 deletions

View File

@@ -0,0 +1,18 @@
#ifndef PWMCONTROLFACADE_H_
#define PWMCONTROLFACADE_H_
#include <filesystem>
#include <memory>
#include <regex>
#include <vector>
#include <pwm/PWMControl.h>
#define HWMON_BASE_PATH "/sys/class/hwmon"
class PWMControlFacade {
public:
std::vector<std::shared_ptr<PWMControl>> PWMControls();
};
#endif // PWMCONTROLFACADE_H_