MCPcopy Create free account
hub / github.com/Clarionos/clarion / find_plugin

Method find_plugin

libraries/appbase/application.cpp:478–485  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

476}
477
478abstract_plugin* application::find_plugin(const string& name)const
479{
480 auto itr = plugins.find(name);
481 if(itr == plugins.end()) {
482 return nullptr;
483 }
484 return itr->second.get();
485}
486
487abstract_plugin& application::get_plugin(const string& name)const {
488 auto ptr = find_plugin(name);

Callers

nothing calls this directly

Calls 3

findMethod · 0.45
endMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected