ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/source/global/management/include/G4ThreadLocalSingleton.hh>
Public Member Functions | |
G4ThreadLocalSingleton () | |
~G4ThreadLocalSingleton () | |
T * | Instance () const |
Private Member Functions | |
G4ThreadLocalSingleton (G4ThreadLocalSingleton &rhs) | |
void | Register (T *i) const |
void | Clear () |
Private Member Functions inherited from G4Cache< T * > | |
G4Cache () | |
G4Cache (const value_type &v) | |
G4Cache (const G4Cache &rhs) | |
virtual | ~G4Cache () |
value_type & | Get () const |
void | Put (const value_type &val) const |
value_type | Pop () |
G4Cache & | operator= (const G4Cache &rhs) |
const G4int & | GetId () const |
Private Attributes | |
std::list< T * > | instances |
G4Mutex | listm |
Friends | |
void | G4AutoDelete::Register (T *) |
Additional Inherited Members | |
Private Types inherited from G4Cache< T * > | |
typedef T * | value_type |
Definition at line 107 of file G4ThreadLocalSingleton.hh.
View newest version in sPHENIX GitHub at line 107 of file G4ThreadLocalSingleton.hh
G4ThreadLocalSingleton< T >::G4ThreadLocalSingleton | ( | ) |
Definition at line 134 of file G4ThreadLocalSingleton.hh.
View newest version in sPHENIX GitHub at line 134 of file G4ThreadLocalSingleton.hh
References G4MUTEXINIT, G4ThreadLocalSingleton< T >::listm, and G4Cache< VALTYPE >::Put().
G4ThreadLocalSingleton< T >::~G4ThreadLocalSingleton | ( | ) |
Definition at line 140 of file G4ThreadLocalSingleton.hh.
View newest version in sPHENIX GitHub at line 140 of file G4ThreadLocalSingleton.hh
References JA::Clear(), and G4MUTEXDESTROY.
|
private |
Definition at line 157 of file G4ThreadLocalSingleton.hh.
View newest version in sPHENIX GitHub at line 157 of file G4ThreadLocalSingleton.hh
|
private |
Definition at line 166 of file G4ThreadLocalSingleton.hh.
View newest version in sPHENIX GitHub at line 166 of file G4ThreadLocalSingleton.hh
References T.
T * G4ThreadLocalSingleton< T >::Instance | ( | void | ) | const |
Definition at line 146 of file G4ThreadLocalSingleton.hh.
View newest version in sPHENIX GitHub at line 146 of file G4ThreadLocalSingleton.hh
References G4Cache< VALTYPE >::Get(), instance, G4Cache< VALTYPE >::Put(), G4AutoDelete::Register(), and T.
Referenced by G4AdjointCSManager::GetAdjointCSManager(), G4ParticleHPThreadLocalManager::GetInstance(), G4NuclearPolarizationStore::GetInstance(), G4BiasingOperationManager::GetInstance(), G4PhysicsListHelper::GetPhysicsListHelper(), G4ProcessTable::GetProcessTable(), G4VelocityTable::GetVelocityTable(), G4HadronicInteractionRegistry::Instance(), G4RegularNavigationHelper::Instance(), G4CrossSectionDataSetRegistry::Instance(), G4HadronCrossSections::Instance(), G4HadronicProcessStore::Instance(), and G4LossTableManager::Instance().
|
private |
Definition at line 159 of file G4ThreadLocalSingleton.hh.
View newest version in sPHENIX GitHub at line 159 of file G4ThreadLocalSingleton.hh
Referenced by G4AutoDelete::Register().
|
friend |
|
mutableprivate |
Definition at line 124 of file G4ThreadLocalSingleton.hh.
View newest version in sPHENIX GitHub at line 124 of file G4ThreadLocalSingleton.hh
|
mutableprivate |
Definition at line 125 of file G4ThreadLocalSingleton.hh.
View newest version in sPHENIX GitHub at line 125 of file G4ThreadLocalSingleton.hh
Referenced by G4ThreadLocalSingleton< T >::G4ThreadLocalSingleton().