You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
433 B
29 lines
433 B
7 years ago
|
/*
|
||
|
* temperature.h
|
||
|
*
|
||
|
* Created on: Aug 1, 2017
|
||
|
* Author: Elmar
|
||
|
*/
|
||
|
|
||
|
#ifndef APP_TEMPERATURE_H_
|
||
|
#define APP_TEMPERATURE_H_
|
||
|
|
||
|
#include "sensor.h"
|
||
|
|
||
|
namespace rijnfel {
|
||
|
template<typename Sample, typename Temperature>
|
||
|
class cTemperatureSensor: cSensor<Sample> {
|
||
|
public:
|
||
|
cTemperatureSensor() {
|
||
|
|
||
|
}
|
||
|
virtual Temperature ConvertSample(Sample sample) = 0;
|
||
|
virtual ~cTemperatureSensor() {
|
||
|
|
||
|
}
|
||
|
};
|
||
|
|
||
|
}
|
||
|
|
||
|
#endif /* APP_TEMPERATURE_H_ */
|