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

#include <request-usbhost.h>

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

Public Member Functions

virtual int get_actual_length () const override
 
virtual voidget_native_request () const override
 
std::shared_ptr< usb_requestget_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 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

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
 

Detailed Description

Definition at line 15 of file request-usbhost.h.

Constructor & Destructor Documentation

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.

librealsense::platform::usb_request_usbhost::~usb_request_usbhost ( )
virtual

Definition at line 29 of file request-usbhost.cpp.

Member Function Documentation

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

Implements librealsense::platform::usb_request.

Definition at line 54 of file request-usbhost.cpp.

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

Implements librealsense::platform::usb_request.

Definition at line 64 of file request-usbhost.cpp.

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

Implements librealsense::platform::usb_request.

Definition at line 44 of file request-usbhost.cpp.

void * librealsense::platform::usb_request_usbhost::get_native_request ( ) const
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.

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

Implements librealsense::platform::usb_request.

Definition at line 59 of file request-usbhost.cpp.

void librealsense::platform::usb_request_usbhost::set_native_buffer_length ( int  length)
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.

Member Data Documentation

bool librealsense::platform::usb_request_usbhost::_active = false
private

Definition at line 35 of file request-usbhost.h.

std::shared_ptr<::usb_request> librealsense::platform::usb_request_usbhost::_native_request
private

Definition at line 37 of file request-usbhost.h.

std::weak_ptr<usb_request> librealsense::platform::usb_request_usbhost::_shared
private

Definition at line 36 of file request-usbhost.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