Public Member Functions | Protected Member Functions | Private Attributes | List of all members
librealsense::ds_update_device Class Reference

#include <ds5-fw-update-device.h>

Inheritance diagram for librealsense::ds_update_device:
Inheritance graph

Public Member Functions

 ds_update_device (std::shared_ptr< context > ctx, bool register_device_notifications, std::shared_ptr< platform::usb_device > usb_device)
void update (const void *fw_image, int fw_image_size, update_progress_callback_ptr=nullptr) const override
virtual ~ds_update_device ()=default
- Public Member Functions inherited from librealsense::update_device
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< matchercreate_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< contextget_context () const override
virtual platform::backend_device_group get_device_data () const override
virtual std::pair< uint32_t, rs2_extrinsicsget_extrinsics (const stream_interface &stream) const override
virtual const std::stringget_info (rs2_camera_info info) const override
virtual std::vector< tagged_profileget_profiles_tags () const override
virtual sensor_interfaceget_sensor (size_t i) override
virtual const sensor_interfaceget_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
 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

virtual const std::stringget_name () const override
virtual const std::stringget_product_line () const override
virtual const std::stringget_serial_number () const override
std::string parse_serial_number (const std::vector< uint8_t > &buffer) const
- Protected Member Functions inherited from librealsense::update_device
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

Private Attributes

std::string _name
std::string _product_line
std::string _serial_number

Additional Inherited Members

- Protected Attributes inherited from librealsense::update_device
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

Detailed Description

Definition at line 10 of file ds5-fw-update-device.h.

Constructor & Destructor Documentation

librealsense::ds_update_device::ds_update_device ( std::shared_ptr< context ctx,
bool  register_device_notifications,
std::shared_ptr< platform::usb_device usb_device 

Definition at line 9 of file ds5-fw-update-device.cpp.

virtual librealsense::ds_update_device::~ds_update_device ( )

Member Function Documentation

virtual const std::string& librealsense::ds_update_device::get_name ( ) const

Implements librealsense::update_device_interface.

Definition at line 19 of file ds5-fw-update-device.h.

virtual const std::string& librealsense::ds_update_device::get_product_line ( ) const

Implements librealsense::update_device_interface.

Definition at line 20 of file ds5-fw-update-device.h.

virtual const std::string& librealsense::ds_update_device::get_serial_number ( ) const

Implements librealsense::update_device_interface.

Definition at line 21 of file ds5-fw-update-device.h.

std::string librealsense::ds_update_device::parse_serial_number ( const std::vector< uint8_t > &  buffer) const

Definition at line 22 of file ds5-fw-update-device.cpp.

void librealsense::ds_update_device::update ( const void fw_image,
int  fw_image_size,
update_progress_callback_ptr  callback = nullptr 
) const

Reimplemented from librealsense::update_device.

Definition at line 17 of file ds5-fw-update-device.cpp.

Member Data Documentation

std::string librealsense::ds_update_device::_name

Definition at line 25 of file ds5-fw-update-device.h.

std::string librealsense::ds_update_device::_product_line

Definition at line 26 of file ds5-fw-update-device.h.

std::string librealsense::ds_update_device::_serial_number

Definition at line 27 of file ds5-fw-update-device.h.

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

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