#include <USBDevice.hpp>
Public Member Functions | |
USBDevice (int productID, int deviceIndex) | |
virtual | ~USBDevice () |
virtual std::ostream & | print (std::ostream &out) |
int | getDeviceIndex () const |
int | getProductID () const |
const std::string & | getName () const |
__uint64_t | getSerialNumber () const |
int | getCommTimeout () const |
USBDevice & | setCommTimeout (int timeout) |
USBDevice & | reset () |
USBDevice & | customEEPROMWrite (int address, const UCharArray &data) |
UCharArray | customEEPROMRead (int address, int numBytes) |
Static Public Attributes | |
static const int | CUSTOM_EEPROM_SIZE = 0x200 |
Protected Member Functions | |
USBDevice & | clearFIFO (int method) |
USBDevice & | setMiscClock (double clockHz) |
Protected Attributes | |
int | deviceIndex |
int | productID |
std::string | name |
__uint64_t | serialNumber |
Friends | |
class | DIOStreamSubsystem |
class | AnalogInputSubsystem |
AIOUSB::USBDevice::USBDevice | ( | int | productID, | |
int | deviceIndex | |||
) |
AIOUSB::USBDevice::~USBDevice | ( | ) | [virtual] |
USBDevice & AIOUSB::USBDevice::clearFIFO | ( | int | method | ) | [protected] |
USBDevice & AIOUSB::USBDevice::setMiscClock | ( | double | clockHz | ) | [protected] |
virtual std::ostream& AIOUSB::USBDevice::print | ( | std::ostream & | out | ) | [virtual] |
int AIOUSB::USBDevice::getDeviceIndex | ( | ) | const [inline] |
int AIOUSB::USBDevice::getProductID | ( | ) | const [inline] |
const std::string& AIOUSB::USBDevice::getName | ( | ) | const [inline] |
__uint64_t AIOUSB::USBDevice::getSerialNumber | ( | ) | const [inline] |
int AIOUSB::USBDevice::getCommTimeout | ( | ) | const |
USBDevice & AIOUSB::USBDevice::setCommTimeout | ( | int | timeout | ) |
USBDevice & AIOUSB::USBDevice::reset | ( | ) |
USBDevice & AIOUSB::USBDevice::customEEPROMWrite | ( | int | address, | |
const UCharArray & | data | |||
) |
UCharArray AIOUSB::USBDevice::customEEPROMRead | ( | int | address, | |
int | numBytes | |||
) |
friend class DIOStreamSubsystem [friend] |
friend class AnalogInputSubsystem [friend] |
const int AIOUSB::USBDevice::CUSTOM_EEPROM_SIZE = 0x200 [static] |
int AIOUSB::USBDevice::deviceIndex [protected] |
int AIOUSB::USBDevice::productID [protected] |
std::string AIOUSB::USBDevice::name [protected] |
__uint64_t AIOUSB::USBDevice::serialNumber [protected] |