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

#include <request-winusb.h>

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

Public Member Functions

virtual int get_actual_length () const override
 
virtual voidget_native_request () const override
 
 usb_request_winusb (rs_usb_device device, rs_usb_endpoint endpoint)
 
virtual ~usb_request_winusb ()
 
- Public Member Functions inherited from librealsense::platform::usb_request_base
virtual const std::vector< uint8_t > & get_buffer () const override
 
virtual rs_usb_request_callback get_callback () const override
 
virtual voidget_client_data () const override
 
virtual rs_usb_endpoint get_endpoint () const override
 
virtual void set_buffer (const std::vector< uint8_t > &buffer) override
 
virtual void set_callback (rs_usb_request_callback callback) override
 
virtual void set_client_data (void *data) override
 

Protected Member Functions

virtual uint8_tget_native_buffer () const override
 
virtual int get_native_buffer_length () override
 
virtual void set_native_buffer (uint8_t *buffer) override
 
virtual void set_native_buffer_length (int length) override
 

Private Attributes

std::shared_ptr< OVERLAPPED > _overlapped
 
std::shared_ptr< safe_handle_safe_handle
 

Additional Inherited Members

- Protected Attributes inherited from librealsense::platform::usb_request_base
std::vector< uint8_t_buffer
 
rs_usb_request_callback _callback
 
void_client_data
 
rs_usb_endpoint _endpoint
 
rs_usb_request request
 

Detailed Description

Definition at line 45 of file request-winusb.h.

Constructor & Destructor Documentation

librealsense::platform::usb_request_winusb::usb_request_winusb ( rs_usb_device  device,
rs_usb_endpoint  endpoint 
)

Definition at line 12 of file request-winusb.cpp.

librealsense::platform::usb_request_winusb::~usb_request_winusb ( )
virtual

Definition at line 21 of file request-winusb.cpp.

Member Function Documentation

int librealsense::platform::usb_request_winusb::get_actual_length ( ) const
overridevirtual

Implements librealsense::platform::usb_request.

Definition at line 26 of file request-winusb.cpp.

uint8_t * librealsense::platform::usb_request_winusb::get_native_buffer ( ) const
overrideprotectedvirtual

Implements librealsense::platform::usb_request.

Definition at line 46 of file request-winusb.cpp.

int librealsense::platform::usb_request_winusb::get_native_buffer_length ( )
overrideprotectedvirtual

Implements librealsense::platform::usb_request.

Definition at line 36 of file request-winusb.cpp.

void * librealsense::platform::usb_request_winusb::get_native_request ( ) const
overridevirtual

Implements librealsense::platform::usb_request.

Definition at line 51 of file request-winusb.cpp.

void librealsense::platform::usb_request_winusb::set_native_buffer ( uint8_t buffer)
overrideprotectedvirtual

Implements librealsense::platform::usb_request.

Definition at line 41 of file request-winusb.cpp.

void librealsense::platform::usb_request_winusb::set_native_buffer_length ( int  length)
overrideprotectedvirtual

Implements librealsense::platform::usb_request.

Definition at line 31 of file request-winusb.cpp.

Member Data Documentation

std::shared_ptr<OVERLAPPED> librealsense::platform::usb_request_winusb::_overlapped
private

Definition at line 61 of file request-winusb.h.

std::shared_ptr<safe_handle> librealsense::platform::usb_request_winusb::_safe_handle
private

Definition at line 62 of file request-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