41 , plugin_provider_(plugin_provider)
53 QList<QString> plugin_ids;
54 for (QList<PluginDescriptor*>::iterator it = descriptors.begin(); it != descriptors.end(); it++)
57 plugin_ids.append(descriptor->
pluginId());
62 QList<PluginProvider*> providers;
63 for (QList<QString>::iterator it = plugin_ids.begin(); it != plugin_ids.end(); it++)
71 throw std::runtime_error(
"load returned None");
73 providers.append(instance);
77 qCritical(
"RecursivePluginProvider.discover() loading plugin '%s' failed", it->toStdString().c_str());
virtual T * load_explicit_type(const QString &plugin_id, PluginContext *plugin_context)
const QString & pluginId() const
virtual QMap< QString, QString > discover(QObject *discovery_data)
RosPluginlibPluginProvider_ForPluginProviders * plugin_provider_
virtual QList< PluginDescriptor * > discover_descriptors(QObject *discovery_data)
RecursivePluginProvider(RosPluginlibPluginProvider_ForPluginProviders *plugin_provider)
virtual void set_plugin_providers(const QList< PluginProvider * > &plugin_providers)
virtual QMap< QString, QString > discover(QObject *discovery_data)
virtual ~RecursivePluginProvider()