#include <fw-update-helper.h>

Public Member Functions | |
| firmware_update_manager (std::shared_ptr< notifications_model > not_model, device_model &model, device dev, context ctx, std::vector< uint8_t > fw, bool is_signed) | |
| const device_model & | get_device_model () const |
| std::shared_ptr< notifications_model > | get_protected_notification_model () |
Public Member Functions inherited from rs2::process_manager | |
| void | check_error (std::string &error) |
| bool | done () const |
| void | fail (std::string error) |
| bool | failed () const |
| const std::string & | get_log () const |
| int | get_progress () const |
| void | log (std::string line) |
| process_manager (std::string name) | |
| void | reset () |
| void | start (invoker invoke) |
| bool | started () const |
| virtual | ~process_manager ()=default |
Private Member Functions | |
| bool | check_for (std::function< bool()> action, std::function< void()> cleanup, std::chrono::system_clock::duration delta) |
| void | process_flow (std::function< void()> cleanup, invoker invoke) override |
Private Attributes | |
| context | _ctx |
| device | _dev |
| std::vector< uint8_t > | _fw |
| bool | _is_signed |
| device_model & | _model |
| std::weak_ptr< notifications_model > | _not_model |
Additional Inherited Members | |
Protected Attributes inherited from rs2::process_manager | |
| bool | _done = false |
| bool | _failed = false |
| std::string | _last_error |
| std::string | _log |
| std::mutex | _log_lock |
| std::string | _process_name |
| int | _progress = 0 |
| bool | _started = false |
Definition at line 20 of file fw-update-helper.h.
|
inline |
Definition at line 23 of file fw-update-helper.h.
|
private |
Definition at line 134 of file fw-update-helper.cpp.
|
inline |
Definition at line 27 of file fw-update-helper.h.
|
inline |
Definition at line 28 of file fw-update-helper.h.
|
overrideprivatevirtual |
Implements rs2::process_manager.
Definition at line 175 of file fw-update-helper.cpp.
|
private |
Definition at line 39 of file fw-update-helper.h.
|
private |
Definition at line 38 of file fw-update-helper.h.
|
private |
Definition at line 40 of file fw-update-helper.h.
|
private |
Definition at line 41 of file fw-update-helper.h.
|
private |
Definition at line 42 of file fw-update-helper.h.
|
private |
Definition at line 37 of file fw-update-helper.h.