32#ifndef _QX_SINGLETON_H_
33#define _QX_SINGLETON_H_
46#include <QtCore/qmutex.h>
47#include <QtCore/qcoreapplication.h>
86#include "../../inl/QxSingleton/QxSingleton.inl"
Common interface for all singleton of QxOrm library.
qx::IxSingleton : common interface for all singleton of QxOrm library
qx::QxSingleton<T> : concrete class to define a thread-safe singleton of type T
QxSingleton(const QString &sKey)
static void deleteSingleton()
static T * m_pSingleton
Singleton -> only 1 instance allowed.
static QMutex m_oMutexSingleton
Mutex -> 'QxSingleton' is thread-safe.
static T * getSingleton()
static bool isSingletonNull()
virtual void deleteInstance()
Root namespace for all QxOrm library features.