21 #ifndef __qSlicerCLIExecutableModuleFactory_h 22 #define __qSlicerCLIExecutableModuleFactory_h 26 #include "qSlicerBaseQTCLIExport.h" 31 #include <ctkAbstractPluginFactory.h> 35 :
public ctkAbstractFactoryFileBasedItem<qSlicerAbstractCoreModule>
48 QString TempDirectory;
52 class qSlicerCLIExecutableModuleFactoryPrivate;
56 public ctkAbstractFileBasedFactory<qSlicerAbstractCoreModule>
59 typedef ctkAbstractFileBasedFactory<qSlicerAbstractCoreModule>
Superclass;
64 virtual void registerItems();
70 virtual QString fileNameToKey(
const QString& fileName)
const;
72 void setTempDirectory(
const QString& newTempDirectory);
75 virtual bool isValidFile(
const QFileInfo& file)
const;
77 virtual ctkAbstractFactoryItem<qSlicerAbstractCoreModule>*
78 createFactoryFileBasedItem();
82 QScopedPointer<qSlicerCLIExecutableModuleFactoryPrivate>
d_ptr;
QScopedPointer< qSlicerCLIExecutableModuleFactoryPrivate > d_ptr
qSlicerCLIExecutableModuleFactoryItem(const QString &newTempDirectory)
virtual qSlicerAbstractCoreModule * instanciator()
QString runCLIWithXmlArgument()
qSlicerAbstractCoreModule is the base class of any module in Slicer.
virtual void uninstantiate()
QString xmlModuleDescriptionFilePath()
Return path of the expected XML file.
ctkAbstractFileBasedFactory< qSlicerAbstractCoreModule > Superclass