Public Member Functions | List of all members
librealsense::platform::usb_messenger Class Referenceabstract

#include <usb-messenger.h>

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

Public Member Functions

virtual usb_status bulk_transfer (const rs_usb_endpoint &endpoint, uint8_t *buffer, uint32_t length, uint32_t &transferred, uint32_t timeout_ms)=0
 
virtual usb_status cancel_request (const rs_usb_request &request)=0
 
virtual usb_status control_transfer (int request_type, int request, int value, int index, uint8_t *buffer, uint32_t length, uint32_t &transferred, uint32_t timeout_ms)=0
 
virtual rs_usb_request create_request (rs_usb_endpoint endpoint)=0
 
virtual usb_status reset_endpoint (const rs_usb_endpoint &endpoint, uint32_t timeout_ms)=0
 
virtual usb_status submit_request (const rs_usb_request &request)=0
 
virtual ~usb_messenger ()=default
 

Detailed Description

Definition at line 13 of file usb-messenger.h.

Constructor & Destructor Documentation

virtual librealsense::platform::usb_messenger::~usb_messenger ( )
virtualdefault

Member Function Documentation

virtual usb_status librealsense::platform::usb_messenger::bulk_transfer ( const rs_usb_endpoint endpoint,
uint8_t buffer,
uint32_t  length,
uint32_t transferred,
uint32_t  timeout_ms 
)
pure virtual
virtual usb_status librealsense::platform::usb_messenger::cancel_request ( const rs_usb_request request)
pure virtual
virtual usb_status librealsense::platform::usb_messenger::control_transfer ( int  request_type,
int  request,
int  value,
int  index,
uint8_t buffer,
uint32_t  length,
uint32_t transferred,
uint32_t  timeout_ms 
)
pure virtual
virtual rs_usb_request librealsense::platform::usb_messenger::create_request ( rs_usb_endpoint  endpoint)
pure virtual
virtual usb_status librealsense::platform::usb_messenger::reset_endpoint ( const rs_usb_endpoint endpoint,
uint32_t  timeout_ms 
)
pure virtual
virtual usb_status librealsense::platform::usb_messenger::submit_request ( const rs_usb_request request)
pure virtual

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