Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
src
usb
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
{
15
class
usb_endpoint
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
}
librealsense::platform::usb_endpoint::get_direction
virtual endpoint_direction get_direction() const =0
librealsense::platform::usb_endpoint::get_address
virtual uint8_t get_address() const =0
librealsense::platform::usb_endpoint::get_interface_number
virtual uint8_t get_interface_number() const =0
usb-types.h
uint8_t
unsigned char uint8_t
Definition:
stdint.h:78
librealsense::platform::endpoint_direction
enum librealsense::platform::_endpoint_direction endpoint_direction
librealsense
Definition:
calibration-model.h:6
librealsense::platform::rs_usb_endpoint
std::shared_ptr< usb_endpoint > rs_usb_endpoint
Definition:
usb-endpoint.h:24
stdint.h
librealsense::platform::endpoint_type
enum librealsense::platform::_endpoint_type endpoint_type
librealsense::platform::usb_endpoint
Definition:
usb-endpoint.h:15
librealsense::platform::usb_endpoint::get_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