21 #ifndef __qSlicerLoadableModuleFactory_h 22 #define __qSlicerLoadableModuleFactory_h 26 #include <ctkAbstractPluginFactory.h> 31 #include "qSlicerBaseQTCoreExport.h" 33 class qSlicerLoadableModuleFactoryPrivate;
37 :
public ctkFactoryPluginItem<qSlicerAbstractCoreModule>
47 public ctkAbstractPluginFactory<qSlicerAbstractCoreModule>
51 typedef ctkAbstractPluginFactory<qSlicerAbstractCoreModule>
Superclass;
56 virtual void registerItems();
59 virtual QString fileNameToKey(
const QString& fileName)
const;
63 static QString extractModuleName(
const QString& libraryName);
68 virtual bool isValidFile(
const QFileInfo& file)
const;
71 QScopedPointer<qSlicerLoadableModuleFactoryPrivate>
d_ptr;
virtual qSlicerAbstractCoreModule * instanciator()
qSlicerLoadableModuleFactoryItem()
qSlicerAbstractCoreModule is the base class of any module in Slicer.
ctkAbstractPluginFactory< qSlicerAbstractCoreModule > Superclass
QScopedPointer< qSlicerLoadableModuleFactoryPrivate > d_ptr