namespace w1 {
class W1CounterDevice: public w1::W1Device {
public:
- W1CounterDevice(dirent *direntry, int family_code_param, std::string id_param);
+ W1CounterDevice(int family_code_param,
+ std::string device_id_param,
+ dirent *direntry_param);
virtual ~W1CounterDevice();
- std::string get_value();
+ std::string get_raw_value();
std::string get_unit();
- std::string get_devicetype_name();
+ std::string get_device_type();
protected:
bool is_supported_family_code(int family_code);
};