Slicer  4.8
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
 
 qSlicerCLILoadableModuleFactory ()
 
virtual void registerItems ()
 Reimplemented to scan the directory of the command line modules. More...
 
void setTempDirectory (const QString &newTempDirectory)
 
virtual ~qSlicerCLILoadableModuleFactory ()
 

Protected Member Functions

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

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

virtual qSlicerCLILoadableModuleFactory::~qSlicerCLILoadableModuleFactory ( )
virtual

Member Function Documentation

◆ createFactoryFileBasedItem()

virtual ctkAbstractFactoryItem<qSlicerAbstractCoreModule>* qSlicerCLILoadableModuleFactory::createFactoryFileBasedItem ( )
protectedvirtual

◆ fileNameToKey()

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

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

See also
qSlicerUtils::extractModuleNameFromLibraryName

◆ isValidFile()

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

◆ registerItems()

virtual void qSlicerCLILoadableModuleFactory::registerItems ( )
virtual

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: