Slicer  4.11
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
[legend]
Collaboration diagram for qSlicerCLILoadableModuleFactory:
Collaboration graph
[legend]

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 ( )
override

Member Function Documentation

◆ createFactoryFileBasedItem()

ctkAbstractFactoryItem<qSlicerAbstractCoreModule>* qSlicerCLILoadableModuleFactory::createFactoryFileBasedItem ( )
overrideprotected

◆ fileNameToKey()

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

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

See also
qSlicerUtils::extractModuleNameFromLibraryName

◆ isValidFile()

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

◆ registerItems()

void qSlicerCLILoadableModuleFactory::registerItems ( )
override

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
protected

Definition at line 93 of file qSlicerCLILoadableModuleFactory.h.


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