Geant4
10.00.p01
|
#include <G4PhysicsConstructorRegistry.hh>
Public Member Functions | |
~G4PhysicsConstructorRegistry () | |
void | Register (G4VPhysicsConstructor *) |
void | DeRegister (G4VPhysicsConstructor *) |
void | Clean () |
void | AddFactory (G4String, G4VBasePhysConstrFactory *) |
G4VPhysicsConstructor * | GetPhysicsConstructor (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 |
Definition at line 57 of file G4PhysicsConstructorRegistry.hh.
G4PhysicsConstructorRegistry::~G4PhysicsConstructorRegistry | ( | ) |
Definition at line 61 of file G4PhysicsConstructorRegistry.cc.
References Clean().
|
private |
Definition at line 58 of file G4PhysicsConstructorRegistry.cc.
Referenced by Instance().
void G4PhysicsConstructorRegistry::AddFactory | ( | G4String | name, |
G4VBasePhysConstrFactory * | factory | ||
) |
Definition at line 107 of file G4PhysicsConstructorRegistry.cc.
References factories, and name.
Referenced by G4PhysicsConstructorFactory< T >::G4PhysicsConstructorFactory().
void G4PhysicsConstructorRegistry::Clean | ( | ) |
Definition at line 66 of file G4PhysicsConstructorRegistry.cc.
References n, and physConstr.
Referenced by ~G4PhysicsConstructorRegistry().
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.
|
static |
Definition at line 49 of file G4PhysicsConstructorRegistry.cc.
References G4PhysicsConstructorRegistry(), G4ThreadLocal, and theInstance.
Referenced by G4PhysicsConstructorFactory< T >::G4PhysicsConstructorFactory(), and TG4GenericPhysicsList< T >::RegisterPhysicsConstructor().
void G4PhysicsConstructorRegistry::Register | ( | G4VPhysicsConstructor * | p | ) |
Definition at line 81 of file G4PhysicsConstructorRegistry.cc.
References n, and physConstr.
|
private |
Definition at line 87 of file G4PhysicsConstructorRegistry.hh.
Referenced by AddFactory(), and GetPhysicsConstructor().
|
private |
Definition at line 85 of file G4PhysicsConstructorRegistry.hh.
Referenced by Clean(), DeRegister(), and Register().
|
staticprivate |
Definition at line 83 of file G4PhysicsConstructorRegistry.hh.
Referenced by Instance().