#include <fw-update-device.h>
Public Member Functions | |
virtual bool | compress_while_record () const override |
virtual bool | contradicts (const stream_profile_interface *a, const std::vector< stream_profile > &others) const override |
virtual std::shared_ptr< matcher > | create_matcher (const frame_holder &frame) const override |
virtual void | create_snapshot (std::shared_ptr< info_interface > &snapshot) const override |
virtual void | enable_recording (std::function< void(const info_interface &)> recording_function) override |
virtual std::shared_ptr< context > | get_context () const override |
virtual platform::backend_device_group | get_device_data () const override |
virtual std::pair< uint32_t, rs2_extrinsics > | get_extrinsics (const stream_interface &stream) const override |
virtual const std::string & | get_info (rs2_camera_info info) const override |
virtual std::vector< tagged_profile > | get_profiles_tags () const override |
virtual sensor_interface & | get_sensor (size_t i) override |
virtual const sensor_interface & | get_sensor (size_t i) const override |
virtual size_t | get_sensors_count () const override |
virtual void | hardware_reset () override |
virtual bool | is_valid () const override |
virtual bool | supports_info (rs2_camera_info info) const override |
virtual void | tag_profiles (stream_profiles profiles) const override |
virtual void | update (const void *fw_image, int fw_image_size, update_progress_callback_ptr=nullptr) const override |
update_device (const std::shared_ptr< context > &ctx, bool register_device_notifications, std::shared_ptr< platform::usb_device > usb_device) | |
virtual | ~update_device () |
Public Member Functions inherited from librealsense::device_interface | |
virtual | ~device_interface ()=default |
Public Member Functions inherited from librealsense::info_interface | |
virtual | ~info_interface ()=default |
Public Member Functions inherited from librealsense::recordable< info_interface > | |
virtual | ~recordable ()=default |
Protected Member Functions | |
void | detach (std::shared_ptr< platform::usb_messenger > messenger) const |
rs2_dfu_state | get_dfu_state (std::shared_ptr< platform::usb_messenger > messenger) const |
void | read_device_info (std::shared_ptr< platform::usb_messenger > messenger) |
bool | wait_for_state (std::shared_ptr< platform::usb_messenger > messenger, const rs2_dfu_state state, size_t timeout=1000) const |
Protected Member Functions inherited from librealsense::update_device_interface | |
virtual const std::string & | get_name () const =0 |
virtual const std::string & | get_product_line () const =0 |
virtual const std::string & | get_serial_number () const =0 |
Protected Attributes | |
const std::shared_ptr< context > | _context |
std::string | _highest_fw_version |
bool | _is_dfu_locked = false |
std::string | _last_fw_version |
std::string | _physical_port |
std::vector< uint8_t > | _serial_number_buffer |
const platform::rs_usb_device | _usb_device |
Definition at line 97 of file fw-update-device.h.
librealsense::update_device::update_device | ( | const std::shared_ptr< context > & | ctx, |
bool | register_device_notifications, | ||
std::shared_ptr< platform::usb_device > | usb_device | ||
) |
Definition at line 112 of file fw-update-device.cpp.
|
virtual |
Definition at line 134 of file fw-update-device.cpp.
|
overridevirtual |
Implements librealsense::device_interface.
Definition at line 265 of file fw-update-device.cpp.
|
inlineoverridevirtual |
Implements librealsense::device_interface.
Definition at line 129 of file fw-update-device.h.
|
overridevirtual |
Implements librealsense::device_interface.
Definition at line 230 of file fw-update-device.cpp.
|
overridevirtual |
Create a snapshot of the deriving extension. A snapshot of T is a reflection of the state and memory of T at the time of the call
Implements librealsense::recordable< info_interface >.
Definition at line 298 of file fw-update-device.cpp.
|
protected |
Definition at line 46 of file fw-update-device.cpp.
|
overridevirtual |
Instruct the derived class to begin notifying on changes Derived class should call the recording_function with a reference of themselves
Implements librealsense::recordable< info_interface >.
Definition at line 302 of file fw-update-device.cpp.
|
overridevirtual |
Implements librealsense::device_interface.
Definition at line 235 of file fw-update-device.cpp.
|
overridevirtual |
Implements librealsense::device_interface.
Definition at line 240 of file fw-update-device.cpp.
|
protected |
Definition at line 32 of file fw-update-device.cpp.
|
overridevirtual |
Implements librealsense::device_interface.
Definition at line 245 of file fw-update-device.cpp.
|
overridevirtual |
Implements librealsense::info_interface.
Definition at line 270 of file fw-update-device.cpp.
|
overridevirtual |
Implements librealsense::device_interface.
Definition at line 255 of file fw-update-device.cpp.
|
overridevirtual |
Implements librealsense::device_interface.
Definition at line 210 of file fw-update-device.cpp.
|
overridevirtual |
Implements librealsense::device_interface.
Definition at line 215 of file fw-update-device.cpp.
|
overridevirtual |
Implements librealsense::device_interface.
Definition at line 220 of file fw-update-device.cpp.
|
overridevirtual |
Implements librealsense::device_interface.
Definition at line 225 of file fw-update-device.cpp.
|
overridevirtual |
Implements librealsense::device_interface.
Definition at line 250 of file fw-update-device.cpp.
|
protected |
Definition at line 55 of file fw-update-device.cpp.
|
overridevirtual |
Implements librealsense::info_interface.
Definition at line 283 of file fw-update-device.cpp.
|
overridevirtual |
Implements librealsense::device_interface.
Definition at line 260 of file fw-update-device.cpp.
|
overridevirtual |
Implements librealsense::update_device_interface.
Reimplemented in librealsense::l500_update_device, librealsense::ds_update_device, and librealsense::sr300_update_device.
Definition at line 139 of file fw-update-device.cpp.
|
protected |
Definition at line 81 of file fw-update-device.cpp.
|
protected |
Definition at line 148 of file fw-update-device.h.
|
protected |
Definition at line 151 of file fw-update-device.h.
|
protected |
Definition at line 154 of file fw-update-device.h.
|
protected |
Definition at line 152 of file fw-update-device.h.
|
protected |
Definition at line 153 of file fw-update-device.h.
|
protected |
Definition at line 150 of file fw-update-device.h.
|
protected |
Definition at line 149 of file fw-update-device.h.