You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
676 B
C++
36 lines
676 B
C++
#include "FITKAbstractIO.h"
|
|
#include "FITK_Kernel/FITKCore/FITKThreadPool.h"
|
|
|
|
namespace Interface
|
|
{
|
|
FITKAbstractIO::~FITKAbstractIO()
|
|
{
|
|
}
|
|
|
|
void FITKAbstractIO::setFileName(const QString& fileName)
|
|
{
|
|
//记录文件名称
|
|
_fileName = fileName;
|
|
}
|
|
|
|
QString FITKAbstractIO::getFileName() const
|
|
{
|
|
//直接返回文件名称
|
|
return _fileName;
|
|
}
|
|
|
|
void FITKAbstractIO::setDataObject(Core::FITKAbstractDataObject* data)
|
|
{
|
|
_data = data;
|
|
}
|
|
|
|
void FITKAbstractIO::push2ThreadPool()
|
|
{
|
|
//直接在线程池运行
|
|
Core::FITKThreadPool::getInstance()->execTask(this);
|
|
}
|
|
}
|
|
|
|
|
|
|