fw-update-factory.h
Go to the documentation of this file.
1 // License: Apache 2.0. See LICENSE file in root directory.
2 // Copyright(c) 2019 Intel Corporation. All Rights Reserved.
3 
4 #pragma once
5 
6 
7 #include "core/streaming.h"
8 #include "context.h"
9 
10 namespace librealsense
11 {
12  class fw_update_info : public device_info
13  {
14  public:
15  std::shared_ptr<device_interface> create(std::shared_ptr<context> ctx, bool register_device_notifications) const override;
16 
17  static std::vector<std::shared_ptr<device_info>> pick_recovery_devices(std::shared_ptr<context> ctx,
18  const std::vector<platform::usb_device_info>& usb_devices, int mask);
19 
20  explicit fw_update_info(std::shared_ptr<context> ctx, platform::usb_device_info dfu)
21  : device_info(ctx), _dfu(std::move(dfu)) {}
22 
24 
25  private:
27  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!";
28  };
29 }
GLint GLuint mask
std::shared_ptr< device_interface > create(std::shared_ptr< context > ctx, bool register_device_notifications) const override
platform::backend_device_group get_device_data() const override
platform::usb_device_info _dfu
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)
typename::boost::move_detail::remove_reference< T >::type && move(T &&t) BOOST_NOEXCEPT
fw_update_info(std::shared_ptr< context > ctx, platform::usb_device_info dfu)


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