libapogee  3.0.3234
FindDeviceUsb.h
1 
13 #ifndef FINDDEVICEUSB_INCLUDE_H__
14 #define FINDDEVICEUSB_INCLUDE_H__
15 
16 #include <string>
17 #include <vector>
18 #include <stdint.h>
19 #include "DefDllExport.h"
20 
21 class CamUsbIo;
22 
23 class DLL_EXPORT FindDeviceUsb
24 {
25  public:
27  virtual ~FindDeviceUsb();
28 
37  std::string Find();
38 
39  private:
40  std::string AltaInfo( const std::string & deviceAddr );
41  std::string AscentInfo( const std::string & deviceAddr );
42  std::string AspenInfo( const std::string & deviceAddr );
43 
44  std::string MkCamInfoStr( uint16_t Id,
45  uint16_t FrmwrRev );
46 
47  std::vector< std::vector<uint16_t> > GetApgDevices();
48  std::string CameraInfo(CamUsbIo & usbIo);
49  bool IsDeviceAlreadyOpen( uint16_t deviceNum );
50 };
51 
52 #endif
Searches usb bus for apogee devices.
Definition: FindDeviceUsb.h:23