FTD2XXDeviceInfo.h

00001 /*-----------------------------------------------------------------------------
00002  * FTD2XXDeviceInfo declaration
00003  * Ionetrics 2006
00004  * John Williams
00005  * FTD2XXDeviceInfo.h
00006  *---------------------------------------------------------------------------*/
00007 
00008 #ifndef FTD2XXDEVICEINFO_H
00009 #define FTD2XXDEVICEINFO_H
00010 
00011 //-----------------------------------------------------------------------------
00012 
00013 #include <string>
00014 #include <vector>
00015 
00016 #include "AnnotatorCommApi.h"
00017 
00018 using namespace std;
00019 
00020 //-----------------------------------------------------------------------------
00021 
00022 namespace annotatorcomm
00023 {
00024 
00025 namespace ftd2xx
00026 {
00027 
00031 class ANNCOMM_API FTD2XXDeviceInfo
00032 {
00033 public:
00037         FTD2XXDeviceInfo();
00038         
00048         FTD2XXDeviceInfo(bool isOpen, int type, int id, string & serialNumber, string & description);
00049         
00055         bool isOpen() const;
00056         
00062         int getType() const;
00063         
00068         int getId() const;
00069         
00075         int getVID() const;
00076         
00082         int getPID() const;
00083         
00089         string getSerialNumber() const;
00090         
00096         string getDescription() const;
00097 
00103         string toString() const;
00104 
00105 private:
00109         bool open;
00110         
00114         int type;
00115         
00119         int id;
00120         
00124         string serialNumber;
00125         
00129         string description;
00130 };
00131 
00132 }
00133 
00134 }
00135 
00136 //-----------------------------------------------------------------------------
00137 
00138 #endif /* FTD2XXDEVICEINFO_H */

Generated on Tue Aug 1 11:14:11 2006 for libAnnotatorComm by  doxygen 1.4.7