sr300-fw-update-device.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 
7 
8 namespace librealsense
9 {
11  {
12  public:
13  sr300_update_device(std::shared_ptr<context> ctx, bool register_device_notifications, std::shared_ptr<platform::usb_device> usb_device);
14  virtual ~sr300_update_device() = default;
15  virtual void update(const void* fw_image, int fw_image_size, update_progress_callback_ptr = nullptr) const override;
16 
17  protected:
18  virtual const std::string& get_name() const override { return _name; }
19  virtual const std::string& get_product_line() const override { return _product_line; }
20  virtual const std::string& get_serial_number() const override { return _serial_number; }
21  std::string parse_serial_number(const std::vector<uint8_t>& buffer) const;
22 
23  private:
27  };
28 }
virtual void update(const void *fw_image, int fw_image_size, update_progress_callback_ptr=nullptr) const override
virtual const std::string & get_name() const override
sr300_update_device(std::shared_ptr< context > ctx, bool register_device_notifications, std::shared_ptr< platform::usb_device > usb_device)
GLsizei const GLchar *const * string
GLenum GLfloat * buffer
std::shared_ptr< rs2_update_progress_callback > update_progress_callback_ptr
Definition: src/types.h:1077
virtual const std::string & get_product_line() const override
std::string parse_serial_number(const std::vector< uint8_t > &buffer) const
virtual const std::string & get_serial_number() const override
virtual ~sr300_update_device()=default


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