BAOS SDK
18.2.0
|
Finds all available USB BAOS devices. More...
#include <BaosEnumerator.h>
Public Types | |
typedef kdrive::utility::PropertyCollection | Device |
typedef std::vector< Device > | Devices |
Public Member Functions | |
BaosUsbEnumerator (bool autoScan=true) | |
Creates a Baos Enumerator. More... | |
~BaosUsbEnumerator () | |
Destroys the BaosUsbEnumerator. More... | |
const Devices & | scan () |
Searches for usb baos devices. More... | |
const Devices & | getDevices () const |
Returns the list of found devices. More... | |
Static Public Member Functions | |
static unsigned int | getUsbVendorId (const Device &device) |
Returns the USB device vendor ID. More... | |
static unsigned int | getUsbProductId (const Device &device) |
Returns the USB device product ID. More... | |
static std::string | getUsbManufacturerString (const Device &device) |
Returns the USB manufacturer string. More... | |
static std::string | getUsbProductString (const Device &device) |
Returns the USB product string. More... | |
static std::string | getUsbSerialNumberString (const Device &device) |
Returns the USB serial number string. More... | |
Finds all available USB BAOS devices.
typedef kdrive::utility::PropertyCollection kdrive::baos::BaosUsbEnumerator::Device |
typedef std::vector<Device> kdrive::baos::BaosUsbEnumerator::Devices |
BaosUsbEnumerator::BaosUsbEnumerator | ( | bool | autoScan = true | ) |
Creates a Baos Enumerator.
If autoScan is true it will automatically scan If false, you will have to explicitly run scan
BaosUsbEnumerator::~BaosUsbEnumerator | ( | ) |
Destroys the BaosUsbEnumerator.
const BaosUsbEnumerator::Devices & BaosUsbEnumerator::getDevices | ( | ) | const |
Returns the list of found devices.
|
static |
Returns the USB manufacturer string.
|
static |
Returns the USB device product ID.
|
static |
Returns the USB product string.
|
static |
Returns the USB serial number string.
|
static |
Returns the USB device vendor ID.
const BaosUsbEnumerator::Devices & BaosUsbEnumerator::scan | ( | ) |
Searches for usb baos devices.