Public Member Functions | Private Attributes | List of all members
librealsense::platform::usb_interface_winusb Class Reference

#include <interface-winusb.h>

Inheritance diagram for librealsense::platform::usb_interface_winusb:
Inheritance graph
[legend]

Public Member Functions

virtual const rs_usb_endpoint first_endpoint (const endpoint_direction direction, const endpoint_type type=RS2_USB_ENDPOINT_BULK) const override
 
virtual uint8_t get_class () const override
 
const std::wstring get_device_path ()
 
virtual const std::vector< std::shared_ptr< usb_endpoint > > get_endpoints () const override
 
virtual uint8_t get_number () const override
 
virtual uint8_t get_subclass () const override
 
 usb_interface_winusb (WINUSB_INTERFACE_HANDLE handle, USB_INTERFACE_DESCRIPTOR info, const std::wstring &device_path)
 
virtual ~usb_interface_winusb ()
 
- Public Member Functions inherited from librealsense::platform::usb_interface
 usb_interface ()=default
 
virtual ~usb_interface ()=default
 

Private Attributes

std::wstring _device_path
 
std::vector< std::shared_ptr< usb_endpoint > > _endpoints
 
USB_INTERFACE_DESCRIPTOR _info
 

Detailed Description

Definition at line 17 of file interface-winusb.h.

Constructor & Destructor Documentation

librealsense::platform::usb_interface_winusb::usb_interface_winusb ( WINUSB_INTERFACE_HANDLE  handle,
USB_INTERFACE_DESCRIPTOR  info,
const std::wstring &  device_path 
)

Definition at line 15 of file interface-winusb.cpp.

virtual librealsense::platform::usb_interface_winusb::~usb_interface_winusb ( )
inlinevirtual

Definition at line 22 of file interface-winusb.h.

Member Function Documentation

const rs_usb_endpoint librealsense::platform::usb_interface_winusb::first_endpoint ( const endpoint_direction  direction,
const endpoint_type  type = RS2_USB_ENDPOINT_BULK 
) const
overridevirtual

Implements librealsense::platform::usb_interface.

Definition at line 45 of file interface-winusb.cpp.

virtual uint8_t librealsense::platform::usb_interface_winusb::get_class ( ) const
inlineoverridevirtual

Implements librealsense::platform::usb_interface.

Definition at line 25 of file interface-winusb.h.

const std::wstring librealsense::platform::usb_interface_winusb::get_device_path ( )
inline

Definition at line 31 of file interface-winusb.h.

virtual const std::vector<std::shared_ptr<usb_endpoint> > librealsense::platform::usb_interface_winusb::get_endpoints ( ) const
inlineoverridevirtual

Implements librealsense::platform::usb_interface.

Definition at line 27 of file interface-winusb.h.

virtual uint8_t librealsense::platform::usb_interface_winusb::get_number ( ) const
inlineoverridevirtual

Implements librealsense::platform::usb_interface.

Definition at line 24 of file interface-winusb.h.

virtual uint8_t librealsense::platform::usb_interface_winusb::get_subclass ( ) const
inlineoverridevirtual

Implements librealsense::platform::usb_interface.

Definition at line 26 of file interface-winusb.h.

Member Data Documentation

std::wstring librealsense::platform::usb_interface_winusb::_device_path
private

Definition at line 33 of file interface-winusb.h.

std::vector<std::shared_ptr<usb_endpoint> > librealsense::platform::usb_interface_winusb::_endpoints
private

Definition at line 35 of file interface-winusb.h.

USB_INTERFACE_DESCRIPTOR librealsense::platform::usb_interface_winusb::_info
private

Definition at line 34 of file interface-winusb.h.


The documentation for this class was generated from the following files:


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