tm-info.h
Go to the documentation of this file.
1 // License: Apache 2.0. See LICENSE file in root directory.
2 // Copyright(c) 2017 Intel Corporation. All Rights Reserved.
3 #pragma once
4 
5 #include <memory>
6 #include <vector>
7 
8 #include "../context.h"
9 #include "tm-device.h"
10 
11 namespace librealsense
12 {
13  class tm2_info : public device_info
14  {
15  public:
16  tm2_info(std::shared_ptr<context> ctx, platform::usb_device_info hwm);
17  ~tm2_info();
18  std::shared_ptr<device_interface> create(std::shared_ptr<context> ctx, bool register_device_notifications) const override;
20 
21  static std::vector<std::shared_ptr<device_info>> pick_tm2_devices(
22  std::shared_ptr<context> ctx,
23  std::vector<platform::usb_device_info>& usb);
24  private:
26  };
27 }
platform::usb_device_info _hwm
Definition: tm-info.h:25
platform::backend_device_group get_device_data() const override
Definition: tm-info.cpp:35
tm2_info(std::shared_ptr< context > ctx, platform::usb_device_info hwm)
Definition: tm-info.cpp:17
static std::vector< std::shared_ptr< device_info > > pick_tm2_devices(std::shared_ptr< context > ctx, std::vector< platform::usb_device_info > &usb)
Definition: tm-info.cpp:42
std::shared_ptr< device_interface > create(std::shared_ptr< context > ctx, bool register_device_notifications) const override
Definition: tm-info.cpp:28


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