26#include <unordered_map>
31#include "quill/LogMacros.h"
58 serif::config::Config&
m_config = serif::config::Config::getInstance();
71 bool load(
const std::string& name);
Class to manage logging operations.
static LogManager & getInstance()
Get the singleton instance of LogManager.
serif::config::Config & m_config
const types::Resource & getResource(const std::string &name) const
Gets a resource by name.
serif::config::Config m_resourceConfig
ResourceManager()
Private constructor to prevent instantiation.
std::unordered_map< std::string, types::Resource > m_resources
std::vector< std::string > getAvailableResources() const
Gets a list of available resources.
static ResourceManager & getInstance()
Gets the singleton instance of the ResourceManager.
serif::probe::LogManager & m_logManager
std::unordered_map< std::string, bool > loadAllResources()
Loads all resources.
bool load(const std::string &name)
Loads a resource by name.
bool loadResource(std::string &name)
Loads a resource by name.
ResourceManager & operator=(const ResourceManager &)=delete
Deleted assignment operator to prevent assignment.
ResourceManager(const ResourceManager &)=delete
Deleted copy constructor to prevent copying.
std::variant< std::unique_ptr< opat::OPAT >, std::unique_ptr< serif::mesh::MeshIO >, std::unique_ptr< serif::eos::EOSio > > Resource
A variant type that can hold different types of resources.
Defines types and functions for managing resources.