update firmware.bin
[clinton/Smoothieware.git] / src / modules / tools / temperaturecontrol / TempSensor.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 tempsensor_h
9 #define tempsensor_h
10
11 class TempSensor
12 {
13 public:
14 // Load config parameters using provided "base" names.
15 virtual void UpdateConfig(uint16_t module_checksum, uint16_t name_checksum) {};
16
17 // Return temperature in degrees Celsius.
18 virtual float get_temperature() { return -1.f; };
19
20 // Make sure the interface provides a destructor.
21 virtual ~TempSensor() {}
22 };
23
24 #endif