#include <indiusbdevice.h>
|
int | WriteInterrupt (unsigned char *, int, int) |
|
int | ReadInterrupt (unsigned char *, int, int) |
|
int | WriteBulk (unsigned char *buf, int nbytes, int timeout) |
|
int | ReadBulk (unsigned char *buf, int nbytes, int timeout) |
|
int | ControlMessage (unsigned char request_type, unsigned char request, unsigned int value, unsigned int index, unsigned char *data, unsigned char len) |
|
int | FindEndpoints () |
|
int | Open () |
|
void | Close () |
|
| USBDevice () |
|
| USBDevice (libusb_device *dev) |
|
virtual | ~USBDevice () |
|
int | WriteInterrupt (unsigned char *, int, int) |
|
int | ReadInterrupt (unsigned char *, int, int) |
|
int | WriteBulk (unsigned char *buf, int nbytes, int timeout) |
|
int | ReadBulk (unsigned char *buf, int nbytes, int timeout) |
|
int | ControlMessage (unsigned char request_type, unsigned char request, unsigned int value, unsigned int index, unsigned char *data, unsigned char len) |
|
int | FindEndpoints () |
|
int | Open () |
|
void | Close () |
|
| USBDevice () |
|
| USBDevice (libusb_device *dev) |
|
virtual | ~USBDevice () |
|
◆ USBDevice() [1/4]
◆ USBDevice() [2/4]
INDI::USBDevice::USBDevice |
( |
libusb_device * |
dev | ) |
|
◆ ~USBDevice() [1/2]
USBDevice::~USBDevice |
( |
| ) |
|
|
virtual |
◆ USBDevice() [3/4]
INDI::USBDevice::USBDevice |
( |
| ) |
|
◆ USBDevice() [4/4]
INDI::USBDevice::USBDevice |
( |
libusb_device * |
dev | ) |
|
◆ ~USBDevice() [2/2]
virtual INDI::USBDevice::~USBDevice |
( |
| ) |
|
|
virtual |
◆ Close() [1/2]
void USBDevice::Close |
( |
| ) |
|
◆ Close() [2/2]
void INDI::USBDevice::Close |
( |
| ) |
|
◆ ControlMessage() [1/2]
int USBDevice::ControlMessage |
( |
unsigned char |
request_type, |
|
|
unsigned char |
request, |
|
|
unsigned int |
value, |
|
|
unsigned int |
index, |
|
|
unsigned char * |
data, |
|
|
unsigned char |
len |
|
) |
| |
◆ ControlMessage() [2/2]
int INDI::USBDevice::ControlMessage |
( |
unsigned char |
request_type, |
|
|
unsigned char |
request, |
|
|
unsigned int |
value, |
|
|
unsigned int |
index, |
|
|
unsigned char * |
data, |
|
|
unsigned char |
len |
|
) |
| |
◆ FindDevice() [1/2]
libusb_device* INDI::USBDevice::FindDevice |
( |
int |
, |
|
|
int |
, |
|
|
int |
|
|
) |
| |
|
protected |
◆ FindDevice() [2/2]
libusb_device * USBDevice::FindDevice |
( |
int |
vendor, |
|
|
int |
product, |
|
|
int |
searchindex |
|
) |
| |
|
protected |
◆ FindEndpoints() [1/2]
int INDI::USBDevice::FindEndpoints |
( |
| ) |
|
◆ FindEndpoints() [2/2]
int USBDevice::FindEndpoints |
( |
| ) |
|
◆ Open() [1/2]
◆ Open() [2/2]
int INDI::USBDevice::Open |
( |
| ) |
|
◆ ReadBulk() [1/2]
int USBDevice::ReadBulk |
( |
unsigned char * |
buf, |
|
|
int |
nbytes, |
|
|
int |
timeout |
|
) |
| |
◆ ReadBulk() [2/2]
int INDI::USBDevice::ReadBulk |
( |
unsigned char * |
buf, |
|
|
int |
nbytes, |
|
|
int |
timeout |
|
) |
| |
◆ ReadInterrupt() [1/2]
int INDI::USBDevice::ReadInterrupt |
( |
unsigned char * |
, |
|
|
int |
, |
|
|
int |
|
|
) |
| |
◆ ReadInterrupt() [2/2]
int USBDevice::ReadInterrupt |
( |
unsigned char * |
buf, |
|
|
int |
count, |
|
|
int |
timeout |
|
) |
| |
◆ WriteBulk() [1/2]
int USBDevice::WriteBulk |
( |
unsigned char * |
buf, |
|
|
int |
nbytes, |
|
|
int |
timeout |
|
) |
| |
◆ WriteBulk() [2/2]
int INDI::USBDevice::WriteBulk |
( |
unsigned char * |
buf, |
|
|
int |
nbytes, |
|
|
int |
timeout |
|
) |
| |
◆ WriteInterrupt() [1/2]
int USBDevice::WriteInterrupt |
( |
unsigned char * |
buf, |
|
|
int |
count, |
|
|
int |
timeout |
|
) |
| |
◆ WriteInterrupt() [2/2]
int INDI::USBDevice::WriteInterrupt |
( |
unsigned char * |
, |
|
|
int |
, |
|
|
int |
|
|
) |
| |
◆ dev
libusb_device * USBDevice::dev |
|
protected |
◆ InputEndpoint
int USBDevice::InputEndpoint |
|
protected |
◆ InputType
◆ OutputEndpoint
int USBDevice::OutputEndpoint |
|
protected |
◆ OutputType
int USBDevice::OutputType |
|
protected |
◆ ProductId
◆ usb_handle
◆ VendorId
The documentation for this class was generated from the following files: