12#ifndef VPS_DATABASE_CLIENT_H
13#define VPS_DATABASE_CLIENT_H
18#include "vps_database_scanner.h"
86 std::string vpsDbPath_;
Matches VPX table metadata to VPS database entries in ASAPCabinetFE.
Definition vps_database_scanner.h:19
Manages the VPS database and its integration with table data in ASAPCabinetFE.
Definition vps_database_client.h:32
bool fetchIfNeeded(const std::string &lastUpdatedPath, const std::string &updateFrequency, LoadingProgress *progress=nullptr)
Fetches the VPS database if an update is needed.
Definition vps_database_client.cpp:30
bool matchMetadata(const nlohmann::json &vpxTable, TableData &tableData, LoadingProgress *progress=nullptr) const
Enriches a TableData object with VPS database data.
Definition vps_database_client.cpp:26
bool load(LoadingProgress *progress=nullptr)
Loads the VPS database from the specified file path.
Definition vps_database_client.cpp:22
Loads the VPS database file in ASAPCabinetFE.
Definition vps_database_loader.h:29
Updates the VPS database file in ASAPCabinetFE.
Definition vps_database_updater.h:30
Defines the LoadingProgress struct for tracking loading state in ASAPCabinetFE.
Tracks the loading progress state for ASAPCabinetFE.
Definition loading_progress.h:33
Stores metadata and media paths for a VPX table.
Definition table_data.h:29
Defines the TableData struct for storing VPX table metadata and media paths.
Defines the VpsDatabaseLoader class for loading the VPS database in ASAPCabinetFE.
Defines the VpsDatabaseUpdater class for updating the VPS database in ASAPCabinetFE.