#include <fusb.h>
Inheritance diagram for fusb_ephandle:

Public Member Functions | |
| fusb_ephandle (int endpoint, bool input_p, int block_size=0, int nblocks=0) | |
| virtual | ~fusb_ephandle () |
| virtual bool | start ()=0 |
| begin streaming i/o | |
| virtual bool | stop ()=0 |
| stop streaming i/o | |
| virtual int | write (const void *buffer, int nbytes)=0 |
| virtual int | read (void *buffer, int nbytes)=0 |
| virtual void | wait_for_completion ()=0 |
| int | block_size () |
| returns current block size. | |
Protected Attributes | |
| int | d_endpoint |
| bool | d_input_p |
| int | d_block_size |
| int | d_nblocks |
| bool | d_started |
|
||||||||||||||||||||
|
|
|
|
|
|
|
returns current block size.
|
|
||||||||||||
|
Implemented in fusb_ephandle_darwin, fusb_ephandle_generic, fusb_ephandle_linux, fusb_ephandle_ra_wb, and fusb_ephandle_win32. |
|
|
begin streaming i/o
Implemented in fusb_ephandle_darwin, fusb_ephandle_generic, fusb_ephandle_linux, fusb_ephandle_ra_wb, and fusb_ephandle_win32. |
|
|
stop streaming i/o
Implemented in fusb_ephandle_darwin, fusb_ephandle_generic, fusb_ephandle_linux, fusb_ephandle_ra_wb, and fusb_ephandle_win32. |
|
|
Implemented in fusb_ephandle_darwin, fusb_ephandle_generic, fusb_ephandle_linux, fusb_ephandle_ra_wb, and fusb_ephandle_win32. |
|
||||||||||||
|
Implemented in fusb_ephandle_darwin, fusb_ephandle_generic, fusb_ephandle_linux, fusb_ephandle_ra_wb, and fusb_ephandle_win32. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.6