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

#include <device-usbhost.h>

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

Public Member Functions

usb_status cancel_request (const rs_usb_request &request)
 
virtual const std::vector< usb_descriptorget_descriptors () const override
 
int get_file_descriptor ()
 
::usb_deviceget_handle ()
 
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
 
const std::vector< usb_device_infoget_subdevices_info () const
 
virtual const rs_usb_messenger open (uint8_t interface_number) override
 
usb_status submit_request (const rs_usb_request &request)
 
 usb_device_usbhost (::usb_device *handle)
 
virtual ~usb_device_usbhost ()
 
- Public Member Functions inherited from librealsense::platform::usb_device
virtual ~usb_device ()=default
 

Private Member Functions

void invoke ()
 

Private Attributes

std::vector< usb_descriptor_descriptors
 
std::shared_ptr< dispatcher_dispatcher
 
std::map< uint8_t, std::shared_ptr< dispatcher > > _dispatchers
 
::usb_device_handle
 
std::vector< usb_device_info_infos
 
std::vector< rs_usb_interface_interfaces
 
std::mutex _mutex
 
const usb_device_descriptor * _usb_device_descriptor
 

Detailed Description

Definition at line 40 of file device-usbhost.h.

Constructor & Destructor Documentation

librealsense::platform::usb_device_usbhost::usb_device_usbhost ( ::usb_device handle)
virtual librealsense::platform::usb_device_usbhost::~usb_device_usbhost ( )
virtual

Member Function Documentation

usb_status librealsense::platform::usb_device_usbhost::cancel_request ( const rs_usb_request request)
virtual const std::vector<usb_descriptor> librealsense::platform::usb_device_usbhost::get_descriptors ( ) const
overridevirtual
int librealsense::platform::usb_device_usbhost::get_file_descriptor ( )
inline

Definition at line 53 of file device-usbhost.h.

::usb_device* librealsense::platform::usb_device_usbhost::get_handle ( )
inline

Definition at line 52 of file device-usbhost.h.

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

Implements librealsense::platform::usb_device.

Definition at line 46 of file device-usbhost.h.

virtual const rs_usb_interface librealsense::platform::usb_device_usbhost::get_interface ( uint8_t  interface_number) const
overridevirtual
virtual const std::vector<rs_usb_interface> librealsense::platform::usb_device_usbhost::get_interfaces ( ) const
inlineoverridevirtual

Implements librealsense::platform::usb_device.

Definition at line 47 of file device-usbhost.h.

const std::vector<usb_device_info> librealsense::platform::usb_device_usbhost::get_subdevices_info ( ) const
inline

Definition at line 54 of file device-usbhost.h.

void librealsense::platform::usb_device_usbhost::invoke ( )
private
virtual const rs_usb_messenger librealsense::platform::usb_device_usbhost::open ( uint8_t  interface_number)
overridevirtual
usb_status librealsense::platform::usb_device_usbhost::submit_request ( const rs_usb_request request)

Member Data Documentation

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

Definition at line 63 of file device-usbhost.h.

std::shared_ptr<dispatcher> librealsense::platform::usb_device_usbhost::_dispatcher
private

Definition at line 66 of file device-usbhost.h.

std::map<uint8_t,std::shared_ptr<dispatcher> > librealsense::platform::usb_device_usbhost::_dispatchers
private

Definition at line 67 of file device-usbhost.h.

::usb_device* librealsense::platform::usb_device_usbhost::_handle
private

Definition at line 59 of file device-usbhost.h.

std::vector<usb_device_info> librealsense::platform::usb_device_usbhost::_infos
private

Definition at line 61 of file device-usbhost.h.

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

Definition at line 62 of file device-usbhost.h.

std::mutex librealsense::platform::usb_device_usbhost::_mutex
private

Definition at line 65 of file device-usbhost.h.

const usb_device_descriptor* librealsense::platform::usb_device_usbhost::_usb_device_descriptor
private

Definition at line 60 of file device-usbhost.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