#include <pluginManager.h>
Public Types | |
| typedef std::list< Plugin * >::iterator | iterator |
| typedef std::list< Plugin * >::const_iterator | const_iterator |
| typedef std::list< Plugin * >::reverse_iterator | reverse_iterator |
| typedef std::list< Plugin * >::const_reverse_iterator | const_reverse_iterator |
Public Member Functions | |
| ~PluginManager () | |
| void | add (const boost::filesystem::path &path) |
| Add a plugin file or directory. | |
| const std::list< Plugin * > & | getPlugins () |
| const Plugin * | getPlugin (const miniXml::ustring &pluginName) throw (NoPluginException) |
| Plugin * | getRefPlugin (const miniXml::ustring &pluginName) throw (NoPluginException) |
| StepPlugin * | getStep (const miniXml::ustring &pluginName, const Util::PropertyList &pOptions) throw (NoPluginException) |
| DownloadPlugin * | getDownloader (const miniXml::ustring &uri) throw (NoPluginHandlerException) |
| InstallerPlugin * | getInstaller (Util::Compressed *compressed, const Util::PropertyList &pList=Util::PropertyList()) |
| InfoInterface * | getInfo (const miniXml::ustring pluginName, const miniXml::ustring &uri) |
| iterator | begin () |
| const_iterator | begin () const |
| reverse_iterator | rbegin () |
| const_reverse_iterator | rbegin () const |
| iterator | end () |
| const_iterator | end () const |
| reverse_iterator | rend () |
| const_reverse_iterator | rend () const |
Static Public Member Functions | |
| static boost::shared_ptr< PluginManager > & | create (const miniXml::ustring &user) |
| Get a PluginManager object. | |
Public Attributes | |
| boost::signal< void(Plugin *)> | signalNewPlugin )() |
Friends | |
| class | InstallerInterface |
| class | Core::PackageManager |
| typedef std::list<Plugin *>::iterator Spm::Plugin::PluginManager::iterator |
| typedef std::list<Plugin *>::const_iterator Spm::Plugin::PluginManager::const_iterator |
| typedef std::list<Plugin *>::reverse_iterator Spm::Plugin::PluginManager::reverse_iterator |
| typedef std::list<Plugin *>::const_reverse_iterator Spm::Plugin::PluginManager::const_reverse_iterator |
| Spm::Plugin::PluginManager::~PluginManager | ( | ) |
| static boost::shared_ptr<PluginManager>& Spm::Plugin::PluginManager::create | ( | const miniXml::ustring & | user | ) | [static] |
Get a PluginManager object.
| userName | The user name of the wanted PluginManager |
| void Spm::Plugin::PluginManager::add | ( | const boost::filesystem::path & | path | ) |
Add a plugin file or directory.
| path | The file or directory to add |
| const std::list<Plugin *>& Spm::Plugin::PluginManager::getPlugins | ( | ) |
| const Plugin* Spm::Plugin::PluginManager::getPlugin | ( | const miniXml::ustring & | pluginName | ) | throw (NoPluginException) |
| Plugin* Spm::Plugin::PluginManager::getRefPlugin | ( | const miniXml::ustring & | pluginName | ) | throw (NoPluginException) |
| StepPlugin* Spm::Plugin::PluginManager::getStep | ( | const miniXml::ustring & | pluginName, | |
| const Util::PropertyList & | pOptions | |||
| ) | throw (NoPluginException) |
| pluginName | The name of the wanted plugin | |
| pOptions | The options of the plugin |
| DownloadPlugin* Spm::Plugin::PluginManager::getDownloader | ( | const miniXml::ustring & | uri | ) | throw (NoPluginHandlerException) |
| uri | The uri that the plugin must handle |
| InstallerPlugin* Spm::Plugin::PluginManager::getInstaller | ( | Util::Compressed * | compressed, | |
| const Util::PropertyList & | pList = Util::PropertyList() | |||
| ) |
| compressed | The archive that the plugin must handle |
| InfoInterface* Spm::Plugin::PluginManager::getInfo | ( | const miniXml::ustring | pluginName, | |
| const miniXml::ustring & | uri | |||
| ) |
| pluginName | The name of the wanted plugin | |
| uri | The uri that the plugin must handle |
| iterator Spm::Plugin::PluginManager::begin | ( | ) | [inline] |
| const_iterator Spm::Plugin::PluginManager::begin | ( | ) | const [inline] |
| reverse_iterator Spm::Plugin::PluginManager::rbegin | ( | ) | [inline] |
| const_reverse_iterator Spm::Plugin::PluginManager::rbegin | ( | ) | const [inline] |
| iterator Spm::Plugin::PluginManager::end | ( | ) | [inline] |
| const_iterator Spm::Plugin::PluginManager::end | ( | ) | const [inline] |
| reverse_iterator Spm::Plugin::PluginManager::rend | ( | ) | [inline] |
| const_reverse_iterator Spm::Plugin::PluginManager::rend | ( | ) | const [inline] |
friend class InstallerInterface [friend] |
friend class Core::PackageManager [friend] |
| boost::signal<void (Plugin *)> Spm::Plugin::PluginManager::signalNewPlugin)() |
1.5.2