Slicer  5.3
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
qSlicerCLILoadableModuleFactory Class Reference

#include <Base/QTCLI/qSlicerCLILoadableModuleFactory.h>

Inheritance diagram for qSlicerCLILoadableModuleFactory:
Inheritance graph
Collaboration diagram for qSlicerCLILoadableModuleFactory:
Collaboration graph

Public Types

typedef ctkAbstractLibraryFactory< qSlicerAbstractCoreModuleSuperclass

Public Member Functions

QString fileNameToKey (const QString &fileName) const override
 qSlicerCLILoadableModuleFactory ()
void registerItems () override
 Reimplemented to scan the directory of the command line modules. More...
void setTempDirectory (const QString &newTempDirectory)
 ~qSlicerCLILoadableModuleFactory () override

Protected Member Functions

ctkAbstractFactoryItem< qSlicerAbstractCoreModule > * createFactoryFileBasedItem () override
bool isValidFile (const QFileInfo &file) const override

Protected Attributes

QScopedPointer< qSlicerCLILoadableModuleFactoryPrivate > d_ptr

Detailed Description

Definition at line 64 of file qSlicerCLILoadableModuleFactory.h.

Member Typedef Documentation

◆ Superclass

Definition at line 68 of file qSlicerCLILoadableModuleFactory.h.

Constructor & Destructor Documentation

◆ qSlicerCLILoadableModuleFactory()

qSlicerCLILoadableModuleFactory::qSlicerCLILoadableModuleFactory ( )

◆ ~qSlicerCLILoadableModuleFactory()

qSlicerCLILoadableModuleFactory::~qSlicerCLILoadableModuleFactory ( )

Member Function Documentation

◆ createFactoryFileBasedItem()

ctkAbstractFactoryItem<qSlicerAbstractCoreModule>* qSlicerCLILoadableModuleFactory::createFactoryFileBasedItem ( )

◆ fileNameToKey()

QString qSlicerCLILoadableModuleFactory::fileNameToKey ( const QString &  fileName) const

Extract module name given libraryName For example: -> threshold libThresholdLib.{dylib, bundle, so} -> threshold ThresholdLib.dll -> threshold

See also

◆ isValidFile()

bool qSlicerCLILoadableModuleFactory::isValidFile ( const QFileInfo &  file) const

◆ registerItems()

void qSlicerCLILoadableModuleFactory::registerItems ( )

Reimplemented to scan the directory of the command line modules.

◆ setTempDirectory()

void qSlicerCLILoadableModuleFactory::setTempDirectory ( const QString &  newTempDirectory)

Member Data Documentation

◆ d_ptr

QScopedPointer<qSlicerCLILoadableModuleFactoryPrivate> qSlicerCLILoadableModuleFactory::d_ptr

Definition at line 93 of file qSlicerCLILoadableModuleFactory.h.

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