#include <ros_pluginlib_plugin_provider.h>
Public Member Functions | |
virtual QMap< QString, QString > | discover (QObject *discovery_data) |
virtual QList< PluginDescriptor * > | discover_descriptors (QObject *discovery_data) |
bool | event (QEvent *e) |
virtual void * | load (const QString &plugin_id, PluginContext *plugin_context) |
virtual T * | load_explicit_type (const QString &plugin_id, PluginContext *plugin_context) |
virtual Plugin * | load_plugin (const QString &plugin_id, PluginContext *plugin_context) |
RosPluginlibPluginProvider (const QString &export_tag, const QString &base_class_type) | |
virtual void | unload (void *instance) |
virtual | ~RosPluginlibPluginProvider () |
Static Public Member Functions | |
static RosPluginlibPluginProvider< T > * | create_instance (const QString &export_tag, const QString &base_class_type) |
Protected Member Functions | |
virtual boost::shared_ptr< T > | create_plugin (const std::string &lookup_name, PluginContext *=0) |
virtual void | init_plugin (const QString &, PluginContext *plugin_context, Plugin *plugin) |
Private Member Functions | |
void | parseActionAttributes (TiXmlElement *element, const std::string &plugin_path, QString &label, QString &statustip, QString &icon, QString &icontype) |
bool | parseManifest (const std::string &lookup_name, const std::string &plugin_path, QString &label, QString &statustip, QString &icon, QString &icontype, PluginDescriptor *plugin_descriptor) |
void | unload_pending_libraries () |
Private Attributes | |
QString | base_class_type_ |
pluginlib::ClassLoader< T > * | class_loader_ |
QString | export_tag_ |
QMap< void *, boost::shared_ptr< T > > | instances_ |
QList< boost::shared_ptr< T > > | libraries_to_unload_ |
int | unload_libraries_event_ |
Definition at line 60 of file ros_pluginlib_plugin_provider.h.
qt_gui_cpp::RosPluginlibPluginProvider< T >::RosPluginlibPluginProvider | ( | const QString & | export_tag, |
const QString & | base_class_type | ||
) | [inline] |
Definition at line 72 of file ros_pluginlib_plugin_provider.h.
virtual qt_gui_cpp::RosPluginlibPluginProvider< T >::~RosPluginlibPluginProvider | ( | ) | [inline, virtual] |
Definition at line 82 of file ros_pluginlib_plugin_provider.h.
static RosPluginlibPluginProvider<T>* qt_gui_cpp::RosPluginlibPluginProvider< T >::create_instance | ( | const QString & | export_tag, |
const QString & | base_class_type | ||
) | [inline, static] |
Definition at line 67 of file ros_pluginlib_plugin_provider.h.
virtual boost::shared_ptr<T> qt_gui_cpp::RosPluginlibPluginProvider< T >::create_plugin | ( | const std::string & | lookup_name, |
PluginContext * | = 0 |
||
) | [inline, protected, virtual] |
Definition at line 278 of file ros_pluginlib_plugin_provider.h.
virtual QMap<QString, QString> qt_gui_cpp::RosPluginlibPluginProvider< T >::discover | ( | QObject * | discovery_data | ) | [inline, virtual] |
Reimplemented from qt_gui_cpp::PluginProvider.
Definition at line 90 of file ros_pluginlib_plugin_provider.h.
virtual QList<PluginDescriptor*> qt_gui_cpp::RosPluginlibPluginProvider< T >::discover_descriptors | ( | QObject * | discovery_data | ) | [inline, virtual] |
Reimplemented from qt_gui_cpp::PluginProvider.
Definition at line 95 of file ros_pluginlib_plugin_provider.h.
bool qt_gui_cpp::RosPluginlibPluginProvider< T >::event | ( | QEvent * | e | ) | [inline] |
Definition at line 266 of file ros_pluginlib_plugin_provider.h.
virtual void qt_gui_cpp::RosPluginlibPluginProvider< T >::init_plugin | ( | const QString & | , |
PluginContext * | plugin_context, | ||
Plugin * | plugin | ||
) | [inline, protected, virtual] |
Definition at line 283 of file ros_pluginlib_plugin_provider.h.
virtual void* qt_gui_cpp::RosPluginlibPluginProvider< T >::load | ( | const QString & | plugin_id, |
PluginContext * | plugin_context | ||
) | [inline, virtual] |
Reimplemented from qt_gui_cpp::PluginProvider.
Definition at line 176 of file ros_pluginlib_plugin_provider.h.
virtual T* qt_gui_cpp::RosPluginlibPluginProvider< T >::load_explicit_type | ( | const QString & | plugin_id, |
PluginContext * | plugin_context | ||
) | [inline, virtual] |
Definition at line 198 of file ros_pluginlib_plugin_provider.h.
virtual Plugin* qt_gui_cpp::RosPluginlibPluginProvider< T >::load_plugin | ( | const QString & | plugin_id, |
PluginContext * | plugin_context | ||
) | [inline, virtual] |
Reimplemented from qt_gui_cpp::PluginProvider.
Definition at line 181 of file ros_pluginlib_plugin_provider.h.
void qt_gui_cpp::RosPluginlibPluginProvider< T >::parseActionAttributes | ( | TiXmlElement * | element, |
const std::string & | plugin_path, | ||
QString & | label, | ||
QString & | statustip, | ||
QString & | icon, | ||
QString & | icontype | ||
) | [inline, private] |
Definition at line 355 of file ros_pluginlib_plugin_provider.h.
bool qt_gui_cpp::RosPluginlibPluginProvider< T >::parseManifest | ( | const std::string & | lookup_name, |
const std::string & | plugin_path, | ||
QString & | label, | ||
QString & | statustip, | ||
QString & | icon, | ||
QString & | icontype, | ||
PluginDescriptor * | plugin_descriptor | ||
) | [inline, private] |
Definition at line 290 of file ros_pluginlib_plugin_provider.h.
virtual void qt_gui_cpp::RosPluginlibPluginProvider< T >::unload | ( | void * | instance | ) | [inline, virtual] |
Reimplemented from qt_gui_cpp::PluginProvider.
Definition at line 252 of file ros_pluginlib_plugin_provider.h.
void qt_gui_cpp::RosPluginlibPluginProvider< T >::unload_pending_libraries | ( | ) | [inline, private] |
Definition at line 383 of file ros_pluginlib_plugin_provider.h.
QString qt_gui_cpp::RosPluginlibPluginProvider< T >::base_class_type_ [private] |
Definition at line 389 of file ros_pluginlib_plugin_provider.h.
pluginlib::ClassLoader<T>* qt_gui_cpp::RosPluginlibPluginProvider< T >::class_loader_ [private] |
Definition at line 393 of file ros_pluginlib_plugin_provider.h.
QString qt_gui_cpp::RosPluginlibPluginProvider< T >::export_tag_ [private] |
Definition at line 387 of file ros_pluginlib_plugin_provider.h.
QMap<void*, boost::shared_ptr<T> > qt_gui_cpp::RosPluginlibPluginProvider< T >::instances_ [private] |
Definition at line 395 of file ros_pluginlib_plugin_provider.h.
QList<boost::shared_ptr<T> > qt_gui_cpp::RosPluginlibPluginProvider< T >::libraries_to_unload_ [private] |
Definition at line 397 of file ros_pluginlib_plugin_provider.h.
int qt_gui_cpp::RosPluginlibPluginProvider< T >::unload_libraries_event_ [private] |
Definition at line 391 of file ros_pluginlib_plugin_provider.h.