]> pilppa.org Git - lib1wire.git/blobdiff - src/W1Device.hh
cleanups, renamed get_*_values functions to get_*_data
[lib1wire.git] / src / W1Device.hh
index a6902f72526379d20325fd1473934a8ff8b1f3c7..73cd8f5ff7b65cfd50cee68a4cbdcc0dfdd8e57a 100644 (file)
@@ -33,8 +33,8 @@ namespace w1 {
                        std::string get_id();
                        std::string get_name();
                        void set_name(std::string name_param);
-                       virtual std::string get_raw_value() = 0;
-                       std::string get_formatted_value();
+                       virtual std::string get_raw_data() = 0;
+                       std::string get_formatted_data();
                        virtual std::string get_unit() = 0;
                        virtual std::string get_device_type() = 0;
                        std::string get_time();
@@ -42,7 +42,7 @@ namespace w1 {
                        virtual void store();
                protected:
                        void add_to_memory_cache(std::string formatted_data);
-                       std::string get_formatted_value(std::string value);
+                       std::string get_formatted_data(std::string raw_data);
                        virtual bool is_supported_family_code(int family_code) = 0;
                        int family_code;
                        std::string id;