]> pilppa.org Git - lib1wire.git/blob - src/DeviceTypeSensor.hh
Started defining generic device type base classes that could be used
[lib1wire.git] / src / DeviceTypeSensor.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 "DeviceTypeGeneric.hh"
14
15 namespace plp {
16         class DeviceTypeSensor : public DeviceTypeGeneric {
17                 public:
18                 virtual std::string get_unit() = 0;
19                 virtual plp::Data *get_data() = 0;
20                 virtual void save_data() = 0;
21         };
22 }
23
24 #endif /* DEVICETYPESENSOR_HH_ */