libapogee  3.0.2865
apogee/FindDeviceUsb.h
00001 
00013 #ifndef FINDDEVICEUSB_INCLUDE_H__ 
00014 #define FINDDEVICEUSB_INCLUDE_H__ 
00015 
00016 #include <string>
00017 #include <vector>
00018 #include <stdint.h>
00019 #include "DefDllExport.h"
00020 
00021 class CamUsbIo;
00022 
00023 class DLL_EXPORT FindDeviceUsb 
00024 { 
00025     public: 
00027         virtual ~FindDeviceUsb();
00028 
00037         std::string Find();
00038 
00039     private:
00040         std::string AltaInfo( const std::string & deviceAddr );
00041         std::string AscentInfo( const std::string & deviceAddr );
00042         std::string AspenInfo( const std::string & deviceAddr );
00043 
00044         std::string MkCamInfoStr( uint16_t Id, 
00045             uint16_t FrmwrRev );
00046 
00047         std::vector< std::vector<uint16_t> > GetApgDevices();
00048         std::string CameraInfo(CamUsbIo & usbIo);
00049         bool IsDeviceAlreadyOpen( uint16_t deviceNum );
00050 }; 
00051 
00052 #endif