Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
librealsense::fw_update_info Class Reference

#include <fw-update-factory.h>

Inheritance diagram for librealsense::fw_update_info:
Inheritance graph
[legend]

Public Member Functions

std::shared_ptr< device_interfacecreate (std::shared_ptr< context > ctx, bool register_device_notifications) const override
 
 fw_update_info (std::shared_ptr< context > ctx, platform::usb_device_info dfu)
 
platform::backend_device_group get_device_data () const override
 
- Public Member Functions inherited from librealsense::device_info
virtual std::shared_ptr< device_interfacecreate_device (bool register_device_notifications=false) const
 
virtual bool operator== (const device_info &other) const
 
virtual ~device_info ()=default
 

Static Public Member Functions

static std::vector< std::shared_ptr< device_info > > pick_recovery_devices (std::shared_ptr< context > ctx, const std::vector< platform::usb_device_info > &usb_devices, int mask)
 

Private Attributes

platform::usb_device_info _dfu
 
const char * RECOVERY_MESSAGE = "Selected RealSense device is in recovery mode!\nEither perform a firmware update or reconnect the camera to fall-back to last working firmware if available!"
 

Additional Inherited Members

- Protected Member Functions inherited from librealsense::device_info
 device_info (std::shared_ptr< context > backend)
 
- Protected Attributes inherited from librealsense::device_info
std::shared_ptr< context_ctx
 

Detailed Description

Definition at line 12 of file fw-update-factory.h.

Constructor & Destructor Documentation

librealsense::fw_update_info::fw_update_info ( std::shared_ptr< context ctx,
platform::usb_device_info  dfu 
)
inlineexplicit

Definition at line 20 of file fw-update-factory.h.

Member Function Documentation

std::shared_ptr< device_interface > librealsense::fw_update_info::create ( std::shared_ptr< context ctx,
bool  register_device_notifications 
) const
overridevirtual

Implements librealsense::device_info.

Definition at line 119 of file fw-update-factory.cpp.

platform::backend_device_group librealsense::fw_update_info::get_device_data ( ) const
inlineoverridevirtual

Implements librealsense::device_info.

Definition at line 23 of file fw-update-factory.h.

std::vector< std::shared_ptr< device_info > > librealsense::fw_update_info::pick_recovery_devices ( std::shared_ptr< context ctx,
const std::vector< platform::usb_device_info > &  usb_devices,
int  mask 
)
static

Definition at line 104 of file fw-update-factory.cpp.

Member Data Documentation

platform::usb_device_info librealsense::fw_update_info::_dfu
private

Definition at line 26 of file fw-update-factory.h.

const char* librealsense::fw_update_info::RECOVERY_MESSAGE = "Selected RealSense device is in recovery mode!\nEither perform a firmware update or reconnect the camera to fall-back to last working firmware if available!"
private

Definition at line 27 of file fw-update-factory.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:37