Loading...
Searching...
No Matches
Public Types |
Public Member Functions |
Static Public Member Functions |
Friends |
List of all members
Process::FileScan Class Reference
A folder walk running on the task pool, and the handle to it. More...
Detailed Description
A folder walk running on the task pool, and the handle to it.
The only state shared between the two threads: the GUI samples the progress, the walk reads the cancel flag. Held by shared_ptr on both sides so the state outlives a window closed mid-search.
Public Types | |
| using | OnFinished = std::function< void(FileIndex, bool cancelled)> |
Called on context's thread when the walk ends, cancelled or not. | |
Static Public Member Functions | |
| static std::shared_ptr< FileScan > | start (const QString &folder, QObject *context, OnFinished onFinished) |
Friends | |
| class | FileIndex |
Member Function Documentation
◆ start()
|
static |
Start walking folder on a task-pool thread. onFinished does not run if context died first.
The documentation for this class was generated from the following files:
- MissingFiles.hpp
- MissingFiles.cpp