Geant4  10.00.p01
G4PhysicsConstructorRegistry Class Reference

#include <G4PhysicsConstructorRegistry.hh>

+ Collaboration diagram for G4PhysicsConstructorRegistry:

Public Member Functions

 ~G4PhysicsConstructorRegistry ()
 
void Register (G4VPhysicsConstructor *)
 
void DeRegister (G4VPhysicsConstructor *)
 
void Clean ()
 
void AddFactory (G4String, G4VBasePhysConstrFactory *)
 
G4VPhysicsConstructorGetPhysicsConstructor (const G4String &name)
 

Static Public Member Functions

static
G4PhysicsConstructorRegistry
Instance ()
 

Private Member Functions

 G4PhysicsConstructorRegistry ()
 

Private Attributes

std::vector
< G4VPhysicsConstructor * > 
physConstr
 
std::map< G4String,
G4VBasePhysConstrFactory * > 
factories
 

Static Private Attributes

static G4ThreadLocal
G4PhysicsConstructorRegistry
theInstance = 0
 

Detailed Description

Definition at line 57 of file G4PhysicsConstructorRegistry.hh.

Constructor & Destructor Documentation

G4PhysicsConstructorRegistry::~G4PhysicsConstructorRegistry ( )

Definition at line 61 of file G4PhysicsConstructorRegistry.cc.

References Clean().

+ Here is the call graph for this function:

G4PhysicsConstructorRegistry::G4PhysicsConstructorRegistry ( )
private

Definition at line 58 of file G4PhysicsConstructorRegistry.cc.

Referenced by Instance().

+ Here is the caller graph for this function:

Member Function Documentation

void G4PhysicsConstructorRegistry::AddFactory ( G4String  name,
G4VBasePhysConstrFactory factory 
)

Definition at line 107 of file G4PhysicsConstructorRegistry.cc.

References factories, and name.

Referenced by G4PhysicsConstructorFactory< T >::G4PhysicsConstructorFactory().

+ Here is the caller graph for this function:

void G4PhysicsConstructorRegistry::Clean ( )

Definition at line 66 of file G4PhysicsConstructorRegistry.cc.

References n, and physConstr.

Referenced by ~G4PhysicsConstructorRegistry().

+ Here is the caller graph for this function:

void G4PhysicsConstructorRegistry::DeRegister ( G4VPhysicsConstructor p)

Definition at line 93 of file G4PhysicsConstructorRegistry.cc.

References n, and physConstr.

G4VPhysicsConstructor * G4PhysicsConstructorRegistry::GetPhysicsConstructor ( const G4String name)

Definition at line 112 of file G4PhysicsConstructorRegistry.cc.

References factories, FatalException, G4endl, G4Exception(), and name.

+ Here is the call graph for this function:

G4PhysicsConstructorRegistry * G4PhysicsConstructorRegistry::Instance ( void  )
static

Definition at line 49 of file G4PhysicsConstructorRegistry.cc.

References G4PhysicsConstructorRegistry(), G4ThreadLocal, and theInstance.

Referenced by G4PhysicsConstructorFactory< T >::G4PhysicsConstructorFactory(), and TG4GenericPhysicsList< T >::RegisterPhysicsConstructor().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4PhysicsConstructorRegistry::Register ( G4VPhysicsConstructor p)

Definition at line 81 of file G4PhysicsConstructorRegistry.cc.

References n, and physConstr.

Member Data Documentation

std::map<G4String, G4VBasePhysConstrFactory*> G4PhysicsConstructorRegistry::factories
private

Definition at line 87 of file G4PhysicsConstructorRegistry.hh.

Referenced by AddFactory(), and GetPhysicsConstructor().

std::vector<G4VPhysicsConstructor*> G4PhysicsConstructorRegistry::physConstr
private

Definition at line 85 of file G4PhysicsConstructorRegistry.hh.

Referenced by Clean(), DeRegister(), and Register().

G4ThreadLocal G4PhysicsConstructorRegistry * G4PhysicsConstructorRegistry::theInstance = 0
staticprivate

Definition at line 83 of file G4PhysicsConstructorRegistry.hh.

Referenced by Instance().


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