Mantid
|
#include <FindFilesThreadPoolManagerMockObjects.h>
Public Member Functions | |
FakeFindFilesThread (const FindFilesSearchParameters ¶meters, const FindFilesSearchResults &results=FindFilesSearchResults(), int milliseconds=100) | |
Public Member Functions inherited from MantidQt::API::FindFilesWorker | |
FindFilesWorker (FindFilesSearchParameters parameters) | |
Constructor. More... | |
Protected Member Functions | |
void | run () override |
Override parent class run(). More... | |
virtual void | run () override |
Override parent class run(). More... | |
Private Attributes | |
int | m_milliseconds |
FindFilesSearchResults | m_results |
Additional Inherited Members | |
Public Slots inherited from MantidQt::API::FindFilesWorker | |
void | disconnectWorker () |
Signals inherited from MantidQt::API::FindFilesWorker | |
void | finished (const FindFilesSearchResults &) |
Signal emitted after the search is finished, regardless of whether any file was found. More... | |
This overrides the run method of a FindFilesWorker to implement a dummy method that will just sleep for a given number of milliseconds.
Definition at line 40 of file FindFilesThreadPoolManagerMockObjects.h.
|
inline |
Definition at line 43 of file FindFilesThreadPoolManagerMockObjects.h.
|
inlineoverrideprotectedvirtual |
Override parent class run().
Called when the thread is ran via start().
Tries to find the files, and populates the error and filenames member variables with the result of the search.
At present, there are two possible use cases:
Reimplemented from MantidQt::API::FindFilesWorker.
Definition at line 48 of file FindFilesThreadPoolManagerMockObjects.h.
|
private |
Definition at line 56 of file FindFilesThreadPoolManagerMockObjects.h.
|
private |
Definition at line 55 of file FindFilesThreadPoolManagerMockObjects.h.