mf-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 
8 namespace librealsense
9 {
10  namespace platform
11  {
12  class wmf_backend : public std::enable_shared_from_this<wmf_backend>, public backend
13  {
14  public:
15  wmf_backend();
16  ~wmf_backend();
17 
18  std::shared_ptr<uvc_device> create_uvc_device(uvc_device_info info) const override;
19  std::vector<uvc_device_info> query_uvc_devices() const override;
20 
21  std::shared_ptr<command_transfer> create_usb_device(usb_device_info info) const override;
22  std::vector<usb_device_info> query_usb_devices() const override;
23 
24  std::shared_ptr<hid_device> create_hid_device(hid_device_info info) const override;
25  std::vector<hid_device_info> query_hid_devices() const override;
26  virtual std::shared_ptr<time_service> create_time_service() const override;
27  std::shared_ptr<device_watcher> create_device_watcher() const override;
28  std::string get_device_serial(uint16_t device_vid, uint16_t device_pid, const std::string& device_uid) const override;
29 
30  private:
31  std::chrono::high_resolution_clock::time_point _start_time;
32  };
33  }
34 }
std::chrono::high_resolution_clock::time_point _start_time
Definition: mf-backend.h:31
unsigned short uint16_t
Definition: stdint.h:79
GLsizei const GLchar *const * string
std::shared_ptr< command_transfer > create_usb_device(usb_device_info info) const override
Definition: mf-backend.cpp:78
std::vector< usb_device_info > query_usb_devices() const override
Definition: mf-backend.cpp:86
def info(name, value, persistent=False)
Definition: test.py:301
std::shared_ptr< device_watcher > create_device_watcher() const override
Definition: mf-backend.cpp:385
std::shared_ptr< uvc_device > create_uvc_device(uvc_device_info info) const override
Definition: mf-backend.cpp:51
std::vector< uvc_device_info > query_uvc_devices() const override
Definition: mf-backend.cpp:62
virtual std::shared_ptr< time_service > create_time_service() const override
Definition: mf-backend.cpp:138
std::string get_device_serial(uint16_t device_vid, uint16_t device_pid, const std::string &device_uid) const override
Definition: mf-backend.cpp:390
std::shared_ptr< hid_device > create_hid_device(hid_device_info info) const override
Definition: mf-backend.cpp:119
std::vector< hid_device_info > query_hid_devices() const override
Definition: mf-backend.cpp:124


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