#include <PluginManager.h>
Inheritance diagram for PluginManager:
Public Member Functions | |
PluginManager (const char *path) | |
virtual | ~PluginManager () |
virtual bool | deleteEntry (int id) throw (DatabaseError, PluginError) |
removes plugin from database. checks before, whether any other plugin depends on ID | |
virtual void | run () |
starts qt and the plugin manager dialog | |
virtual multimap< string, map< int, string > > | getEntryMap () |
returns a formatted string for display containing all details listed for plugin 'id' in db | |
virtual string | getEntryDetails (int id) |
returns a formatted string for display containing all details listed for plugin 'id' in db | |
virtual void | addEntry (string absolutepath, DOMNode *parent=0) throw (PluginExistsException) |
runs tests on the plugin found at 'absolute path' and adds it to the database if cleared. | |
string | getFilename (string, string) throw (DatabaseError) |
Private Member Functions | |
PluginManager (const PluginManager &x) | |
DOMNode * | isInDB (string, string) |
void | addToDB (string filename, string dst) |
DOMNode * | getEntryById (int id) |
DOMNode * | getEntryById (int id, const XMLCh *tag) |
list< DOMNode * > | getDependents (DOMNode *entry) |
list< string > | getDependencies (DOMNode *entry) |
list< string > | getParameters (DOMNode *entry) |
Private Attributes | |
Plugin | plugin |
|
hidden copy constructor - we do not want to accidentially copy objects |
|
|
|
|
|
runs tests on the plugin found at 'absolute path' and adds it to the database if cleared. add entry Implements DatabaseManager.
|
|
Add plugin to plugin_list and DOM
|
|
removes plugin from database. checks before, whether any other plugin depends on ID delete entry Implements DatabaseManager.
|
|
checks whether some plugin in the database depends on entry. therefore we retrieve all 'TAG_dependency' entries and compare their contents with
|
|
checks whether some plugin in the database depends on entry. therefore we retrieve all 'TAG_dependency' entries and compare their contents with
|
|
to be inherited from base class
|
|
|
|
returns a formatted string for display containing all details listed for plugin 'id' in db get Experiments Implements DatabaseManager.
|
|
returns a formatted string for display containing all details listed for plugin 'id' in db get Entries Implements DatabaseManager.
|
|
|
|
checks whether some plugin in the database depends on entry. therefore we retrieve all 'TAG_parameter' entries and compare their contents with
|
|
|
|
starts qt and the plugin manager dialog
Implements DatabaseManager.
|
|
one plugin instance that's gonna be managed |