#include <request-usbhost.h>
Public Member Functions | |
virtual int | get_actual_length () const override |
virtual void * | get_native_request () const override |
std::shared_ptr< usb_request > | get_shared () const |
void | set_active (bool state) |
void | set_shared (const std::shared_ptr< usb_request > &shared) |
usb_request_usbhost (rs_usb_device device, rs_usb_endpoint endpoint) | |
virtual | ~usb_request_usbhost () |
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 void * | get_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_t * | get_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 | |
bool | _active = false |
std::shared_ptr<::usb_request > | _native_request |
std::weak_ptr< usb_request > | _shared |
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 |
Definition at line 15 of file request-usbhost.h.
librealsense::platform::usb_request_usbhost::usb_request_usbhost | ( | rs_usb_device | device, |
rs_usb_endpoint | endpoint | ||
) |
Definition at line 12 of file request-usbhost.cpp.
|
virtual |
Definition at line 29 of file request-usbhost.cpp.
|
overridevirtual |
Implements librealsense::platform::usb_request.
Definition at line 54 of file request-usbhost.cpp.
|
overrideprotectedvirtual |
Implements librealsense::platform::usb_request.
Definition at line 64 of file request-usbhost.cpp.
|
overrideprotectedvirtual |
Implements librealsense::platform::usb_request.
Definition at line 44 of file request-usbhost.cpp.
|
overridevirtual |
Implements librealsense::platform::usb_request.
Definition at line 69 of file request-usbhost.cpp.
std::shared_ptr< usb_request > librealsense::platform::usb_request_usbhost::get_shared | ( | ) | const |
Definition at line 74 of file request-usbhost.cpp.
void librealsense::platform::usb_request_usbhost::set_active | ( | bool | state | ) |
Definition at line 39 of file request-usbhost.cpp.
|
overrideprotectedvirtual |
Implements librealsense::platform::usb_request.
Definition at line 59 of file request-usbhost.cpp.
|
overrideprotectedvirtual |
Implements librealsense::platform::usb_request.
Definition at line 49 of file request-usbhost.cpp.
void librealsense::platform::usb_request_usbhost::set_shared | ( | const std::shared_ptr< usb_request > & | shared | ) |
Definition at line 79 of file request-usbhost.cpp.
|
private |
Definition at line 35 of file request-usbhost.h.
|
private |
Definition at line 37 of file request-usbhost.h.
|
private |
Definition at line 36 of file request-usbhost.h.