]> pilppa.org Git - libplp.git/blob - src/SensorDevice.hh
w1 independent file cleanups.
[libplp.git] / src / SensorDevice.hh
1 /*
2  * DeviceTypeSensor.hh
3  *
4  *  Created on: Feb 28, 2011
5  *      Author: lamikr
6  */
7
8 #ifndef DEVICETYPESENSOR_HH_
9 #define DEVICETYPESENSOR_HH_
10
11 #include <string>
12
13 #include "Device.hh"
14
15 namespace plp {
16         class SensorDevice : public Device {
17                 public:
18                         SensorDevice(std::string id_param, std::string type_param) : Device(id_param, type_param) {}
19                         virtual std::string get_unit() = 0;
20                         virtual plp::Data *get_data() = 0;
21         };
22 }
23
24 #endif /* DEVICETYPESENSOR_HH_ */