KDECore
KSycocaFactorySingleton< F > Class Template Reference
Template for making it easier to define a threadsafe singleton for each factory, with support for kbuildsycoca providing a subclass of the factory. More...
#include <ksycocafactory.h>
Public Types | |
typedef KSycocaFactoryContainer< F > | C |
Public Member Functions | |
void | instanceCreated (F *newFactory) |
void | instanceDestroyed (F *factory) |
KSycocaFactorySingleton () | |
F * | self () |
~KSycocaFactorySingleton () |
Detailed Description
template<typename F>
class KSycocaFactorySingleton< F >
Template for making it easier to define a threadsafe singleton for each factory, with support for kbuildsycoca providing a subclass of the factory.
- Since:
- 4.3
For internal use only.
Definition at line 176 of file ksycocafactory.h.
Member Typedef Documentation
template<typename F >
typedef KSycocaFactoryContainer<F> KSycocaFactorySingleton< F >::C |
Definition at line 179 of file ksycocafactory.h.
Constructor & Destructor Documentation
template<typename F >
KSycocaFactorySingleton< F >::KSycocaFactorySingleton | ( | ) | [inline] |
Definition at line 180 of file ksycocafactory.h.
template<typename F >
KSycocaFactorySingleton< F >::~KSycocaFactorySingleton | ( | ) | [inline] |
Definition at line 182 of file ksycocafactory.h.
Member Function Documentation
template<typename F >
void KSycocaFactorySingleton< F >::instanceCreated | ( | F * | newFactory | ) | [inline] |
Definition at line 186 of file ksycocafactory.h.
template<typename F >
void KSycocaFactorySingleton< F >::instanceDestroyed | ( | F * | factory | ) | [inline] |
Definition at line 192 of file ksycocafactory.h.
template<typename F >
F* KSycocaFactorySingleton< F >::self | ( | ) | [inline] |
Definition at line 198 of file ksycocafactory.h.
The documentation for this class was generated from the following file: