Intel® RealSense™ Cross Platform API
Intel Realsense Cross-platform API
Public Member Functions | List of all members
librealsense::platform::usb_interface Class Reference

#include <win-usb.h>

Public Member Functions

 usb_interface (HANDLE &deviceHandle)
 
 ~usb_interface ()
 
void wait_for_async_op (OVERLAPPED &hOvl, ULONG &lengthTransferred, DWORD TimeOut, pipe_direction pipeDirection, bool *isExitOnTimeout) const
 
bool wait_for_async_op_interrupt (OVERLAPPED &hOvl, ULONG &lengthTransferred) const
 
bool read_pipe (unsigned char *buffer, ULONG bufferLength, PULONG lengthTransferred, LPOVERLAPPED hOvl) const
 
bool write_pipe (const unsigned char *buffer, ULONG bufferLength, PULONG lengthTransferred, LPOVERLAPPED hOvl) const
 
void reset_pipe (pipe_direction outPipe) const
 
bool read_interupt_pipe (unsigned char *buffer, ULONG bufferLength, PULONG lengthTransferred, LPOVERLAPPED hOvl) const
 
void reset_interrupt_pipe () const
 

Constructor & Destructor Documentation

§ usb_interface()

librealsense::platform::usb_interface::usb_interface ( HANDLE &  deviceHandle)
explicit

§ ~usb_interface()

librealsense::platform::usb_interface::~usb_interface ( )

Member Function Documentation

§ read_interupt_pipe()

bool librealsense::platform::usb_interface::read_interupt_pipe ( unsigned char *  buffer,
ULONG  bufferLength,
PULONG  lengthTransferred,
LPOVERLAPPED  hOvl 
) const

§ read_pipe()

bool librealsense::platform::usb_interface::read_pipe ( unsigned char *  buffer,
ULONG  bufferLength,
PULONG  lengthTransferred,
LPOVERLAPPED  hOvl 
) const

§ reset_interrupt_pipe()

void librealsense::platform::usb_interface::reset_interrupt_pipe ( ) const

§ reset_pipe()

void librealsense::platform::usb_interface::reset_pipe ( pipe_direction  outPipe) const

§ wait_for_async_op()

void librealsense::platform::usb_interface::wait_for_async_op ( OVERLAPPED &  hOvl,
ULONG &  lengthTransferred,
DWORD  TimeOut,
pipe_direction  pipeDirection,
bool *  isExitOnTimeout 
) const

§ wait_for_async_op_interrupt()

bool librealsense::platform::usb_interface::wait_for_async_op_interrupt ( OVERLAPPED &  hOvl,
ULONG &  lengthTransferred 
) const

§ write_pipe()

bool librealsense::platform::usb_interface::write_pipe ( const unsigned char *  buffer,
ULONG  bufferLength,
PULONG  lengthTransferred,
LPOVERLAPPED  hOvl 
) const

The documentation for this class was generated from the following file: