50 registry(registry_arg),
57 plugin->setModule(module);
62 void add(T *plugin, plugin::deleter_fn deleter)
64 plugin->setModule(module);
65 registry.add(plugin, deleter);
69 void remove(T *plugin)
71 registry.remove(plugin);
78 static std::string prepend_name(std::string module_name,
79 const std::string &var_name);