public:
W1Store();
virtual ~W1Store();
- static std::string location;
- static void set_location(std::string location_param);
+ static std::string get_location_base_dir();
+ static void set_location_base_dir(std::string location_param);
+ static std::string get_location_dir(std::string device_id, struct tm *ltime);
+ static std::string get_location_file(std::string device_id, struct tm *ltime);
static void store(std::string device_id, std::list<std::string> *string_list);
+ protected:
+ static std::string location_base_dir;
};
}