#include <Libs/Core/ctkAbstractPluginFactory.h>
|
| typedef QHash< QString, QSharedPointer< ctkAbstractFactoryItem< BaseClassType > > > | HashType |
| |
| 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 () |
| |
| typedef HashType::const_iterator | ConstIterator |
| |
| typedef HashType::iterator | Iterator |
| |
template<typename BaseClassType>
class ctkAbstractPluginFactory< BaseClassType >
Definition at line 50 of file ctkAbstractPluginFactory.h.
◆ createFactoryFileBasedItem()
template<typename BaseClassType >
◆ isValidFile()
template<typename BaseClassType >
The documentation for this class was generated from the following file: