ctkAbstractPluginFactory< BaseClassType, FactoryItemType > Class Template Reference

#include <Libs/Core/ctkAbstractPluginFactory.h>

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

List of all members.

Public Member Functions

 ctkAbstractPluginFactory ()
virtual QString fileNameToKey (const QString &fileName)
virtual bool registerLibrary (const QFileInfo &file, QString &key)
virtual ~ctkAbstractPluginFactory ()

Private Member Functions

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

Detailed Description

template<typename BaseClassType, typename FactoryItemType = ctkFactoryPluginItem<BaseClassType>>
class ctkAbstractPluginFactory< BaseClassType, FactoryItemType >

Definition at line 51 of file ctkAbstractPluginFactory.h.


Constructor & Destructor Documentation

template<typename BaseClassType , typename FactoryItemType = ctkFactoryPluginItem<BaseClassType>>
ctkAbstractPluginFactory< BaseClassType, FactoryItemType >::ctkAbstractPluginFactory (  )  [explicit]

Constructor

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

Member Function Documentation

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

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

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

Not implemented.

Reimplemented from ctkAbstractFactory< BaseClassType >.

template<typename BaseClassType , typename FactoryItemType = ctkFactoryPluginItem<BaseClassType>>
virtual bool ctkAbstractPluginFactory< 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()


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