2 * W1TemperatureSensor.hh
4 * Created on: Oct 20, 2010
8 #ifndef W1TEMPERATURESENSOR_HH_
9 #define W1TEMPERATURESENSOR_HH_
13 #include "W1Device.hh"
16 class W1TemperatureSensor : public W1Device {
18 W1TemperatureSensor(int family_code_param,
19 std::string device_id_param,
20 dirent *direntry_param);
21 virtual ~W1TemperatureSensor();
22 std::string get_unit();
23 std::string get_device_type();
25 std::vector<double> *get_raw_data();
26 unsigned int get_data_decimal_precision();
27 bool is_supported_w1_family_code(int family_code);
31 #endif /* W1TEMPERATURESENSOR_HH_ */