#include <Libs/Core/ctkAbstractLibraryFactory.h>
|
void | setSymbols (const QStringList &symbols) |
| Set the list of symbols.
|
|
virtual bool | isValidFile (const QFileInfo &file) const |
|
QString | itemKey (const QFileInfo &file) const |
|
virtual QString | path (const QString &key) |
| Get path associated with the library identified by key.
|
|
QString | registerFileItem (const QFileInfo &file) |
|
| ctkAbstractFactory () |
| Constructor/Desctructor.
|
|
virtual BaseClassType * | instance (const QString &itemKey) |
| Return the instance associated with itemKey if any, otherwise return 0.
|
|
virtual BaseClassType * | instantiate (const QString &itemKey) |
| Create an instance of the object. The item corresponding to the key should have been registered before.
|
|
QStringList | itemKeys () const |
| Get list of all registered item keys.
|
|
virtual QString | path (const QString &itemKey) |
| Get path associated with the item identified by itemKey Should be overloaded in subclasse.
|
|
virtual void | printAdditionalInfo () |
|
virtual void | registerItems () |
| Register items with the factory Method provided for convenience - Should be overloaded in subclasse.
|
|
void | setSharedItems (const QSharedPointer< HashType > &items) |
|
void | setVerbose (bool value) |
| Enabled verbose output Warning and error message will be printed to standard outputs.
|
|
QSharedPointer< HashType > | sharedItems () |
|
void | uninstantiate (const QString &itemKey) |
| Uninstanciate the object. Do nothing if the item given by the key has not be instantiated nor registered.
|
|
bool | verbose () const |
|
virtual | ~ctkAbstractFactory () |
|
template<typename BaseClassType>
class ctkAbstractLibraryFactory< BaseClassType >
Definition at line 81 of file ctkAbstractLibraryFactory.h.
◆ initItem()
template<typename BaseClassType >
◆ isValidFile()
template<typename BaseClassType >
◆ setSymbols()
template<typename BaseClassType >
The documentation for this class was generated from the following file: