MoleQueue  0.8.0
 All Classes Functions Variables Enumerations Enumerator Pages
Public Member Functions | Static Public Member Functions | List of all members
PluginManager Class Reference

#include <avogadro/qtgui/pluginmanager.h>

Inheritance diagram for PluginManager:

Public Member Functions

QStringList & pluginDirList ()
 
void load ()
 
void load (const QString &dir)
 
QList
< ConnectionListenerFactory * > 
connectionListenerFactories () const
 

Static Public Member Functions

static PluginManagerinstance ()
 

Detailed Description

This class takes care of finding and loading MoleQueue plugins.

This class will find and load MoleQueue plugins. Once loaded you can use an instance of this class to query and construct plugin instances. By default plugins are loaded from QApplication::applicationDirPath()../lib/molequeue/plugins but this can be changed or more paths can be added.

Member Function Documentation

static PluginManager* instance ( )
static

Get the singleton instance of the plugin manager. This instance should not be deleted.

QStringList& pluginDirList ( )

Get a reference to the plugin directory path list. Modifying this before calling load will allow you to add, remove or append to the search paths.

void load ( )

Load all plugins available in the specified plugin directories.

QList<ConnectionListenerFactory *> connectionListenerFactories ( ) const

Return the loaded connection listener factories. Will be empty unless load was already called.


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