59 lines
1.1 KiB
C++
59 lines
1.1 KiB
C++
#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();
|
|
} |