ctkAbstractFactoryItem< BaseClassType > Class Template Reference

#include <Libs/Core/ctkAbstractFactory.h>

Inheritance diagram for ctkAbstractFactoryItem< BaseClassType >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ctkAbstractFactoryItem (const QString &key)
BaseClassType * instantiate ()
bool instantiated ()
QString key ()
virtual bool load ()=0
virtual QString loadErrorString () const
void setVerbose (bool value)
virtual void uninstantiate ()
bool verbose ()

Protected Member Functions

virtual BaseClassType * instanciator ()=0

Protected Attributes

BaseClassType * Instance

Private Attributes

QString Key
bool Verbose

Detailed Description

template<typename BaseClassType>
class ctkAbstractFactoryItem< BaseClassType >

Definition at line 38 of file ctkAbstractFactory.h.


Constructor & Destructor Documentation

template<typename BaseClassType>
ctkAbstractFactoryItem< BaseClassType >::ctkAbstractFactoryItem ( const QString &  key  )  [explicit]

Member Function Documentation

template<typename BaseClassType>
virtual BaseClassType* ctkAbstractFactoryItem< BaseClassType >::instanciator (  )  [protected, pure virtual]
template<typename BaseClassType>
BaseClassType* ctkAbstractFactoryItem< BaseClassType >::instantiate (  ) 
template<typename BaseClassType>
bool ctkAbstractFactoryItem< BaseClassType >::instantiated (  ) 
template<typename BaseClassType>
QString ctkAbstractFactoryItem< BaseClassType >::key (  ) 
template<typename BaseClassType>
virtual bool ctkAbstractFactoryItem< BaseClassType >::load (  )  [pure virtual]
template<typename BaseClassType>
virtual QString ctkAbstractFactoryItem< BaseClassType >::loadErrorString (  )  const [virtual]
template<typename BaseClassType>
void ctkAbstractFactoryItem< BaseClassType >::setVerbose ( bool  value  ) 
template<typename BaseClassType>
virtual void ctkAbstractFactoryItem< BaseClassType >::uninstantiate (  )  [virtual]
template<typename BaseClassType>
bool ctkAbstractFactoryItem< BaseClassType >::verbose (  ) 

Member Data Documentation

template<typename BaseClassType>
BaseClassType* ctkAbstractFactoryItem< BaseClassType >::Instance [protected]

Definition at line 53 of file ctkAbstractFactory.h.

template<typename BaseClassType>
QString ctkAbstractFactoryItem< BaseClassType >::Key [private]

Definition at line 55 of file ctkAbstractFactory.h.

template<typename BaseClassType>
bool ctkAbstractFactoryItem< BaseClassType >::Verbose [private]

Definition at line 56 of file ctkAbstractFactory.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