#include <fusb_linux.h>
Public Member Functions | |
fusb_devhandle_linux (usb_dev_handle *udh) | |
virtual | ~fusb_devhandle_linux () |
virtual fusb_ephandle * | make_ephandle (int endpoint, bool input_p, int block_size=0, int nblocks=0) |
return an ephandle of the correct subtype | |
bool | _submit_urb (usbdevfs_urb *urb) |
bool | _cancel_urb (usbdevfs_urb *urb) |
void | _cancel_pending_rqsts (fusb_ephandle_linux *eph) |
bool | _reap (bool ok_to_block_p) |
void | _wait_for_completion () |
fusb_devhandle_linux::fusb_devhandle_linux | ( | usb_dev_handle * | udh | ) |
fusb_devhandle_linux::~fusb_devhandle_linux | ( | ) | [virtual] |
References _cancel_urb().
void fusb_devhandle_linux::_cancel_pending_rqsts | ( | fusb_ephandle_linux * | eph | ) |
bool fusb_devhandle_linux::_cancel_urb | ( | usbdevfs_urb * | urb | ) |
References fusb_devhandle::d_udh.
Referenced by _cancel_pending_rqsts(), and ~fusb_devhandle_linux().
bool fusb_devhandle_linux::_reap | ( | bool | ok_to_block_p | ) |
References fusb_ephandle_linux::completed_list_add(), and fusb_devhandle::d_udh.
Referenced by _wait_for_completion(), and fusb_ephandle_linux::stop().
bool fusb_devhandle_linux::_submit_urb | ( | usbdevfs_urb * | urb | ) |
References fusb_devhandle::d_udh.
void fusb_devhandle_linux::_wait_for_completion | ( | ) |
fusb_ephandle * fusb_devhandle_linux::make_ephandle | ( | int | endpoint, | |
bool | input_p, | |||
int | block_size = 0 , |
|||
int | nblocks = 0 | |||
) | [virtual] |