Geant4
10.03
|
#include <G4PDefManager.hh>
Public Member Functions | |
G4PDefManager () | |
G4int | CreateSubInstance () |
void | NewSubInstances () |
void | FreeSlave () |
G4PDefData * | GetOffset () |
void | UseWorkArea (G4PDefData *newOffset) |
G4PDefData * | FreeWorkArea () |
Public Attributes | |
G4PART_DLL G4ThreadLocalStatic G4int | slavetotalspace =0 |
G4PART_DLL G4ThreadLocalStatic G4PDefData * | offset =0 |
Private Attributes | |
G4int | totalobj |
G4Mutex | mutex |
Definition at line 87 of file G4PDefManager.hh.
G4PDefManager::G4PDefManager | ( | ) |
Definition at line 59 of file G4PDefManager.cc.
References G4MUTEXINIT.
G4int G4PDefManager::CreateSubInstance | ( | ) |
Definition at line 64 of file G4PDefManager.cc.
References G4TemplateAutoLock< M, L, U >::lock(), NewSubInstances(), slavetotalspace, totalobj, and G4TemplateAutoLock< M, L, U >::unlock().
Referenced by G4ParticleDefinition::SetParticleDefinitionID().
void G4PDefManager::FreeSlave | ( | ) |
Definition at line 103 of file G4PDefManager.cc.
Referenced by G4ParticlesWorkspace::DestroyWorkspace().
G4PDefData * G4PDefManager::FreeWorkArea | ( | ) |
Definition at line 131 of file G4PDefManager.cc.
References offset.
G4PDefData * G4PDefManager::GetOffset | ( | ) |
Definition at line 112 of file G4PDefManager.cc.
References offset.
Referenced by G4ParticlesWorkspace::G4ParticlesWorkspace().
void G4PDefManager::NewSubInstances | ( | ) |
Definition at line 80 of file G4PDefManager.cc.
References FatalException, G4Exception(), G4PDefData::initialize(), offset, slavetotalspace, and totalobj.
Referenced by CreateSubInstance(), and G4ParticlesWorkspace::InitialiseWorkspace().
void G4PDefManager::UseWorkArea | ( | G4PDefData * | newOffset | ) |
Definition at line 117 of file G4PDefManager.cc.
References FatalException, G4Exception(), and offset.
Referenced by G4ParticlesWorkspace::ReleaseWorkspace(), and G4ParticlesWorkspace::UseWorkspace().
|
private |
Definition at line 121 of file G4PDefManager.hh.
G4ThreadLocal G4PDefData * G4PDefManager::offset =0 |
Definition at line 116 of file G4PDefManager.hh.
Referenced by FreeSlave(), FreeWorkArea(), GetOffset(), NewSubInstances(), and UseWorkArea().
G4ThreadLocal G4int G4PDefManager::slavetotalspace =0 |
Definition at line 115 of file G4PDefManager.hh.
Referenced by CreateSubInstance(), NewSubInstances(), and G4VUserPhysicsList::RemoveProcessManager().
|
private |
Definition at line 120 of file G4PDefManager.hh.
Referenced by CreateSubInstance(), and NewSubInstances().