GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
|
Public Member Functions | |
SingletonStorage * | GetSingletonStorage (const std::type_info &) |
Get the Singleton Storage object. More... | |
Static Public Member Functions | |
static SingletonStorageCollection * | GetInstance () |
Get the Instance object. More... | |
Private Attributes | |
std::shared_mutex | storages_mutex_ |
mutex for storages_map_ | |
std::map< size_t, std::unique_ptr< SingletonStorage > > | storages_map_ |
|
static |
Get the Instance object.
Referenced by GpgFrontend::SingletonFunctionObject< GpgContext >::CreateInstance(), GpgFrontend::SingletonFunctionObject< GpgContext >::GetAllChannelId(), GpgFrontend::SingletonFunctionObject< GpgContext >::GetInstance(), and GpgFrontend::SingletonFunctionObject< GpgContext >::ReleaseChannel().
GpgFrontend::SingletonStorage * GpgFrontend::SingletonStorageCollection::GetSingletonStorage | ( | const std::type_info & | type_id | ) |
Get the Singleton Storage object.
singleton_function_object |
Referenced by GpgFrontend::SingletonFunctionObject< GpgContext >::CreateInstance(), GpgFrontend::SingletonFunctionObject< GpgContext >::GetAllChannelId(), GpgFrontend::SingletonFunctionObject< GpgContext >::GetInstance(), and GpgFrontend::SingletonFunctionObject< GpgContext >::ReleaseChannel().