init files
This commit is contained in:
@@ -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();
|
||||
}
|
||||
Reference in New Issue
Block a user