libusb1 implementation of fusb_ephandle
More...
#include <fusb_libusb1.h>
List of all members.
Detailed Description
libusb1 implementation of fusb_ephandle
Constructor & Destructor Documentation
fusb_ephandle_libusb1::fusb_ephandle_libusb1 |
( |
fusb_devhandle_libusb1 * |
dh, |
|
|
int |
endpoint, |
|
|
bool |
input_p, |
|
|
int |
block_size = 0 , |
|
|
int |
nblocks = 0 |
|
) |
| |
virtual fusb_ephandle_libusb1::~fusb_ephandle_libusb1 |
( |
| ) |
[virtual] |
Member Function Documentation
void fusb_ephandle_libusb1::completed_list_add |
( |
struct libusb_transfer * |
lut | ) |
|
struct libusb_transfer* fusb_ephandle_libusb1::completed_list_get |
( |
| ) |
[read] |
void fusb_ephandle_libusb1::free_list_add |
( |
struct libusb_transfer * |
lut | ) |
|
struct libusb_transfer* fusb_ephandle_libusb1::free_list_get |
( |
| ) |
[read] |
virtual int fusb_ephandle_libusb1::read |
( |
void * |
buffer, |
|
|
int |
nbytes |
|
) |
| [virtual] |
- Returns:
- number of bytes read or -1 if error. number of bytes read will be <= nbytes. Will block if no input available.
Implements fusb_ephandle.
virtual bool fusb_ephandle_libusb1::start |
( |
| ) |
[virtual] |
virtual bool fusb_ephandle_libusb1::stop |
( |
| ) |
[virtual] |
virtual void fusb_ephandle_libusb1::wait_for_completion |
( |
| ) |
[virtual] |
virtual int fusb_ephandle_libusb1::write |
( |
const void * |
buffer, |
|
|
int |
nbytes |
|
) |
| [virtual] |
- Returns:
nbytes
if write was successfully enqueued, else -1. Will block if no free buffers available.
Implements fusb_ephandle.
The documentation for this class was generated from the following file: