]> pilppa.org Git - lib1wire.git/blob - src/W1CounterDevice.hh
fix build warnings
[lib1wire.git] / src / W1CounterDevice.hh
1 /*
2  * W1CounterDevice.hh
3  *
4  *  Created on: Oct 30, 2010
5  *      Author: lamikr
6  */
7
8 #ifndef W1COUNTERDEVICE_HH_
9 #define W1COUNTERDEVICE_HH_
10
11 #include <vector>
12
13 #include "W1Device.hh"
14
15 namespace w1 {
16         class W1CounterDevice: public W1Device {
17                 public:
18                         W1CounterDevice(std::string device_id_param,
19                                         std::string device_type_param,
20                                         dirent *direntry_param);
21                         virtual ~W1CounterDevice();
22                         std::string get_unit();
23                 protected:
24                         std::vector<double> *get_raw_data();
25                         unsigned int get_data_decimal_precision();
26         };
27 }
28
29 #endif /* W1COUNTERDEVICE_HH_ */