Example #1
0
	static Router& instance() {
		static Poco::SingletonHolder<Router> sh;
		return *sh.get();
	}
Example #2
0
SSLManager& SSLManager::instance()
{
	static Poco::SingletonHolder<SSLManager> singleton;
	return *singleton.get();
}
Example #3
0
/***********************************************************************
 * registry data structure
 **********************************************************************/
static Poco::RWLock &getRegistryMutex(void)
{
    static Poco::SingletonHolder<Poco::RWLock> sh;
    return *sh.get();
}
Example #4
0
static RegistryEntry &getRegistryRoot(void)
{
    static Poco::SingletonHolder<RegistryEntry> sh;
    return *sh.get();
}
Example #5
0
static Poco::NamedMutex &getLoaderCacheMutex(void)
{
    static Poco::SingletonHolder<LoaderCacheNamedMutex> sh;
    return *sh.get();
}
Example #6
0
static std::mutex &getModuleMutex(void)
{
    static Poco::SingletonHolder<std::mutex> sh;
    return *sh.get();
}
Example #7
0
ApacheApplication& ApacheApplication::instance()
{
	static Poco::SingletonHolder<ApacheApplication> sh;
	return *sh.get();
}
Example #8
0
/***********************************************************************
 * mutex for protecting logger methods
 **********************************************************************/
static std::mutex &getSetupLoggerMutex(void)
{
    static Poco::SingletonHolder<std::mutex> sh;
    return *sh.get();
}
Example #9
0
static HashFcnMapType &getHashFcnMap(void)
{
    static Poco::SingletonHolder<HashFcnMapType> sh;
    return *sh.get();
}
Example #10
0
static std::atomic<size_t> &getUIDAtomic(void)
{
    static Poco::SingletonHolder<std::atomic<size_t>> sh;
    return *sh.get();
}
Example #11
0
LedCtrl& LedCtrl::get()
{
    static Poco::SingletonHolder<LedCtrl> sh;
    return *sh.get ();
}
Example #12
0
static ServerObjectsMapType &getObjectsMap(void)
{
    static Poco::SingletonHolder<ServerObjectsMapType> sh;
    return *sh.get();
}
Example #13
0
SDCLibrary2 & SDCLibrary2::getInstance() {
	static Poco::SingletonHolder<SDCLibrary2> singletonHolder;
	return *singletonHolder.get();
}
Example #14
0
const Pothos::BufferChunk &Pothos::BufferChunk::null(void)
{
    static Poco::SingletonHolder<BufferChunk> sh;
    return *sh.get();
}
Example #15
0
const DOMImplementation& DOMImplementation::instance()
{
	static Poco::SingletonHolder<DOMImplementation> sh;
	return *sh.get();
}