gepetto::gui::PluginManager Class Reference

#include <gepetto/gui/dialog/pluginmanagerdialog.hh>

Public Types

typedef QPair< QString, QPluginLoader * > Pair
 
typedef QMap< QString, QPluginLoader * > Map
 
typedef QPair< QString, QString > PyPair
 
typedef QMap< QString, QString > PyMap
 

Public Member Functions

 ~PluginManager ()
 
const Mapplugins () const
 
const PyMappyplugins () const
 
template<typename Interface >
Interface * getFirstOf ()
 
template<typename Interface >
QList< Interface * > get ()
 
void declareAllPlugins (QWidget *parent=NULL)
 
bool declarePlugin (const QString &name, QWidget *parent=NULL)
 
bool loadPlugin (const QString &name)
 
bool initPlugin (const QString &name)
 
bool unloadPlugin (const QString &name)
 
void clearPlugins ()
 
void declareAllPyPlugins ()
 
bool declarePyPlugin (const QString &name)
 
bool loadPyPlugin (const QString &name)
 
bool unloadPyPlugin (const QString &name)
 
bool isPyPluginLoaded (const QString &name)
 
void clearPyPlugins ()
 

Static Public Member Functions

static QIcon icon (const QPluginLoader *pl)
 
static QString status (const QPluginLoader *pl)
 
static void addPluginDir (const QString &path)
 

Member Typedef Documentation

◆ Map

typedef QMap<QString, QPluginLoader*> gepetto::gui::PluginManager::Map

◆ Pair

typedef QPair<QString, QPluginLoader*> gepetto::gui::PluginManager::Pair

◆ PyMap

typedef QMap<QString, QString> gepetto::gui::PluginManager::PyMap

◆ PyPair

typedef QPair<QString, QString> gepetto::gui::PluginManager::PyPair

Constructor & Destructor Documentation

◆ ~PluginManager()

gepetto::gui::PluginManager::~PluginManager ( )
inline

Member Function Documentation

◆ addPluginDir()

static void gepetto::gui::PluginManager::addPluginDir ( const QString &  path)
static

◆ clearPlugins()

void gepetto::gui::PluginManager::clearPlugins ( )

◆ clearPyPlugins()

void gepetto::gui::PluginManager::clearPyPlugins ( )

◆ declareAllPlugins()

void gepetto::gui::PluginManager::declareAllPlugins ( QWidget *  parent = NULL)

◆ declareAllPyPlugins()

void gepetto::gui::PluginManager::declareAllPyPlugins ( )

◆ declarePlugin()

bool gepetto::gui::PluginManager::declarePlugin ( const QString &  name,
QWidget *  parent = NULL 
)

◆ declarePyPlugin()

bool gepetto::gui::PluginManager::declarePyPlugin ( const QString &  name)

◆ get()

template<typename Interface >
QList< Interface * > gepetto::gui::PluginManager::get ( )

◆ getFirstOf()

template<typename Interface >
Interface * gepetto::gui::PluginManager::getFirstOf ( )

◆ icon()

static QIcon gepetto::gui::PluginManager::icon ( const QPluginLoader *  pl)
static

◆ initPlugin()

bool gepetto::gui::PluginManager::initPlugin ( const QString &  name)

◆ isPyPluginLoaded()

bool gepetto::gui::PluginManager::isPyPluginLoaded ( const QString &  name)

◆ loadPlugin()

bool gepetto::gui::PluginManager::loadPlugin ( const QString &  name)

◆ loadPyPlugin()

bool gepetto::gui::PluginManager::loadPyPlugin ( const QString &  name)

◆ plugins()

const Map& gepetto::gui::PluginManager::plugins ( ) const
inline

◆ pyplugins()

const PyMap& gepetto::gui::PluginManager::pyplugins ( ) const
inline

◆ status()

static QString gepetto::gui::PluginManager::status ( const QPluginLoader *  pl)
static

◆ unloadPlugin()

bool gepetto::gui::PluginManager::unloadPlugin ( const QString &  name)

◆ unloadPyPlugin()

bool gepetto::gui::PluginManager::unloadPyPlugin ( const QString &  name)

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