usb-interface.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 "usb-types.h"
7 #include "usb-endpoint.h"
8 #include "usb-messenger.h"
9 
10 #include <memory>
11 #include <vector>
12 
13 namespace librealsense
14 {
15  namespace platform
16  {
18  {
19  public:
20  usb_interface() = default;
21  virtual ~usb_interface() = default;
22 
23  virtual uint8_t get_number() const = 0;
24  virtual uint8_t get_class() const = 0;
25  virtual uint8_t get_subclass() const = 0;
26  virtual const std::vector<rs_usb_endpoint> get_endpoints() const = 0;
27 
29  };
30 
31  typedef std::shared_ptr<usb_interface> rs_usb_interface;
32  }
33 }
std::shared_ptr< usb_interface > rs_usb_interface
Definition: usb-interface.h:31
unsigned char uint8_t
Definition: stdint.h:78
direction
Definition: rs-align.cpp:25
virtual const std::vector< rs_usb_endpoint > get_endpoints() const =0
enum librealsense::platform::_endpoint_direction endpoint_direction
virtual uint8_t get_subclass() const =0
virtual uint8_t get_number() const =0
std::shared_ptr< usb_endpoint > rs_usb_endpoint
Definition: usb-endpoint.h:24
GLenum type
virtual const rs_usb_endpoint first_endpoint(const endpoint_direction direction, const endpoint_type type=RS2_USB_ENDPOINT_BULK) const =0
enum librealsense::platform::_endpoint_type endpoint_type
virtual uint8_t get_class() const =0


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