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

#include <hw-monitor.h>

Public Member Functions

 locked_transfer (std::shared_ptr< platform::command_transfer > command_transfer, uvc_sensor &uvc_ep)
 
std::vector< uint8_tsend_receive (const std::vector< uint8_t > &data, int timeout_ms=5000, bool require_response=true)
 
 ~locked_transfer ()
 

Private Attributes

std::shared_ptr< platform::command_transfer_command_transfer
 
small_heap< int, 256 > _heap
 
std::recursive_mutex _local_mtx
 
uvc_sensor_uvc_sensor_base
 

Detailed Description

Definition at line 194 of file hw-monitor.h.

Constructor & Destructor Documentation

librealsense::locked_transfer::locked_transfer ( std::shared_ptr< platform::command_transfer command_transfer,
uvc_sensor uvc_ep 
)
inline

Definition at line 197 of file hw-monitor.h.

librealsense::locked_transfer::~locked_transfer ( )
inline

Definition at line 222 of file hw-monitor.h.

Member Function Documentation

std::vector<uint8_t> librealsense::locked_transfer::send_receive ( const std::vector< uint8_t > &  data,
int  timeout_ms = 5000,
bool  require_response = true 
)
inline

Definition at line 202 of file hw-monitor.h.

Member Data Documentation

std::shared_ptr<platform::command_transfer> librealsense::locked_transfer::_command_transfer
private

Definition at line 227 of file hw-monitor.h.

small_heap<int, 256> librealsense::locked_transfer::_heap
private

Definition at line 230 of file hw-monitor.h.

std::recursive_mutex librealsense::locked_transfer::_local_mtx
private

Definition at line 229 of file hw-monitor.h.

uvc_sensor& librealsense::locked_transfer::_uvc_sensor_base
private

Definition at line 228 of file hw-monitor.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:37