ctkAbstractLibraryFactory< BaseClassType, FactoryItemType > Class Template Reference

#include <Libs/Core/ctkAbstractLibraryFactory.h>

Inheritance diagram for ctkAbstractLibraryFactory< BaseClassType, FactoryItemType >:
Inheritance graph
[legend]
Collaboration diagram for ctkAbstractLibraryFactory< BaseClassType, FactoryItemType >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ctkAbstractLibraryFactory ()
virtual QString fileNameToKey (const QString &fileName)
virtual bool registerLibrary (const QFileInfo &file, QString &key)
void setSymbols (const QStringList &symbols)
virtual ~ctkAbstractLibraryFactory ()

Private Member Functions

 ctkAbstractLibraryFactory (const ctkAbstractLibraryFactory &)
void operator= (const ctkAbstractLibraryFactory &)
 Not implemented.

Private Attributes

QStringList Symbols
 Not implemented.

Detailed Description

template<typename BaseClassType, typename FactoryItemType>
class ctkAbstractLibraryFactory< BaseClassType, FactoryItemType >

Definition at line 69 of file ctkAbstractLibraryFactory.h.


Constructor & Destructor Documentation

template<typename BaseClassType , typename FactoryItemType >
ctkAbstractLibraryFactory< BaseClassType, FactoryItemType >::ctkAbstractLibraryFactory (  )  [explicit]

Constructor

template<typename BaseClassType , typename FactoryItemType >
virtual ctkAbstractLibraryFactory< BaseClassType, FactoryItemType >::~ctkAbstractLibraryFactory (  )  [virtual]
template<typename BaseClassType , typename FactoryItemType >
ctkAbstractLibraryFactory< BaseClassType, FactoryItemType >::ctkAbstractLibraryFactory ( const ctkAbstractLibraryFactory< BaseClassType, FactoryItemType > &   )  [private]

Member Function Documentation

template<typename BaseClassType , typename FactoryItemType >
virtual QString ctkAbstractLibraryFactory< BaseClassType, FactoryItemType >::fileNameToKey ( const QString &  fileName  )  [virtual]

Return a name allowing to uniquely identify the library By default, it return fileName

template<typename BaseClassType , typename FactoryItemType >
void ctkAbstractLibraryFactory< BaseClassType, FactoryItemType >::operator= ( const ctkAbstractLibraryFactory< BaseClassType, FactoryItemType > &   )  [private]

Not implemented.

Reimplemented from ctkAbstractFactory< BaseClassType >.

template<typename BaseClassType , typename FactoryItemType >
virtual bool ctkAbstractLibraryFactory< BaseClassType, FactoryItemType >::registerLibrary ( const QFileInfo &  file,
QString &  key 
) [virtual]

Register a plugin in the factory The parameter key passed by reference will be updated with the associated object name obtained using fileNameToKey()

template<typename BaseClassType , typename FactoryItemType >
void ctkAbstractLibraryFactory< BaseClassType, FactoryItemType >::setSymbols ( const QStringList &  symbols  ) 

Set the list of symbols


Member Data Documentation

template<typename BaseClassType , typename FactoryItemType >
QStringList ctkAbstractLibraryFactory< BaseClassType, FactoryItemType >::Symbols [private]

Not implemented.

Definition at line 96 of file ctkAbstractLibraryFactory.h.


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

Generated on 21 May 2010 for CTK by  doxygen 1.6.1