32#ifndef _QX_SINGLETON_X_H_
33#define _QX_SINGLETON_X_H_
46#include <QtCore/qhash.h>
foreach-style (based on BOOST_FOREACH macro) to iterate over all stl, boost and Qt containers + qx::Q...
#define QX_DLL_EXPORT_QX_SINGLETON_HPP(x)
Concrete class to define a thread-safe 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
qx::QxSingletonX : list of all singleton defined by QxOrm library (this container is also a singleton...
static bool removeSingleton(const QString &sKey)
static QMutex * getMutexSingletonX()
Mutex -> 'QxSingletonX' is thread-safe.
static void deleteAllSingleton()
static QHash< QString, IxSingleton * > & getMapSingletonX()
Collection of all 'IxSingleton' pointer.
static bool addSingleton(const QString &sKey, IxSingleton *pSingleton)
static bool & getOnClearSingletonX()
Clear collection of 'IxSingleton' in event.
Root namespace for all QxOrm library features.