]> pilppa.org Git - lib1wire.git/blob - src/SensorDevice.hh
Started defining generic device type base classes that could be used
[lib1wire.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                         virtual std::string get_unit() = 0;
19                         virtual plp::Data *get_data() = 0;
20         };
21 }
22
23 #endif /* DEVICETYPESENSOR_HH_ */