23 "Object to handle the loading of shared libraries as plug-ins");
28 "plugin_path",
"Path to the shared library containing the plug-in.");
36 plugin_path_(params.GetParamValue<std::string>(
"plugin_path"))
48 if (user_params.Has(
"entry_function"))
50 const auto& entry_function =
52 typedef void(some_func)();
57 not func,
"Failed to call entry function \"" + entry_function +
"\"");
#define ChiLogicalErrorIf(condition, message)
static chi::RegistryStatuses GetStatusOfRegistries()
static chi::Console & console
static chi::InputParameters GetInputParameters()
void UpdateConsoleBindings(const chi::RegistryStatuses &old_statuses)
T GetParamValue(const std::string ¶m_name) const
Plugin(const InputParameters ¶ms)
const std::string plugin_path_
static InputParameters GetInputParameters()
void AssertReadibleFile(const std::string &file_name)
RegisterChiObject(chi, KBAGraphPartitioner)