FEUSBDemoDlg.h
Go to the documentation of this file.
00001 #ifndef FEUSBDEMODLG_H
00002 #define FEUSBDEMODLG_H
00003 
00004 #include <QtGui>
00005 #include "ui_FEUSBDemoDlg.h"
00006 #include "../../../../feusb-lib/include/feusb.h"
00007 #include "../../../../fedm-classlib/src/FedmIscCore.h"
00008 
00009 typedef unsigned long DWORD;
00010 
00011 class QMenu;
00012 class QSignalMapper;
00013 
00014 class FEUSBDemoDlg : public QMainWindow
00015 {
00016     Q_OBJECT
00017 
00018     QSignalMapper *mapper;
00019 
00020     public:
00021         FEUSBDemoDlg();
00022         ~FEUSBDemoDlg();
00023         static FEUSBDemoDlg* setGetClassInstance(FEUSBDemoDlg* classInstance);
00024         
00025     signals:
00026         void onConnect(int i, unsigned int k);
00027         void onDisconnect(int i, unsigned int k);
00028         
00029     public slots:
00030         // Scan functions
00031         void scanButtonClicked();
00032         void scanAndOpenButtonClicked();
00033         void getScanListParaButtonClicked();
00034         void getScanListSizeButtonClicked();
00035         void clearScanListButtonClicked();
00036         //Device functions
00037         void openDeviceButtonClicked();
00038         void closeDeviceButtonClicked();
00039         void getDeviceParaButtonClicked();
00040         void setDeviceParaButtonClicked();
00041         void transceiveButtonClicked();
00042         void getDeviceListButtonClicked();
00043         void getDeviceHandleButtonClicked();
00044         void isDevicePresentButtonClicked();
00045         // callbacks, called indirectly by the helper functions below
00046         void connectEvent(int i, unsigned int k);
00047         void disconnectEvent(int i, unsigned int k);
00048         // static helper functions for the callbacks above. called by feusb
00049         static void connectEventHelper(int i, unsigned int k);
00050         static void disconnectEventHelper(int i, unsigned int k);
00051         // NULL
00052         void versionButtonClicked();
00053                 
00054     private:
00055         Ui::FEUSBDemoDlg ui;
00056         void buildScanList();
00057         void scan(bool bOpen);
00058         FEUSB_SCANSEARCH m_SearchOpt;
00059         int     m_iScanOpt;     
00060 };
00061 
00062 #endif


rfid_drivers
Author(s): Raul Perula-Martinez
autogenerated on Thu Apr 2 2015 03:06:14