Unify Framework Lib 1.6.0
|
Functions | |
void | set_image_meta_info (const std::string &key, const uic_ota::meta_t &meta_info) |
Setting image filename. More... | |
uic_ota::meta_t | get_image_meta_info (const std::string &key) |
Get image meta info. More... | |
void | remove_image_meta_info (const std::string &key) |
Remove image meta info. More... | |
bool | check_if_meta_info_received (const std::string &key) |
Checks if meta info is received for image key. More... | |
void | set_images_received_cached_filepath (const std::string &key, const std::string &filepath) |
Set image which is received and cache it. More... | |
std::string | get_image_cached_filepath (const std::string &key) |
Get image which is received and cached. More... | |
bool | is_image_received_and_cached (const std::string &key) |
Check if image is received and cached. More... | |
void | clear_images_cache () |
Clear out cache of images. More... | |
bool image_file_handler::check_if_meta_info_received | ( | const std::string & | key | ) |
Checks if meta info is received for image key.
key | image key identifier. |
void image_file_handler::clear_images_cache | ( | ) |
Clear out cache of images.
std::string image_file_handler::get_image_cached_filepath | ( | const std::string & | key | ) |
Get image which is received and cached.
key | image key which is received and cached. |
uic_ota::meta_t image_file_handler::get_image_meta_info | ( | const std::string & | key | ) |
Get image meta info.
key | image key for getting meta info. |
std::invalid_argument | if meta info could not be found. |
bool image_file_handler::is_image_received_and_cached | ( | const std::string & | key | ) |
Check if image is received and cached.
key | image key or search. |
void image_file_handler::remove_image_meta_info | ( | const std::string & | key | ) |
Remove image meta info.
key | image key removing meta info for. |
void image_file_handler::set_image_meta_info | ( | const std::string & | key, |
const uic_ota::meta_t & | meta_info | ||
) |
Setting image filename.
key | image key for setting image filename. |
meta_info | meta info to set |
void image_file_handler::set_images_received_cached_filepath | ( | const std::string & | key, |
const std::string & | filepath | ||
) |
Set image which is received and cache it.
key | image key which is received. |
filepath | for image which is received. |