MCPcopy Create free account
hub / github.com/analogdevicesinc/scopy / applyMetadata

Method applyMetadata

core/src/pluginmanager.cpp:75–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73int PluginManager::count() { return m_plugins.count(); }
74
75void PluginManager::applyMetadata(Plugin *plugin, QJsonObject *metadata)
76{
77 if(metadata->contains(plugin->name())) {
78 plugin->setMetadata(metadata->value(plugin->name()).toObject());
79 }
80}
81
82void PluginManager::sort(bool ascending)
83{

Callers

nothing calls this directly

Calls 4

containsMethod · 0.45
nameMethod · 0.45
setMetadataMethod · 0.45
valueMethod · 0.45

Tested by

no test coverage detected