15 #ifndef VISIONTRANSFER_DEVICEENUMERATION_H
16 #define VISIONTRANSFER_DEVICEENUMERATION_H
19 #include "visiontransfer/common.h"
20 #include "visiontransfer/deviceinfo.h"
22 namespace visiontransfer {
30 class VT_EXPORT DeviceEnumeration {
32 typedef std::vector<DeviceInfo> DeviceList;
42 DeviceList discoverDevices() {
46 DeviceInfo* devices = getDevicesPointer(&numDevices);
47 std::vector<DeviceInfo> ret(devices, &devices[numDevices]);
60 DeviceInfo* getDevicesPointer(
int* numDevices);