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 void registerItems()
override;
59 QString fileNameToKey(
const QString& fileName)
const override;
63 static QString extractModuleName(
const QString& libraryName);
68 bool isValidFile(
const QFileInfo& file)
const override;
71 QScopedPointer<qSlicerLoadableModuleFactoryPrivate>
d_ptr;
qSlicerLoadableModuleFactoryItem()
qSlicerAbstractCoreModule is the base class of any module in Slicer.
ctkAbstractPluginFactory< qSlicerAbstractCoreModule > Superclass
QScopedPointer< qSlicerLoadableModuleFactoryPrivate > d_ptr
qSlicerAbstractCoreModule * instanciator() override