#ifndef Hd_DalsaCamera_module_H #define Hd_DalsaCamera_module_H #include #include #include #include #include #include #include #include #include //Dalsa相机头文件 #include //Dalsa相机头文件 #include "base.h" using namespace cv; using namespace std; #pragma execution_character_set("utf-8") static QByteArray mv_Status = "connected";//0106 新增相机断联报警 static cv::Mat srcImage; static string Username=""; static bool m_flag = false; class MyThread; static QStringList qtDeviceList; static SapBuffer* m_Buffers; static SapAcqDevice* m_AcqDevice; static SapTransfer* m_Xfer; static SapView* m_View; class Hd_DalsaCamera_module :public Base { public: Hd_DalsaCamera_module(); virtual ~Hd_DalsaCamera_module(); bool sendData(std::vector&,QByteArray&); bool reciveData(std::vector&,QByteArray&); bool initParas(QByteArray&); bool run(); void CloseDevice(); private: QString triggerModel = nullptr; }; extern "C" { Q_DECL_EXPORT Hd_DalsaCamera_module * create(); Q_DECL_EXPORT void destory(Hd_DalsaCamera_module * ptr); } #endif // Hd_DalsaCamera_module_H