class Gambit::Scanner::Plugins::pluginInfo
Container for all the plugin info from the inifile and Scannerbit.
#include <plugin_loader.hpp>
Public Functions
Name | |
---|---|
pluginInfo() | |
void | iniFile(const Options & options_in) Enter plugin inifile. |
void | printer_prior(printer_interface & printerIn, Priors::BasePrior & prior_in) |
bool | keep_running() const |
void | set_running(bool b) |
bool | func_calculating() const |
void | set_calculating(bool b) |
void | set_early_shutdown_in_progress() |
bool | early_shutdown_in_progress() const |
bool | resume_mode() const |
std::string | temp_file_path() |
int | getRank() |
template <typename… T> void | resume(const std::string & name, T &… data) resume function |
void | dump() Dump contents for resume. |
void | dump(const std::string & name) Dump contents for one plugin. |
void | save_alt_min_LogL_state() const Save persistence file to record that the alternative min_LogL value is in use for this scan. |
void | clear_alt_min_LogL_state() const Delete the persistence file if it exists (e.g. when starting a new run) |
bool | check_alt_min_LogL_state() const Check persistence file to see if we should be using the alternative min_LogL value. |
const Plugin_Loader & | operator()() Retrieve plugin data. |
Plugin_Interface_Details | operator()(const std::string & type, const std::string & tag) Get plugin data for single plugin. |
~pluginInfo() |
Public Functions Documentation
function pluginInfo
pluginInfo()
function iniFile
void iniFile(
const Options & options_in
)
Enter plugin inifile.
function printer_prior
void printer_prior(
printer_interface & printerIn,
Priors::BasePrior & prior_in
)
function keep_running
inline bool keep_running() const
function set_running
inline void set_running(
bool b
)
function func_calculating
inline bool func_calculating() const
function set_calculating
inline void set_calculating(
bool b
)
function set_early_shutdown_in_progress
inline void set_early_shutdown_in_progress()
function early_shutdown_in_progress
inline bool early_shutdown_in_progress() const
function resume_mode
inline bool resume_mode() const
function temp_file_path
inline std::string temp_file_path()
function getRank
inline int getRank()
function resume
template <typename... T>
inline void resume(
const std::string & name,
T &... data
)
resume function
function dump
void dump()
Dump contents for resume.
function dump
void dump(
const std::string & name
)
Dump contents for one plugin.
function save_alt_min_LogL_state
void save_alt_min_LogL_state() const
Save persistence file to record that the alternative min_LogL value is in use for this scan.
function clear_alt_min_LogL_state
void clear_alt_min_LogL_state() const
Delete the persistence file if it exists (e.g. when starting a new run)
function check_alt_min_LogL_state
bool check_alt_min_LogL_state() const
Check persistence file to see if we should be using the alternative min_LogL value.
function operator()
inline const Plugin_Loader & operator()()
Retrieve plugin data.
function operator()
Plugin_Interface_Details operator()(
const std::string & type,
const std::string & tag
)
Get plugin data for single plugin.
function ~pluginInfo
~pluginInfo()
Updated on 2024-07-18 at 13:53:32 +0000