/* * W1Store.hh * * Created on: Oct 31, 2010 * Author: lamikr */ #ifndef W1STORE_HH_ #define W1STORE_HH_ #include #include namespace w1 { class W1Store { public: W1Store(); virtual ~W1Store(); 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 *string_list); protected: static std::string location_base_dir; }; } #endif /* W1STORE_HH_ */