fusb_ephandle_darwin Class Reference
darwin implementation of fusb_ephandle
More...
#include <fusb_darwin.h>
List of all members.
Detailed Description
darwin implementation of fusb_ephandle
This is currently identical to the generic implementation and is intended as a starting point for whatever magic is required to make usb fly.
Constructor & Destructor Documentation
fusb_ephandle_darwin::fusb_ephandle_darwin |
( |
fusb_devhandle_darwin * |
dh, |
|
|
int |
endpoint, |
|
|
bool |
input_p, |
|
|
int |
block_size = 0 , |
|
|
int |
nblocks = 0 | |
|
) |
| | |
virtual fusb_ephandle_darwin::~fusb_ephandle_darwin |
( |
|
) |
[virtual] |
Member Function Documentation
void fusb_ephandle_darwin::abort |
( |
|
) |
|
virtual int fusb_ephandle_darwin::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_darwin::start |
( |
|
) |
[virtual] |
virtual bool fusb_ephandle_darwin::stop |
( |
|
) |
[virtual] |
virtual void fusb_ephandle_darwin::wait_for_completion |
( |
|
) |
[virtual] |
virtual int fusb_ephandle_darwin::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.
Member Data Documentation
The documentation for this class was generated from the following file: