#include <fastmm/core/session_state.hpp>
|
| static std::string | default_path (std::string_view journal_dir, std::string_view engine_name) |
| | "\<journal_dir\>/\<engine name\>.kill".
|
| |
| static Result< KillState, std::string > | load (const std::string &path) |
| | A missing file is a cleared state; a file that cannot be read or parsed is an error.
|
| |
| static Result< void, std::string > | store (const std::string &path, const KillState &s) |
| |
| static Result< void, std::string > | clear (const std::string &path) |
| | Removes the file (an operator clearing a latched trip and the loss budget with it).
|
| |
◆ default_path()
| static std::string fastmm::KillStateStore::default_path |
( |
std::string_view |
journal_dir, |
|
|
std::string_view |
engine_name |
|
) |
| |
|
static |
"\<journal_dir\>/\<engine name\>.kill".
◆ load()
| static Result< KillState, std::string > fastmm::KillStateStore::load |
( |
const std::string & |
path | ) |
|
|
static |
A missing file is a cleared state; a file that cannot be read or parsed is an error.
◆ store()
| static Result< void, std::string > fastmm::KillStateStore::store |
( |
const std::string & |
path, |
|
|
const KillState & |
s |
|
) |
| |
|
static |
◆ clear()
| static Result< void, std::string > fastmm::KillStateStore::clear |
( |
const std::string & |
path | ) |
|
|
static |
Removes the file (an operator clearing a latched trip and the loss budget with it).