14#ifndef LOADING_PROGRESS_H
15#define LOADING_PROGRESS_H
Tracks the loading progress state for ASAPCabinetFE.
Definition loading_progress.h:33
int numNoMatch
Number of tables with no metadata match (displayed in UI stats).
Definition loading_progress.h:44
std::string currentTask
Description of the current task (e.g., "Scanning Tables (5)").
Definition loading_progress.h:41
int currentStage
Current overall progress stage (e.g., fetching VPSDB, scanning, matchmaking).
Definition loading_progress.h:38
int numMatched
Number of tables successfully matched with metadata (used for match progress bar).
Definition loading_progress.h:43
void addLogMessage(const std::string &message)
Adds a log message to the buffer for UI display.
Definition loading_progress.h:60
size_t maxLogMessages
Maximum number of log messages to store (keeps last 10, older messages are removed).
Definition loading_progress.h:47
int totalTablesToLoad
Total number of tables to load (denominator for per-table progress bar).
Definition loading_progress.h:37
int currentTablesLoaded
Number of tables currently loaded (used for per-table progress bar).
Definition loading_progress.h:36
std::deque< std::string > logMessages
Buffer of recent log messages for display in the loading screen's mini terminal.
Definition loading_progress.h:46
std::mutex mutex
Mutex for thread-safe access to all members, used by loading and rendering threads.
Definition loading_progress.h:34
int totalStages
Total number of stages.
Definition loading_progress.h:39