Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
MemoryManager.h File Reference

Manages memory caching, parameter blocks, and LHA reader instances. More...

#include <unordered_map>
#include <thread>
#include "config.hpp"
#include "Include.h"
#include "BlockAccessor.h"
#include "DBMemento.h"
#include "CorrelationRepo.h"
#include "ISpectrumCalculator.h"
#include "IDataLoader.h"
#include "IPathsProvider.h"
#include "ILhaPrototypeRegistry.h"
#include "Config.h"
Include dependency graph for MemoryManager.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  MemoryCache
 Stores memory cache details for parameter management and runtime state. More...
 
struct  ReadyGuard
 RAII guard to toggle the "ready" flag while performing unsafe operations. More...
 
class  MemoryManager
 Singleton class responsible for initializing and managing memory, input files, and parameter blocks. More...
 

Enumerations

enum class  InternalFlag { PARAMS_CHANGED }
 Internal flags used for memory management status. More...
 

Detailed Description

Manages memory caching, parameter blocks, and LHA reader instances.

This file defines the MemoryManager singleton class, responsible for managing:

  • Memory caching (parameters, blocks, correlations)
  • LHA file loading and reloading
  • Spectrum calculations

It must be initialized before using any parameter-dependent functionality.

Definition in file MemoryManager.h.

Enumeration Type Documentation

◆ InternalFlag

enum class InternalFlag
strong

Internal flags used for memory management status.

Enumerator
PARAMS_CHANGED 

Definition at line 34 of file MemoryManager.h.