/******************************************************************************* * * * Société de Transports de Montréal. * * 2012 * * * * Projet Zones Tests * * * * * * * *******************************************************************************/ /* Description: Description du fichier si nécessaire. */ /* ************************************************************************** */ /* Revision: ### 20121219 JFM Verision d'origine. ### YYYYMMDD Description du besoin ou du bug Description du changement. */ /* ************************************************************************** */ #ifndef COMEDILIBINTERFACE_H #define COMEDILIBINTERFACE_H #include "GlobalDefine.h" #include "PCI1756Definitions.h" #include #include "PCIIOMgr.h" #include class CComediLibInterface : public CPCIIOMgr { public: CComediLibInterface(); ~CComediLibInterface(); virtual unsigned int OpenPCIInterface(void); virtual unsigned int GetInputs(void); comedi_t *GetPCIDevice(void); private: comedi_t *mComediDevice; bool mOpened; QMutex mMutex; unsigned int mInputBuf; }; #endif // COMEDILIBINTERFACE_H