|
GNU Radio 3.4.0 C++ API
|
darwin implementation of fusb_ephandle More...
#include <fusb_darwin.h>

Public Member Functions | |
| fusb_ephandle_darwin (fusb_devhandle_darwin *dh, int endpoint, bool input_p, int block_size=0, int nblocks=0) | |
| virtual | ~fusb_ephandle_darwin () |
| virtual bool | start () |
| begin streaming i/o | |
| virtual bool | stop () |
| stop streaming i/o | |
| virtual int | write (const void *buffer, int nbytes) |
| virtual int | read (void *buffer, int nbytes) |
| void | abort () |
| virtual void | wait_for_completion () |
Public Attributes | |
| UInt8 | d_pipeRef |
| UInt8 | d_transferType |
| usb_interface_t ** | d_interfaceRef |
| usb_interface_t * | d_interface |
| s_queue_ptr | d_queue |
| circular_buffer< char > * | d_buffer |
| size_t | d_bufLenBytes |
| gruel::mutex * | d_readRunning |
| gruel::mutex * | d_runBlock_mutex |
| gruel::mutex * | d_readBlock_mutex |
| gruel::condition_variable * | d_runBlock |
| gruel::condition_variable * | d_readBlock |
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.
| 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] |
| void fusb_ephandle_darwin::abort | ( | ) |
| virtual int fusb_ephandle_darwin::read | ( | void * | buffer, |
| int | nbytes | ||
| ) | [virtual] |
Implements fusb_ephandle.
| virtual bool fusb_ephandle_darwin::start | ( | ) | [virtual] |
begin streaming i/o
Implements fusb_ephandle.
| virtual bool fusb_ephandle_darwin::stop | ( | ) | [virtual] |
stop streaming i/o
Implements fusb_ephandle.
| virtual void fusb_ephandle_darwin::wait_for_completion | ( | ) | [virtual] |
Implements fusb_ephandle.
| virtual int fusb_ephandle_darwin::write | ( | const void * | buffer, |
| int | nbytes | ||
| ) | [virtual] |
nbytes if write was successfully enqueued, else -1. Will block if no free buffers available. Implements fusb_ephandle.
| usb_interface_t* fusb_ephandle_darwin::d_interface |
| usb_interface_t** fusb_ephandle_darwin::d_interfaceRef |
| gruel::condition_variable* fusb_ephandle_darwin::d_readBlock |
| gruel::mutex* fusb_ephandle_darwin::d_readBlock_mutex |
| gruel::mutex* fusb_ephandle_darwin::d_readRunning |
| gruel::condition_variable* fusb_ephandle_darwin::d_runBlock |
| gruel::mutex* fusb_ephandle_darwin::d_runBlock_mutex |