You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wheeldetect/tpvs17/tpMain/lpMainWin.h

37 lines
777 B
C++

#ifndef _H_LPMAINWIN_H_
#define _H_LPMAINWIN_H_
#include <QMainWindow>
#include "ui_lpMainWin.h"
#include "iCoreCtrl.h"
#include "CoreCtrl/CDllCoreCtrl.h"
class lpMainWin : public QMainWindow
{
Q_OBJECT
public:
lpMainWin(QWidget *parent = Q_NULLPTR);
~lpMainWin();
//接收图像回调函数
void INewCameraImage(const QString& camKey, QImage img);
//接收算法检测结果回调函数
void IVariantMapToUI(const QString& camKey, const QVariantMap& vMap);
//传输算法参数回调函数
QVariant IGetVariantById(int id);
protected:
bool onInitCoreCtrl();
protected:
virtual void timerEvent(QTimerEvent *event);
virtual void closeEvent(QCloseEvent *event);
private:
Ui::lpMainWin ui;
private:
CDllCoreCtrl* m_pDllCoreCtrl{ nullptr };
ICoreCtrl* m_pCoreCtrl{ nullptr };
};
#endif