Public Member Functions | Protected Types | Private Attributes

ctkFactoryLibraryItem< BaseClassType > Class Template Reference

#include <Libs/Core/ctkAbstractLibraryFactory.h>

Inheritance diagram for ctkFactoryLibraryItem< BaseClassType >:
Inheritance graph
[legend]
Collaboration diagram for ctkFactoryLibraryItem< BaseClassType >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ctkFactoryLibraryItem (const QString &key, const QString &path)
virtual bool load ()
virtual QString loadErrorString () const
QString path () const
bool resolve ()
void setSymbols (const QStringList &symbols)
void * symbolAddress (const QString &symbol) const

Protected Types

typedef QHash< QString, void * >
::const_iterator 
ConstIterator
typedef QHash< QString, void * >
::iterator 
Iterator

Private Attributes

QLibrary Library
QString Path
QHash< QString, void * > ResolvedSymbols
QStringList Symbols

Detailed Description

template<typename BaseClassType>
class ctkFactoryLibraryItem< BaseClassType >

Definition at line 34 of file ctkAbstractLibraryFactory.h.


Member Typedef Documentation

template<typename BaseClassType >
typedef QHash<QString, void*>::const_iterator ctkFactoryLibraryItem< BaseClassType >::ConstIterator [protected]

Definition at line 37 of file ctkAbstractLibraryFactory.h.

template<typename BaseClassType >
typedef QHash<QString, void*>::iterator ctkFactoryLibraryItem< BaseClassType >::Iterator [protected]

Definition at line 38 of file ctkAbstractLibraryFactory.h.


Constructor & Destructor Documentation

template<typename BaseClassType >
ctkFactoryLibraryItem< BaseClassType >::ctkFactoryLibraryItem ( const QString &  key,
const QString &  path 
) [explicit]

Member Function Documentation

template<typename BaseClassType >
virtual bool ctkFactoryLibraryItem< BaseClassType >::load (  )  [virtual]
template<typename BaseClassType >
virtual QString ctkFactoryLibraryItem< BaseClassType >::loadErrorString (  )  const [virtual]
template<typename BaseClassType >
QString ctkFactoryLibraryItem< BaseClassType >::path (  )  const
template<typename BaseClassType >
bool ctkFactoryLibraryItem< BaseClassType >::resolve (  ) 

Resolve symbols Note that the function will return False if it fails to resolve on of the required symbols set using setSymbols

template<typename BaseClassType >
void ctkFactoryLibraryItem< BaseClassType >::setSymbols ( const QStringList &  symbols  ) 

Set list of required symbols

template<typename BaseClassType >
void* ctkFactoryLibraryItem< BaseClassType >::symbolAddress ( const QString &  symbol  )  const

Get symbol address


Member Data Documentation

template<typename BaseClassType >
QLibrary ctkFactoryLibraryItem< BaseClassType >::Library [private]

Definition at line 61 of file ctkAbstractLibraryFactory.h.

template<typename BaseClassType >
QString ctkFactoryLibraryItem< BaseClassType >::Path [private]

Definition at line 62 of file ctkAbstractLibraryFactory.h.

template<typename BaseClassType >
QHash<QString, void*> ctkFactoryLibraryItem< BaseClassType >::ResolvedSymbols [private]

Definition at line 63 of file ctkAbstractLibraryFactory.h.

template<typename BaseClassType >
QStringList ctkFactoryLibraryItem< BaseClassType >::Symbols [private]

Definition at line 64 of file ctkAbstractLibraryFactory.h.


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines