usb-endpoint.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 
8 #include <memory>
9 #include <stdint.h>
10 
11 namespace librealsense
12 {
13  namespace platform
14  {
16  {
17  public:
18  virtual uint8_t get_address() const = 0;
19  virtual endpoint_type get_type() const = 0;
20  virtual endpoint_direction get_direction() const = 0;
21  virtual uint8_t get_interface_number() const = 0;
22  };
23 
24  typedef std::shared_ptr<usb_endpoint> rs_usb_endpoint;
25  }
26 }
virtual endpoint_direction get_direction() const =0
virtual uint8_t get_address() const =0
virtual uint8_t get_interface_number() const =0
unsigned char uint8_t
Definition: stdint.h:78
enum librealsense::platform::_endpoint_direction endpoint_direction
std::shared_ptr< usb_endpoint > rs_usb_endpoint
Definition: usb-endpoint.h:24
enum librealsense::platform::_endpoint_type endpoint_type
virtual endpoint_type get_type() const =0


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