ZT/sources/PCIIO/PCI1756Interface.h

61 lines
1.6 KiB
C++

/*******************************************************************************
* *
* Société de Transports de Montréal. *
* 2012 *
* *
* Projet Zones Tests *
* *
* *
* *
*******************************************************************************/
/*
Description:
Description du fichier si nécessaire.
*/
/* ************************************************************************** */
/* Revision:
### 20140828 JFM
Verision d'origine.
### YYYYMMDD Description du besoin ou du bug
Description du changement.
*/
/* ************************************************************************** */
#ifndef PCI1756INTERFACE_H
#define PCI1756INTERFACE_H
#include <bdaqctrl.h>
#include "GlobalDefine.h"
#include "PCIIOMgr.h"
#include <QMutex>
using namespace Automation::BDaq;
class CPCI1756Interface : public CPCIIOMgr
{
public:
CPCI1756Interface();
~CPCI1756Interface();
virtual unsigned int OpenPCIInterface(void);
virtual unsigned int GetInputs(void);
private:
InstantDiCtrl *mInputCtrl;
bool mOpened;
QMutex mMutex;
unsigned int mInputBuf;
};
#endif // DAQNAVIINTERFACE_H