#include <Libs/Core/ctkAbstractFileBasedFactory.h>
|
| 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. More...
|
| |
| QString | registerFileItem (const QFileInfo &file) |
| |
| | ctkAbstractFactory () |
| | Constructor/Desctructor. More...
|
| |
| virtual BaseClassType * | instance (const QString &itemKey) |
| | Return the instance associated with itemKey if any, otherwise return 0. More...
|
| |
| virtual BaseClassType * | instantiate (const QString &itemKey) |
| | Create an instance of the object. The item corresponding to the key should have been registered before. More...
|
| |
| QStringList | itemKeys () const |
| | Get list of all registered item keys. More...
|
| |
| virtual void | printAdditionalInfo () |
| |
| virtual void | registerItems () |
| | Register items with the factory Method provided for convenience - Should be overloaded in subclasse. More...
|
| |
| void | setSharedItems (const QSharedPointer< HashType > &items) |
| |
| void | setVerbose (bool value) |
| | Enabled verbose output Warning and error message will be printed to standard outputs. More...
|
| |
| 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. More...
|
| |
| bool | verbose () const |
| |
| virtual | ~ctkAbstractFactory () |
| |
template<typename BaseClassType>
class ctkAbstractFileBasedFactory< BaseClassType >
Definition at line 49 of file ctkAbstractFileBasedFactory.h.
◆ createFactoryFileBasedItem()
template<typename BaseClassType >
◆ fileNameToKey()
template<typename BaseClassType >
◆ initItem()
template<typename BaseClassType >
◆ isValidFile()
template<typename BaseClassType >
◆ itemKey()
template<typename BaseClassType >
◆ path()
template<typename BaseClassType >
◆ registerAllFileItems()
template<typename BaseClassType >
◆ registerFileItem() [1/2]
template<typename BaseClassType >
Register the item and return the itemkey on success, otherwise return an empty string.
◆ registerFileItem() [2/2]
template<typename BaseClassType >
The documentation for this class was generated from the following file: