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

#include <usb-request.h>

Public Member Functions

void callback (rs_usb_request response)
 
void cancel ()
 
 usb_request_callback (std::function< void(rs_usb_request)> callback)
 
 ~usb_request_callback ()
 

Private Attributes

std::function< void(rs_usb_request)> _callback
 
std::mutex _mutex
 

Detailed Description

Definition at line 67 of file usb-request.h.

Constructor & Destructor Documentation

librealsense::platform::usb_request_callback::usb_request_callback ( std::function< void(rs_usb_request)>  callback)
inline

Definition at line 71 of file usb-request.h.

librealsense::platform::usb_request_callback::~usb_request_callback ( )
inline

Definition at line 76 of file usb-request.h.

Member Function Documentation

void librealsense::platform::usb_request_callback::callback ( rs_usb_request  response)
inline

Definition at line 86 of file usb-request.h.

void librealsense::platform::usb_request_callback::cancel ( )
inline

Definition at line 81 of file usb-request.h.

Member Data Documentation

std::function<void(rs_usb_request)> librealsense::platform::usb_request_callback::_callback
private

Definition at line 68 of file usb-request.h.

std::mutex librealsense::platform::usb_request_callback::_mutex
private

Definition at line 69 of file usb-request.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