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

#include <device-winusb.h>

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

Public Member Functions

virtual const std::vector< usb_descriptorget_descriptors () const override
 
virtual const usb_device_info get_info () const override
 
virtual const rs_usb_interface get_interface (uint8_t interface_number) const override
 
virtual const std::vector< rs_usb_interfaceget_interfaces () const override
 
virtual const rs_usb_messenger open (uint8_t interface_number) override
 
 usb_device_winusb (const usb_device_info &info, std::vector< std::wstring > devices_path)
 
virtual ~usb_device_winusb ()
 
- Public Member Functions inherited from librealsense::platform::usb_device
virtual ~usb_device ()=default
 

Private Member Functions

void parse_descriptor (WINUSB_INTERFACE_HANDLE handle)
 
std::vector< std::shared_ptr< usb_interface > > query_device_interfaces (const std::wstring &path)
 

Private Attributes

std::vector< usb_descriptor_descriptors
 
usb_device_info _info
 
std::vector< rs_usb_interface_interfaces
 

Detailed Description

Definition at line 29 of file device-winusb.h.

Constructor & Destructor Documentation

librealsense::platform::usb_device_winusb::usb_device_winusb ( const usb_device_info info,
std::vector< std::wstring >  devices_path 
)

Definition at line 106 of file device-winusb.cpp.

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

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

Member Function Documentation

virtual const std::vector<usb_descriptor> librealsense::platform::usb_device_winusb::get_descriptors ( ) const
inlineoverridevirtual

Implements librealsense::platform::usb_device.

Definition at line 39 of file device-winusb.h.

virtual const usb_device_info librealsense::platform::usb_device_winusb::get_info ( ) const
inlineoverridevirtual

Implements librealsense::platform::usb_device.

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

const rs_usb_interface librealsense::platform::usb_device_winusb::get_interface ( uint8_t  interface_number) const
overridevirtual

Implements librealsense::platform::usb_device.

Definition at line 116 of file device-winusb.cpp.

virtual const std::vector<rs_usb_interface> librealsense::platform::usb_device_winusb::get_interfaces ( ) const
inlineoverridevirtual

Implements librealsense::platform::usb_device.

Definition at line 36 of file device-winusb.h.

const std::shared_ptr< usb_messenger > librealsense::platform::usb_device_winusb::open ( uint8_t  interface_number)
overridevirtual

Implements librealsense::platform::usb_device.

Definition at line 125 of file device-winusb.cpp.

void librealsense::platform::usb_device_winusb::parse_descriptor ( WINUSB_INTERFACE_HANDLE  handle)
private

Definition at line 64 of file device-winusb.cpp.

std::vector< std::shared_ptr< usb_interface > > librealsense::platform::usb_device_winusb::query_device_interfaces ( const std::wstring &  path)
private

Definition at line 82 of file device-winusb.cpp.

Member Data Documentation

std::vector<usb_descriptor> librealsense::platform::usb_device_winusb::_descriptors
private

Definition at line 44 of file device-winusb.h.

usb_device_info librealsense::platform::usb_device_winusb::_info
private

Definition at line 42 of file device-winusb.h.

std::vector<rs_usb_interface> librealsense::platform::usb_device_winusb::_interfaces
private

Definition at line 43 of file device-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