Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
rs2::sw_update::dev_updates_profile Class Reference

#include <dev-updates-profile.h>

Classes

struct  update_profile
 
struct  version_info
 

Public Member Functions

 dev_updates_profile (const device &dev, const std::string &url, const bool use_url_as_local_path=false, http::user_callback_func_type download_callback=http::user_callback_func_type())
 
update_profileget_update_profile ()
 
bool retrieve_updates (component_part_type comp)
 
 ~dev_updates_profile ()
 

Private Member Functions

bool try_parse_update (versions_db_manager &up_handler, const std::string &dev_name, update_policy_type policy, component_part_type part, version_info &result)
 

Private Attributes

bool _keep_trying
 
update_profile _update_profile
 
versions_db_manager _versions_db
 

Detailed Description

Definition at line 19 of file dev-updates-profile.h.

Constructor & Destructor Documentation

rs2::sw_update::dev_updates_profile::dev_updates_profile ( const device dev,
const std::string url,
const bool  use_url_as_local_path = false,
http::user_callback_func_type  download_callback = http::user_callback_func_type() 
)
explicit

Definition at line 13 of file dev-updates-profile.cpp.

rs2::sw_update::dev_updates_profile::~dev_updates_profile ( )
inline

Definition at line 57 of file dev-updates-profile.h.

Member Function Documentation

update_profile& rs2::sw_update::dev_updates_profile::get_update_profile ( )
inline

Definition at line 60 of file dev-updates-profile.h.

bool rs2::sw_update::dev_updates_profile::retrieve_updates ( component_part_type  comp)

Definition at line 30 of file dev-updates-profile.cpp.

bool rs2::sw_update::dev_updates_profile::try_parse_update ( versions_db_manager up_handler,
const std::string dev_name,
update_policy_type  policy,
component_part_type  part,
dev_updates_profile::version_info result 
)
private

Definition at line 84 of file dev-updates-profile.cpp.

Member Data Documentation

bool rs2::sw_update::dev_updates_profile::_keep_trying
private

Definition at line 72 of file dev-updates-profile.h.

update_profile rs2::sw_update::dev_updates_profile::_update_profile
private

Definition at line 71 of file dev-updates-profile.h.

versions_db_manager rs2::sw_update::dev_updates_profile::_versions_db
private

Definition at line 70 of file dev-updates-profile.h.


The documentation for this class was generated from the following files:


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:41