14#include <QSharedPointer>
40 bool isSearchRunning()
const;
44 static void destroyThreadPool();
52 void searchFinished();
56 const std::unique_ptr<QThreadPool> &poolInstance()
const;
60 void connectWorker(
const QObject *parent,
const FindFilesWorker *worker);
#define EXPORT_OPT_MANTIDQT_COMMON
A small helper class to hold a handle to a static thread pool.
std::function< FindFilesWorker *(const FindFilesSearchParameters &)> ThreadAllocator
ThreadAllocator m_workerAllocator
Handle to the allocator function for creating new worker threads.
bool m_searchIsRunning
Flag set if a search is currently running.
A class to allow the asynchronous finding of files.
The AlgorithmProgressDialogPresenter keeps track of the running algorithms and displays a progress ba...
POD struct to hold details about the parameters of a file search.