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

#include <interface-libusb.h>

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

Public Member Functions

void add_associated_interface (const rs_usb_interface &interface)
 
virtual const rs_usb_endpoint first_endpoint (const endpoint_direction direction, const endpoint_type type=RS2_USB_ENDPOINT_BULK) const override
 
virtual const std::vector< rs_usb_interfaceget_associated_interfaces () const
 
virtual uint8_t get_class () const override
 
virtual const std::vector< rs_usb_endpointget_endpoints () const override
 
virtual uint8_t get_number () const override
 
virtual uint8_t get_subclass () const override
 
 usb_interface_libusb (libusb_interface inf)
 
virtual ~usb_interface_libusb () override
 
- Public Member Functions inherited from librealsense::platform::usb_interface
 usb_interface ()=default
 
virtual ~usb_interface ()=default
 

Private Attributes

std::vector< rs_usb_interface_associated_interfaces
 
libusb_interface_descriptor _desc
 
std::vector< std::shared_ptr< usb_endpoint > > _endpoints
 

Detailed Description

Definition at line 16 of file interface-libusb.h.

Constructor & Destructor Documentation

librealsense::platform::usb_interface_libusb::usb_interface_libusb ( libusb_interface  inf)

Definition at line 12 of file interface-libusb.cpp.

librealsense::platform::usb_interface_libusb::~usb_interface_libusb ( )
overridevirtual

Definition at line 22 of file interface-libusb.cpp.

Member Function Documentation

void librealsense::platform::usb_interface_libusb::add_associated_interface ( const rs_usb_interface interface)

Definition at line 40 of file interface-libusb.cpp.

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

Implements librealsense::platform::usb_interface.

Definition at line 27 of file interface-libusb.cpp.

virtual const std::vector<rs_usb_interface> librealsense::platform::usb_interface_libusb::get_associated_interfaces ( ) const
inlinevirtual

Definition at line 28 of file interface-libusb.h.

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

Implements librealsense::platform::usb_interface.

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

virtual const std::vector<rs_usb_endpoint> librealsense::platform::usb_interface_libusb::get_endpoints ( ) const
inlineoverridevirtual

Implements librealsense::platform::usb_interface.

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

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

Implements librealsense::platform::usb_interface.

Definition at line 23 of file interface-libusb.h.

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

Implements librealsense::platform::usb_interface.

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

Member Data Documentation

std::vector<rs_usb_interface> librealsense::platform::usb_interface_libusb::_associated_interfaces
private

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

libusb_interface_descriptor librealsense::platform::usb_interface_libusb::_desc
private

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

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

Definition at line 34 of file interface-libusb.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