GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
GpgFrontend::SingletonStorageCollection Class Reference
Collaboration diagram for GpgFrontend::SingletonStorageCollection:
Collaboration graph

Public Member Functions

SingletonStorageGetSingletonStorage (const std::type_info &)
 Get the Singleton Storage object. More...
 

Static Public Member Functions

static SingletonStorageCollectionGetInstance (bool force_refresh)
 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_
 

Member Function Documentation

◆ GetInstance()

GpgFrontend::SingletonStorageCollection * GpgFrontend::SingletonStorageCollection::GetInstance ( bool  force_refresh = false)
static

◆ GetSingletonStorage()

GpgFrontend::SingletonStorage * GpgFrontend::SingletonStorageCollection::GetSingletonStorage ( const std::type_info &  type_id)

The documentation for this class was generated from the following files: