Calculate Fletcher Checksums at compile time from string.
[clinton/Smoothieware.git] / src / modules / tools / temperaturecontrol / TemperatureControlPool.h
1 /*
2 this file is part of smoothie (http://smoothieware.org/). the motion control part is heavily based on grbl (https://github.com/simen/grbl).
3 smoothie is free software: you can redistribute it and/or modify it under the terms of the gnu general public license as published by the free software foundation, either version 3 of the license, or (at your option) any later version.
4 smoothie is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. see the gnu general public license for more details.
5 you should have received a copy of the gnu general public license along with smoothie. if not, see <http://www.gnu.org/licenses/>.
6 */
7
8 #ifndef TEMPERATURECONTROLPOOL_H
9 #define TEMPERATURECONTROLPOOL_H
10
11 #include "TemperatureControl.h"
12 #include "PID_Autotuner.h"
13 #include <math.h>
14 using namespace std;
15 #include <vector>
16
17 #define temperature_control_checksum CHECKSUM("temperature_control")
18 #define enable_checksum CHECKSUM("enable")
19
20 class TemperatureControlPool : public Module {
21 public:
22 TemperatureControlPool();
23
24 void on_module_loaded();
25
26 vector<TemperatureControl*> controllers;
27 PID_Autotuner* PIDtuner;
28 };
29
30
31
32 #endif