2 * W1TemperatureSensor.hh
4 * Created on: Oct 20, 2010
8 #ifndef W1TEMPERATURESENSOR_HH_
9 #define W1TEMPERATURESENSOR_HH_
11 #include "W1Device.hh"
14 class W1TemperatureSensor : public W1Device {
16 W1TemperatureSensor(dirent *direntry, int family_code_param, std::string id_param);
17 virtual ~W1TemperatureSensor();
18 std::string get_value();
19 std::string get_unit();
20 std::string get_devicetype_name();
23 //std::string get_formatted_data();
24 bool is_supported_family_code(int family_code);
28 #endif /* W1TEMPERATURESENSOR_HH_ */