Loading...
Searching...
No Matches
Library::CategoryPaths Class Reference
Detailed Description
The two paths categoryPathForFile needs, captured at setup() time and read from scan workers. setup() may run again (library rescan) while a worker from the previous scan is still filtering, hence the locked swap (a plain mutex: std::atomic<std::shared_ptr> is not implemented everywhere yet).
Classes | |
| struct | Paths |
Public Member Functions | |
| void | init (std::string processName, const score::ApplicationContext &ctx) |
| GUI thread (setup). processName is the process's pretty name. | |
| QStringList | operator() (const score::PathInfo &file) const noexcept |
| Worker thread: category path for a scanned file. | |
| std::shared_ptr< const Paths > | get () const noexcept |
| Worker thread: the raw paths, for handlers with custom category logic. | |
The documentation for this class was generated from the following files:
- ProcessEntry.hpp
- LibraryInterface.cpp