Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Slots | 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 ()
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 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 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_

Detailed Description

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

Definition at line 61 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 73 of file ros_pluginlib_plugin_provider.h.

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

Definition at line 83 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 68 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 235 of file ros_pluginlib_plugin_provider.h.

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

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

Reimplemented from qt_gui_cpp::PluginProvider.

Definition at line 96 of file ros_pluginlib_plugin_provider.h.

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

Definition at line 247 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 240 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 143 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 165 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 148 of file ros_pluginlib_plugin_provider.h.

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

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

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

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

Definition at line 353 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 359 of file ros_pluginlib_plugin_provider.h.

Definition at line 363 of file ros_pluginlib_plugin_provider.h.

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

Definition at line 357 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 365 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 367 of file ros_pluginlib_plugin_provider.h.

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

Definition at line 361 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 Fri Jan 3 2014 11:44:04