MCPcopy Create free account
hub / github.com/VCVRack/Rack / getModel

Function getModel

src/plugin.cpp:432–441  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

430
431
432Model* getModel(const std::string& pluginSlug, const std::string& modelSlug) {
433 if (pluginSlug.empty() || modelSlug.empty())
434 return NULL;
435
436 Plugin* p = getPlugin(pluginSlug);
437 if (!p)
438 return NULL;
439
440 return p->getModel(modelSlug);
441}
442
443
444Model* getModelFallback(const std::string& pluginSlug, const std::string& modelSlug) {

Callers 1

getModelFallbackFunction · 0.85

Calls 3

getPluginFunction · 0.85
emptyMethod · 0.45
getModelMethod · 0.45

Tested by

no test coverage detected