Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
MartyAdapter.h
Go to the documentation of this file.
1#ifndef MARTYADAPTER_H
2#define MARTYADAPTER_H
3
4#include <optional>
5#include <string>
6
7#include "IMonitor.h"
8#include "IPathProvider.h"
9#include "IMartyPathAdapter.h"
10#include "MemoryManager.h"
11
19class MartyAdapter : public IMonitor<InternalFlag>, public IPathProvider<MartyPath>, public IMartyPathAdapter {
20public:
24 fs::path get_path(MartyPath path_name) override;
25
31 std::optional<fs::path> get_optional_path(MartyPath path_name) override;
32
36 bool check_flag(InternalFlag flag) override;
37
41 std::string get_marty_model_name() const;
42};
43
44#endif // MARTYADAPTER_H
Generic interface for monitoring flags within the framework.
Interface for providing concrete filesystem paths based on enum identifiers.
MartyPath
Enumerates MARTY-related filesystem resources.
Manages memory caching, parameter blocks, and LHA reader instances.
InternalFlag
Internal flags used for memory management status.
Interface for monitoring flags inside the framework (internal or external).
Definition IMonitor.h:32
Interface for providing specific filesystem paths based on enumerated identifiers.
bool check_flag(InternalFlag flag) override
Checks the status of a specific internal flag.
fs::path get_path(MartyPath path_name) override
Retrieves a required MARTY-related path.
std::string get_marty_model_name() const
Retrieves the configured MARTY model name.
std::optional< fs::path > get_optional_path(MartyPath path_name) override
Retrieves an optional MARTY-related path.
Core-side port implemented by MartyAdapter.