ASAPCabinetFE
 
Loading...
Searching...
No Matches
loading_progress.h File Reference

Defines the LoadingProgress struct for tracking loading state in ASAPCabinetFE. More...

#include <string>
#include <vector>
#include <mutex>
#include <deque>
+ Include dependency graph for loading_progress.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  LoadingProgress
 Tracks the loading progress state for ASAPCabinetFE. More...
 

Detailed Description

Defines the LoadingProgress struct for tracking loading state in ASAPCabinetFE.

This header provides the LoadingProgress struct, which holds the state of the loading process for ASAPCabinetFE. It tracks overall progress (stages), per-table loading, metadata matching, and log messages for display in a loading screen. The struct is thread-safe, using a mutex to protect access to its members, and is designed to be shared between the loading thread and the UI rendering thread (e.g., via LoadingScreen). Fields like progress bars' colors or log message limits can be made configurable in the future by exposing them through configUI.