| 105 | }; |
| 106 | |
| 107 | class BulkTransferPool : public TransferPool |
| 108 | { |
| 109 | public: |
| 110 | BulkTransferPool(libusb_device_handle *device_handle, unsigned char device_endpoint); |
| 111 | virtual ~BulkTransferPool(); |
| 112 | |
| 113 | void allocate(size_t num_transfers, size_t transfer_size); |
| 114 | |
| 115 | protected: |
| 116 | virtual libusb_transfer *allocateTransfer(); |
| 117 | virtual void fillTransfer(libusb_transfer *transfer); |
| 118 | virtual void processTransfer(libusb_transfer *transfer); |
| 119 | }; |
| 120 | |
| 121 | class IsoTransferPool : public TransferPool |
| 122 | { |
nothing calls this directly
no outgoing calls
no test coverage detected