예제 #1
0
파일: Router.hpp 프로젝트: Meew/web-game
	static Router& instance() {
		static Poco::SingletonHolder<Router> sh;
		return *sh.get();
	}
예제 #2
0
SSLManager& SSLManager::instance()
{
	static Poco::SingletonHolder<SSLManager> singleton;
	return *singleton.get();
}
예제 #3
0
/***********************************************************************
 * registry data structure
 **********************************************************************/
static Poco::RWLock &getRegistryMutex(void)
{
    static Poco::SingletonHolder<Poco::RWLock> sh;
    return *sh.get();
}
예제 #4
0
static RegistryEntry &getRegistryRoot(void)
{
    static Poco::SingletonHolder<RegistryEntry> sh;
    return *sh.get();
}
예제 #5
0
static Poco::NamedMutex &getLoaderCacheMutex(void)
{
    static Poco::SingletonHolder<LoaderCacheNamedMutex> sh;
    return *sh.get();
}
예제 #6
0
static std::mutex &getModuleMutex(void)
{
    static Poco::SingletonHolder<std::mutex> sh;
    return *sh.get();
}
예제 #7
0
ApacheApplication& ApacheApplication::instance()
{
	static Poco::SingletonHolder<ApacheApplication> sh;
	return *sh.get();
}
예제 #8
0
/***********************************************************************
 * mutex for protecting logger methods
 **********************************************************************/
static std::mutex &getSetupLoggerMutex(void)
{
    static Poco::SingletonHolder<std::mutex> sh;
    return *sh.get();
}
예제 #9
0
파일: Hash.cpp 프로젝트: johnson325/pothos
static HashFcnMapType &getHashFcnMap(void)
{
    static Poco::SingletonHolder<HashFcnMapType> sh;
    return *sh.get();
}
예제 #10
0
static std::atomic<size_t> &getUIDAtomic(void)
{
    static Poco::SingletonHolder<std::atomic<size_t>> sh;
    return *sh.get();
}
예제 #11
0
파일: LedCtrl.cpp 프로젝트: byteman/lcs100
LedCtrl& LedCtrl::get()
{
    static Poco::SingletonHolder<LedCtrl> sh;
    return *sh.get ();
}
예제 #12
0
static ServerObjectsMapType &getObjectsMap(void)
{
    static Poco::SingletonHolder<ServerObjectsMapType> sh;
    return *sh.get();
}
예제 #13
0
SDCLibrary2 & SDCLibrary2::getInstance() {
	static Poco::SingletonHolder<SDCLibrary2> singletonHolder;
	return *singletonHolder.get();
}
예제 #14
0
const Pothos::BufferChunk &Pothos::BufferChunk::null(void)
{
    static Poco::SingletonHolder<BufferChunk> sh;
    return *sh.get();
}
예제 #15
0
const DOMImplementation& DOMImplementation::instance()
{
	static Poco::SingletonHolder<DOMImplementation> sh;
	return *sh.get();
}