/* * W1CounterDevice.hh * * Created on: Oct 30, 2010 * Author: lamikr */ #ifndef W1COUNTERDEVICE_HH_ #define W1COUNTERDEVICE_HH_ #include "W1Device.hh" namespace w1 { class W1CounterDevice: public w1::W1Device { public: W1CounterDevice(int family_code_param, std::string device_id_param, dirent *direntry_param); virtual ~W1CounterDevice(); std::string get_raw_value(); std::string get_unit(); std::string get_device_type(); protected: bool is_supported_family_code(int family_code); }; } #endif /* W1COUNTERDEVICE_HH_ */