rsusb-backend.h
Go to the documentation of this file.
1 // License: Apache 2.0. See LICENSE file in root directory.
2 // Copyright(c) 2015 Intel Corporation. All Rights Reserved.
3 
4 #pragma once
5 
6 #include "../backend.h"
7 #include "../command_transfer.h"
8 
9 namespace librealsense
10 {
11  namespace platform
12  {
13  class rs_backend : public backend
14  {
15  public:
16  rs_backend();
17  ~rs_backend();
18 
19  std::shared_ptr<uvc_device> create_uvc_device(uvc_device_info info) const override;
20  std::vector<uvc_device_info> query_uvc_devices() const override;
21 
22 
23  // don't change
24  std::shared_ptr<command_transfer> create_usb_device(usb_device_info info) const override;
25  std::vector<usb_device_info> query_usb_devices() const override;
26 
27  // Not supported
28  std::shared_ptr<hid_device> create_hid_device(hid_device_info info) const override;
29  std::vector<hid_device_info> query_hid_devices() const override;
30 
31  // don't change
32  virtual std::shared_ptr<time_service> create_time_service() const override;
33  };
34  }
35 }
std::shared_ptr< hid_device > create_hid_device(hid_device_info info) const override
std::vector< uvc_device_info > query_uvc_devices() const override
std::shared_ptr< command_transfer > create_usb_device(usb_device_info info) const override
std::shared_ptr< uvc_device > create_uvc_device(uvc_device_info info) const override
def info(name, value, persistent=False)
Definition: test.py:301
virtual std::shared_ptr< time_service > create_time_service() const override
std::vector< usb_device_info > query_usb_devices() const override
std::vector< hid_device_info > query_hid_devices() const override


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