Template Class RosPluginlibPluginProvider

Nested Relationships

Nested Types

Inheritance Relationships

Base Types

Class Documentation

template<typename T>
class RosPluginlibPluginProvider : public QObject, public qt_gui_cpp::PluginProvider

Public Functions

inline RosPluginlibPluginProvider(const QString &export_tag, const QString &base_class_type)
inline virtual ~RosPluginlibPluginProvider()
inline virtual QMap<QString, QString> discover(QObject *discovery_data)
inline virtual QList<PluginDescriptor*> discover_descriptors(QObject *discovery_data)

Attention

Ownership of returned PluginDescriptor’s is transfered to the caller

inline virtual void *load(const QString &plugin_id, PluginContext *plugin_context)
inline virtual Plugin *load_plugin(const QString &plugin_id, PluginContext *plugin_context)
inline virtual T *load_explicit_type(const QString &plugin_id, PluginContext *plugin_context)
inline virtual void unload(void *instance)
inline bool event(QEvent *e)

Public Static Functions

static inline RosPluginlibPluginProvider<T> *create_instance(const QString &export_tag, const QString &base_class_type)

Protected Functions

inline virtual std::shared_ptr<T> create_plugin(const std::string &lookup_name, PluginContext* = 0)
inline virtual void init_plugin(const QString&, PluginContext *plugin_context, Plugin *plugin)