Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
qt_gui_cpp::RosPluginlibPluginProvider< T > Class Template Reference

#include <ros_pluginlib_plugin_provider.h>

Inheritance diagram for qt_gui_cpp::RosPluginlibPluginProvider< T >:
Inheritance graph
[legend]

List of all members.

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 Pluginload_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_

Detailed Description

template<typename T>
class qt_gui_cpp::RosPluginlibPluginProvider< T >

Definition at line 60 of file ros_pluginlib_plugin_provider.h.


Constructor & Destructor Documentation

template<typename T>
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.

template<typename T>
virtual qt_gui_cpp::RosPluginlibPluginProvider< T >::~RosPluginlibPluginProvider ( ) [inline, virtual]

Definition at line 82 of file ros_pluginlib_plugin_provider.h.


Member Function Documentation

template<typename T>
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.

template<typename T>
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.

template<typename T>
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.

template<typename T>
virtual QList<PluginDescriptor*> qt_gui_cpp::RosPluginlibPluginProvider< T >::discover_descriptors ( QObject *  discovery_data) [inline, virtual]
Attention:
Ownership of returned PluginDescriptor's is transfered to the caller

Reimplemented from qt_gui_cpp::PluginProvider.

Definition at line 95 of file ros_pluginlib_plugin_provider.h.

template<typename T>
bool qt_gui_cpp::RosPluginlibPluginProvider< T >::event ( QEvent *  e) [inline]

Definition at line 266 of file ros_pluginlib_plugin_provider.h.

template<typename T>
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.

template<typename T>
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.

template<typename T>
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.

template<typename T>
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.

template<typename T>
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.

template<typename T>
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.

template<typename T>
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.

template<typename T>
void qt_gui_cpp::RosPluginlibPluginProvider< T >::unload_pending_libraries ( ) [inline, private]

Definition at line 383 of file ros_pluginlib_plugin_provider.h.


Member Data Documentation

template<typename T>
QString qt_gui_cpp::RosPluginlibPluginProvider< T >::base_class_type_ [private]

Definition at line 389 of file ros_pluginlib_plugin_provider.h.

Definition at line 393 of file ros_pluginlib_plugin_provider.h.

template<typename T>
QString qt_gui_cpp::RosPluginlibPluginProvider< T >::export_tag_ [private]

Definition at line 387 of file ros_pluginlib_plugin_provider.h.

template<typename T>
QMap<void*, boost::shared_ptr<T> > qt_gui_cpp::RosPluginlibPluginProvider< T >::instances_ [private]

Definition at line 395 of file ros_pluginlib_plugin_provider.h.

template<typename T>
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.

template<typename T>
int qt_gui_cpp::RosPluginlibPluginProvider< T >::unload_libraries_event_ [private]

Definition at line 391 of file ros_pluginlib_plugin_provider.h.


The documentation for this class was generated from the following file:


qt_gui_cpp
Author(s): Dirk Thomas
autogenerated on Mon Oct 6 2014 03:57:56