init files
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
#pragma once
|
||||
#include "pbglobalobject.h"
|
||||
#include "Hd_SocketModule_PLC.h"
|
||||
|
||||
#pragma execution_character_set("utf-8")
|
||||
|
||||
class Hd_PLC_Adaptor : public PbGlobalObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
Hd_PLC_Adaptor(int settype, QObject* parent = nullptr);
|
||||
~Hd_PLC_Adaptor();
|
||||
|
||||
virtual bool setParameter(const QMap<QString, QString>& param);
|
||||
virtual QMap<QString, QString> parameters();
|
||||
|
||||
virtual bool init();
|
||||
|
||||
virtual bool setData(const vector<cv::Mat>& mat, const QStringList& data);
|
||||
virtual bool data(std::vector<cv::Mat>& mat, QStringList& data);
|
||||
|
||||
private:
|
||||
Hd_SocketModule_PLC* m_plc = nullptr;
|
||||
};
|
||||
|
||||
extern "C"
|
||||
{
|
||||
Q_DECL_EXPORT Hd_PLC_Adaptor* create(int type = -1);
|
||||
Q_DECL_EXPORT void destory(Hd_PLC_Adaptor* ptr);
|
||||
}
|
||||
Reference in New Issue
Block a user