ds5-factory.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 #pragma once
4 
5 #include "ds5-private.h"
6 
7 namespace librealsense
8 {
9  class ds5_info : public device_info
10  {
11  public:
12  std::shared_ptr<device_interface> create(std::shared_ptr<context> ctx,
13  bool register_device_notifications) const override;
14 
15  ds5_info(std::shared_ptr<context> ctx,
16  std::vector<platform::uvc_device_info> depth,
17  std::vector<platform::usb_device_info> hwm,
18  std::vector<platform::hid_device_info> hid)
19  : device_info(ctx), _depth(std::move(depth)),
20  _hwm(std::move(hwm)), _hid(std::move(hid)) {}
21 
22  static std::vector<std::shared_ptr<device_info>> pick_ds5_devices(
23  std::shared_ptr<context> ctx,
25 
27  {
29  }
30  private:
31  std::vector<platform::uvc_device_info> _depth;
32  std::vector<platform::usb_device_info> _hwm;
33  std::vector<platform::hid_device_info> _hid;
34  };
35 }
std::vector< platform::hid_device_info > _hid
Definition: ds5-factory.h:33
GLint GLint GLsizei GLsizei GLsizei depth
std::vector< platform::uvc_device_info > _depth
Definition: ds5-factory.h:31
std::vector< platform::usb_device_info > _hwm
Definition: ds5-factory.h:32
std::shared_ptr< device_interface > create(std::shared_ptr< context > ctx, bool register_device_notifications) const override
static std::vector< std::shared_ptr< device_info > > pick_ds5_devices(std::shared_ptr< context > ctx, platform::backend_device_group &gproup)
platform::backend_device_group get_device_data() const override
Definition: ds5-factory.h:26
typename::boost::move_detail::remove_reference< T >::type && move(T &&t) BOOST_NOEXCEPT
ds5_info(std::shared_ptr< context > ctx, std::vector< platform::uvc_device_info > depth, std::vector< platform::usb_device_info > hwm, std::vector< platform::hid_device_info > hid)
Definition: ds5-factory.h:15


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