|
Libmagicxx v10.0.3
A modern C++23 wrapper for libmagic — the library that powers the Unix file command.
|
Thread-safe progress tracking for batch file operations. More...
Go to the source code of this file.
Classes | |
| class | Recognition::Utility::ProgressTracker |
| Thread-safe tracker for monitoring multi-step job progress. More... | |
| class | Recognition::Utility::MarkTrackerAsCompleted |
| RAII helper that marks a ProgressTracker as completed on destruction. More... | |
| class | Recognition::Utility::AdvanceTracker |
| RAII helper that advances a ProgressTracker on destruction. More... | |
Namespaces | |
| namespace | Recognition |
| Root namespace for the libmagicxx library. | |
| namespace | Recognition::Utility |
| Utility components for the libmagicxx library. | |
Typedefs | |
| using | Recognition::Utility::SharedProgressTrackerT = std::shared_ptr<ProgressTracker> |
| Shared pointer type for ProgressTracker. | |
Functions | |
| SharedProgressTrackerT | Recognition::Utility::MakeSharedProgressTracker (std::uint64_t total_steps=1u) noexcept |
| Factory function to create a shared ProgressTracker. | |
Thread-safe progress tracking for batch file operations.
This file provides classes for tracking the progress of long-running operations such as batch file identification. The ProgressTracker class is thread-safe and can be shared between the worker thread and the UI/monitoring thread.