![]() |
CTK
0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
|
#include <Libs/Core/ctkAbstractLibraryFactory.h>
Public Types | |
typedef void * | SymbolAddressType |
Public Member Functions | |
virtual bool | load () |
bool | resolve () |
Resolve symbols. More... | |
void | setLoadHints (QLibrary::LoadHints hints) |
Set lookup hints for symbol resolution. See QLibrary documentation. More... | |
void | setSymbols (const QStringList &symbols) |
Set list of required symbols. More... | |
SymbolAddressType | symbolAddress (const QString &symbol) const |
Get symbol address. More... | |
![]() | |
QString | path () const |
void | setPath (const QString &path) |
Get path associated with the object identified by key. More... | |
![]() | |
ctkAbstractFactoryItem () | |
BaseClassType * | instance () const |
BaseClassType * | instantiate () |
QStringList | instantiateErrorStrings () const |
QStringList | instantiateWarningStrings () const |
bool | isInstantiated () const |
QStringList | loadErrorStrings () const |
QStringList | loadWarningStrings () const |
void | setVerbose (bool value) |
virtual void | uninstantiate () |
bool | verbose () const |
virtual | ~ctkAbstractFactoryItem () |
Protected Types | |
typedef QHash< QString, SymbolAddressType >::const_iterator | ConstIterator |
typedef QHash< QString, SymbolAddressType >::iterator | Iterator |
Protected Attributes | |
QLibrary | Library |
QHash< QString, SymbolAddressType > | ResolvedSymbols |
QStringList | Symbols |
![]() | |
BaseClassType * | Instance |
Additional Inherited Members | |
![]() | |
void | appendInstantiateErrorString (const QString &msg) |
void | appendInstantiateWarningString (const QString &msg) |
void | appendLoadErrorString (const QString &msg) |
void | appendLoadWarningString (const QString &msg) |
void | clearInstantiateErrorStrings () |
void | clearInstantiateWarningStrings () |
void | clearLoadErrorStrings () |
void | clearLoadWarningStrings () |
virtual BaseClassType * | instanciator ()=0 |
Must be reimplemented in subclasses to instanciate a BaseClassType*. More... | |
Definition at line 35 of file ctkAbstractLibraryFactory.h.
|
protected |
Definition at line 47 of file ctkAbstractLibraryFactory.h.
|
protected |
Definition at line 48 of file ctkAbstractLibraryFactory.h.
typedef void* ctkFactoryLibraryItem< BaseClassType >::SymbolAddressType |
Definition at line 41 of file ctkAbstractLibraryFactory.h.
|
virtual |
Implements ctkAbstractFactoryItem< BaseClassType >.
bool ctkFactoryLibraryItem< BaseClassType >::resolve | ( | ) |
Resolve symbols.
void ctkFactoryLibraryItem< BaseClassType >::setLoadHints | ( | QLibrary::LoadHints | hints | ) |
Set lookup hints for symbol resolution. See QLibrary documentation.
void ctkFactoryLibraryItem< BaseClassType >::setSymbols | ( | const QStringList & | symbols | ) |
Set list of required symbols.
SymbolAddressType ctkFactoryLibraryItem< BaseClassType >::symbolAddress | ( | const QString & | symbol | ) | const |
Get symbol address.
|
mutableprotected |
Definition at line 73 of file ctkAbstractLibraryFactory.h.
|
protected |
Definition at line 74 of file ctkAbstractLibraryFactory.h.
|
protected |
Definition at line 75 of file ctkAbstractLibraryFactory.h.