usbp.h

Go to the documentation of this file.
00001 
00031 #ifndef __USBP_H__
00032 #define __USBP_H__
00033 
00034 #include <string>
00035 #include "usbp_iusb_driver.h"
00036 #include "usbp_iusb_device.h"
00037 #include "usbp_iusb_fpga.h"
00038 
00039 using namespace std;
00040 
00041 
00045 class USBP
00046 {
00047   
00048  private:
00049 
00050  protected:
00051   
00052  public:
00053   iUSB_Driver     *UsbD;      
00054   iUSB_FPGA       *UsbFpga;   
00055   iUSB_Device     *UsbDevice; 
00056 
00057   int iVid, iPid;             
00058   int rVid, rPid;             
00059 
00061   USBP(){
00062     UsbD      = NULL;
00063     UsbFpga   = NULL;
00064     UsbDevice = NULL;
00065   }
00066   
00068   virtual ~USBP(){
00069     ;
00070   }
00071   
00073   int init(int vid, int pid);
00074   
00075 };
00076 
00077 
00078 #endif
00079 

Generated on Mon Mar 5 20:44:19 2007 for usbp by  doxygen 1.5.1-p1