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

#include <handle-winusb.h>

Public Member Functions

const std::map< int, USB_INTERFACE_DESCRIPTOR > get_descriptors ()
 
const HANDLE get_device_handle ()
 
const WINUSB_INTERFACE_HANDLE get_first_interface ()
 
const std::map< int, WINUSB_INTERFACE_HANDLE > get_handles ()
 
const WINUSB_INTERFACE_HANDLE get_interface_handle (uint8_t interface_number)
 
usb_status open (const std::wstring &path, uint32_t timeout_ms=1000)
 
 ~handle_winusb ()
 

Private Attributes

std::map< int, USB_INTERFACE_DESCRIPTOR > _descriptors
 
HANDLE _device_handle = INVALID_HANDLE_VALUE
 
std::map< int, WINUSB_INTERFACE_HANDLE > _handles
 

Detailed Description

Definition at line 30 of file handle-winusb.h.

Constructor & Destructor Documentation

librealsense::platform::handle_winusb::~handle_winusb ( )
inline

Definition at line 93 of file handle-winusb.h.

Member Function Documentation

const std::map<int, USB_INTERFACE_DESCRIPTOR> librealsense::platform::handle_winusb::get_descriptors ( )
inline

Definition at line 105 of file handle-winusb.h.

const HANDLE librealsense::platform::handle_winusb::get_device_handle ( )
inline

Definition at line 103 of file handle-winusb.h.

const WINUSB_INTERFACE_HANDLE librealsense::platform::handle_winusb::get_first_interface ( )
inline

Definition at line 107 of file handle-winusb.h.

const std::map<int, WINUSB_INTERFACE_HANDLE> librealsense::platform::handle_winusb::get_handles ( )
inline

Definition at line 104 of file handle-winusb.h.

const WINUSB_INTERFACE_HANDLE librealsense::platform::handle_winusb::get_interface_handle ( uint8_t  interface_number)
inline

Definition at line 108 of file handle-winusb.h.

usb_status librealsense::platform::handle_winusb::open ( const std::wstring &  path,
uint32_t  timeout_ms = 1000 
)
inline

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

Member Data Documentation

std::map<int, USB_INTERFACE_DESCRIPTOR> librealsense::platform::handle_winusb::_descriptors
private

Definition at line 118 of file handle-winusb.h.

HANDLE librealsense::platform::handle_winusb::_device_handle = INVALID_HANDLE_VALUE
private

Definition at line 116 of file handle-winusb.h.

std::map<int,WINUSB_INTERFACE_HANDLE> librealsense::platform::handle_winusb::_handles
private

Definition at line 117 of file handle-winusb.h.


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


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