Files
ds-628/BaseModules/Hd_SocketModule_All/Hd_SocketModule_All.cpp
T

59 lines
1.1 KiB
C++
Raw Normal View History

2024-09-27 14:31:22 +08:00
#include"Hd_SocketModule_All.h"
//
//typedef Base* (*CreateFunction)();
//typedef void (*ReleaseFunction)(Base* animal);
Hd_SocketModule_All* create(int type)
{
qDebug() << __FUNCTION__ << " line:" << __LINE__ << "Hd_SocketModule_All create success!";
return new Hd_SocketModule_All(type);
}
void destory(Hd_SocketModule_All* ptr)
{
if (ptr != nullptr)
{
delete ptr;
ptr = nullptr;
}
qDebug() << __FUNCTION__ << " line:" << __LINE__ << "Hd_SocketModule_All destory success!";
}
Hd_SocketModule_All::Hd_SocketModule_All(int settype, QObject* parent) : PbGlobalObject(settype, parent)
{
}
Hd_SocketModule_All::~Hd_SocketModule_All()
{
}
bool Hd_SocketModule_All::setParameter(const QMap<QString, QString>&)
{
return false;
}
QMap<QString, QString> Hd_SocketModule_All::parameters()
{
return QMap<QString, QString>();
}
bool Hd_SocketModule_All::init()
{
return false;
}
bool Hd_SocketModule_All::setData(const vector<cv::Mat>&, const QStringList&)
{
return false;
}
bool Hd_SocketModule_All::data(std::vector<cv::Mat>&, QStringList&)
{
return false;
}
QString Hd_SocketModule_All::getmoduleName()
{
return QString();
}