MCPcopy Create free account
hub / github.com/cpvrlab/ImagePlay / load_plugin

Method load_plugin

IPL/include/pugg/Kernel.h:107–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105
106
107 bool load_plugin(const std::string& filename)
108 {
109 pugg::detail::Plugin* plugin = new pugg::detail::Plugin();
110 if (plugin->load(filename)) {
111 plugin->register_plugin(this);
112 _plugins.push_back(plugin);
113 return true;
114 } else {
115 delete plugin;
116 return false;
117 }
118 }
119
120 void clear_drivers()
121 {

Callers 1

foreachFunction · 0.80

Calls 3

register_pluginMethod · 0.80
loadMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected