21 #ifndef __qSlicerModuleFactoryManager_h 22 #define __qSlicerModuleFactoryManager_h 25 #include <QStringList> 29 class qSlicerModuleFactoryManagerPrivate;
57 Q_INVOKABLE
int loadModules();
60 Q_INVOKABLE QStringList loadedModuleNames()
const;
65 Q_INVOKABLE
void unloadModules();
68 Q_INVOKABLE
bool isLoaded(
const QString& name)
const;
85 Q_INVOKABLE
bool loadModules(
const QStringList& modules);
89 bool loadModule(
const QString& name);
92 QStringList modulePaths(
const QString& basePath);
100 void modulesLoaded(
const QStringList& modulesNames);
101 void moduleLoaded(
const QString& moduleName);
103 void modulesAboutToBeUnloaded(
const QStringList& modulesNames);
104 void moduleAboutToBeUnloaded(
const QString& moduleName);
106 void modulesUnloaded(
const QStringList& modulesNames);
107 void moduleUnloaded(
const QString& moduleName);
111 QScopedPointer<qSlicerModuleFactoryManagerPrivate>
d_ptr;
113 bool loadModule(
const QString& name,
const QString& dependee);
116 void unloadModule(
const QString& name);
QScopedPointer< qSlicerModuleFactoryManagerPrivate > d_ptr
void uninstantiateModules()
Uninstantiate all instantiated modules.
virtual void uninstantiateModule(const QString &moduleName)
Uninstantiate a module given its moduleName.
A set of MRML Nodes that supports serialization and undo/redo.
virtual void printAdditionalInfo()
Print internal state using qDebug()
qSlicerAbstractCoreModule is the base class of any module in Slicer.
qSlicerAbstractModuleFactoryManager Superclass