init files

This commit is contained in:
rci
2024-09-27 14:31:22 +08:00
parent d04db633b4
commit a2ce7826dc
407 changed files with 123645 additions and 93 deletions
@@ -0,0 +1,59 @@
#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();
}