proxygen
|
#include <Singleton.h>
Public Member Functions | |
SingletonHolderBase (TypeDescriptor typeDesc) | |
virtual | ~SingletonHolderBase ()=default |
TypeDescriptor | type () const |
virtual bool | hasLiveInstance ()=0 |
virtual void | createInstance ()=0 |
virtual bool | creationStarted ()=0 |
virtual void | preDestroyInstance (ReadMostlyMainPtrDeleter<> &)=0 |
virtual void | destroyInstance ()=0 |
Private Attributes | |
TypeDescriptor | type_ |
Definition at line 280 of file Singleton.h.
|
inlineexplicit |
Definition at line 282 of file Singleton.h.
|
virtualdefault |
|
pure virtual |
Implemented in folly::detail::SingletonHolder< T >.
|
pure virtual |
Implemented in folly::detail::SingletonHolder< T >.
|
pure virtual |
Implemented in folly::detail::SingletonHolder< T >.
|
pure virtual |
Implemented in folly::detail::SingletonHolder< T >.
|
pure virtual |
Implemented in folly::detail::SingletonHolder< T >.
|
inline |
Definition at line 285 of file Singleton.h.
References type_.
Referenced by folly::SingletonVault::addEagerInitSingleton(), folly::detail::SingletonHolder< T >::createInstance(), and folly::SingletonVault::registerSingleton().
|
private |
Definition at line 295 of file Singleton.h.