#include <ros_pluginlib_plugin_provider.h>
Public Member Functions | |
virtual QMap< QString, QString > | discover () |
virtual QList< PluginDescriptor * > | discover_descriptors () |
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 Slots | |
bool | event (QEvent *e) |
Private Member Functions | |
void | parseActionAttributes (TiXmlElement *element, const std::string &package_path, QString &label, QString &statustip, QString &icon, QString &icontype) |
bool | parseManifest (const std::string &lookup_name, const std::string &package_path, const std::string &, 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 61 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 73 of file ros_pluginlib_plugin_provider.h.
virtual qt_gui_cpp::RosPluginlibPluginProvider< T >::~RosPluginlibPluginProvider | ( | ) | [inline, virtual] |
Definition at line 83 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 68 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 235 of file ros_pluginlib_plugin_provider.h.
virtual QMap<QString, QString> qt_gui_cpp::RosPluginlibPluginProvider< T >::discover | ( | ) | [inline, virtual] |
Reimplemented from qt_gui_cpp::PluginProvider.
Definition at line 91 of file ros_pluginlib_plugin_provider.h.
virtual QList<PluginDescriptor*> qt_gui_cpp::RosPluginlibPluginProvider< T >::discover_descriptors | ( | ) | [inline, virtual] |
Reimplemented from qt_gui_cpp::PluginProvider.
Definition at line 96 of file ros_pluginlib_plugin_provider.h.
bool qt_gui_cpp::RosPluginlibPluginProvider< T >::event | ( | QEvent * | e | ) | [inline, private, slot] |
Definition at line 247 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 240 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 143 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 165 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 148 of file ros_pluginlib_plugin_provider.h.
void qt_gui_cpp::RosPluginlibPluginProvider< T >::parseActionAttributes | ( | TiXmlElement * | element, |
const std::string & | package_path, | ||
QString & | label, | ||
QString & | statustip, | ||
QString & | icon, | ||
QString & | icontype | ||
) | [inline, private] |
Definition at line 327 of file ros_pluginlib_plugin_provider.h.
bool qt_gui_cpp::RosPluginlibPluginProvider< T >::parseManifest | ( | const std::string & | lookup_name, |
const std::string & | package_path, | ||
const std::string & | , | ||
QString & | label, | ||
QString & | statustip, | ||
QString & | icon, | ||
QString & | icontype, | ||
PluginDescriptor * | plugin_descriptor | ||
) | [inline, private] |
Definition at line 259 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 219 of file ros_pluginlib_plugin_provider.h.
void qt_gui_cpp::RosPluginlibPluginProvider< T >::unload_pending_libraries | ( | ) | [inline, private] |
Definition at line 353 of file ros_pluginlib_plugin_provider.h.
QString qt_gui_cpp::RosPluginlibPluginProvider< T >::base_class_type_ [private] |
Definition at line 359 of file ros_pluginlib_plugin_provider.h.
pluginlib::ClassLoader<T>* qt_gui_cpp::RosPluginlibPluginProvider< T >::class_loader_ [private] |
Definition at line 363 of file ros_pluginlib_plugin_provider.h.
QString qt_gui_cpp::RosPluginlibPluginProvider< T >::export_tag_ [private] |
Definition at line 357 of file ros_pluginlib_plugin_provider.h.
QMap<void*, boost::shared_ptr<T> > qt_gui_cpp::RosPluginlibPluginProvider< T >::instances_ [private] |
Definition at line 365 of file ros_pluginlib_plugin_provider.h.
QList<boost::shared_ptr<T> > qt_gui_cpp::RosPluginlibPluginProvider< T >::libraries_to_unload_ [private] |
Definition at line 367 of file ros_pluginlib_plugin_provider.h.
int qt_gui_cpp::RosPluginlibPluginProvider< T >::unload_libraries_event_ [private] |
Definition at line 361 of file ros_pluginlib_plugin_provider.h.