proxygen
Singleton.h File Reference
#include <folly/Exception.h>
#include <folly/Executor.h>
#include <folly/Memory.h>
#include <folly/Synchronized.h>
#include <folly/detail/Singleton.h>
#include <folly/detail/StaticSingletonManager.h>
#include <folly/experimental/ReadMostlySharedPtr.h>
#include <folly/hash/Hash.h>
#include <folly/lang/Exception.h>
#include <folly/synchronization/Baton.h>
#include <folly/synchronization/RWSpinLock.h>
#include <algorithm>
#include <atomic>
#include <condition_variable>
#include <functional>
#include <list>
#include <memory>
#include <mutex>
#include <string>
#include <thread>
#include <typeindex>
#include <typeinfo>
#include <unordered_map>
#include <unordered_set>
#include <vector>
#include <glog/logging.h>
#include <folly/Singleton-inl.h>

Go to the source code of this file.

Classes

class  folly::detail::TypeDescriptor
 
class  folly::detail::TypeDescriptorHasher
 
struct  folly::detail::SingletonVaultState
 
class  folly::detail::SingletonHolderBase
 
struct  folly::detail::SingletonHolder< T >
 
class  folly::SingletonVault
 
struct  folly::SingletonVault::ScopedExpunger
 
class  folly::Singleton< T, Tag, VaultTag >
 
class  folly::LeakySingleton< T, Tag >
 
struct  folly::LeakySingleton< T, Tag >::Entry
 

Namespaces

 folly
 —— Concurrent Priority Queue Implementation ——
 
 folly::detail
 

Macros

#define FOLLY_SINGLETON_TRY_GET
 

Functions

void folly::detail::singletonWarnLeakyDoubleRegistrationAndAbort (const TypeDescriptor &type)
 
void folly::detail::singletonWarnLeakyInstantiatingNotRegisteredAndAbort (const TypeDescriptor &type)
 
void folly::detail::singletonWarnRegisterMockEarlyAndAbort (const TypeDescriptor &type)
 
void folly::detail::singletonWarnDestroyInstanceLeak (const TypeDescriptor &type, const void *ptr)
 
void folly::detail::singletonWarnCreateCircularDependencyAndAbort (const TypeDescriptor &type)
 
void folly::detail::singletonWarnCreateUnregisteredAndAbort (const TypeDescriptor &type)
 
void folly::detail::singletonWarnCreateBeforeRegistrationCompleteAndAbort (const TypeDescriptor &type)
 
void folly::detail::singletonPrintDestructionStackTrace (const TypeDescriptor &type)
 
void folly::detail::singletonThrowNullCreator (const std::type_info &type)
 
void folly::detail::singletonThrowGetInvokedAfterDestruction (const TypeDescriptor &type)
 

Macro Definition Documentation

#define FOLLY_SINGLETON_TRY_GET

Definition at line 155 of file Singleton.h.