AIOUSB::USBDevice Class Reference

#include <USBDevice.hpp>

Inheritance diagram for AIOUSB::USBDevice:

AIOUSB::USB_AI16_Family AIOUSB::USB_AO16_Family AIOUSB::USB_CTR_15_Family AIOUSB::USB_DIO_16_Family AIOUSB::USB_DIO_32_Family AIOUSB::USB_DIO_Family

List of all members.

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
USBDevicesetCommTimeout (int timeout)
USBDevicereset ()
USBDevicecustomEEPROMWrite (int address, const UCharArray &data)
UCharArray customEEPROMRead (int address, int numBytes)

Static Public Attributes

static const int CUSTOM_EEPROM_SIZE = 0x200

Protected Member Functions

USBDeviceclearFIFO (int method)
USBDevicesetMiscClock (double clockHz)

Protected Attributes

int deviceIndex
int productID
std::string name
__uint64_t serialNumber

Friends

class DIOStreamSubsystem
class AnalogInputSubsystem


Constructor & Destructor Documentation

AIOUSB::USBDevice::USBDevice ( int  productID,
int  deviceIndex 
)

AIOUSB::USBDevice::~USBDevice (  )  [virtual]


Member Function Documentation

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 
)


Friends And Related Function Documentation

friend class DIOStreamSubsystem [friend]

friend class AnalogInputSubsystem [friend]


Member Data Documentation

const int AIOUSB::USBDevice::CUSTOM_EEPROM_SIZE = 0x200 [static]

std::string AIOUSB::USBDevice::name [protected]

__uint64_t AIOUSB::USBDevice::serialNumber [protected]


The documentation for this class was generated from the following files:

Generated on Mon Nov 30 16:07:22 2009 for AIOUSB C++ Class Library Reference by  doxygen 1.5.6