Geant4-11
|
#include <G4PDefManager.hh>
Public Member Functions | |
G4int | CreateSubInstance () |
void | FreeSlave () |
G4PDefData * | FreeWorkArea () |
G4PDefManager () | |
G4PDefData * | GetOffset () |
void | NewSubInstances () |
void | UseWorkArea (G4PDefData *newOffset) |
Static Public Member Functions | |
static G4PART_DLL G4PDefData *& | offset () |
static G4PART_DLL G4int & | slavetotalspace () |
Private Attributes | |
G4Mutex | mutex |
G4int | totalobj |
Definition at line 83 of file G4PDefManager.hh.
G4PDefManager::G4PDefManager | ( | ) |
Definition at line 57 of file G4PDefManager.cc.
References G4MUTEXINIT.
G4int G4PDefManager::CreateSubInstance | ( | ) |
Definition at line 62 of file G4PDefManager.cc.
References G4TemplateAutoLock< _Mutex_t >::lock(), NewSubInstances(), slavetotalspace(), totalobj, and G4TemplateAutoLock< _Mutex_t >::unlock().
Referenced by G4ParticleDefinition::SetParticleDefinitionID().
void G4PDefManager::FreeSlave | ( | ) |
Definition at line 101 of file G4PDefManager.cc.
References free, and offset().
Referenced by G4ParticleDefinition::Clean(), and G4ParticlesWorkspace::DestroyWorkspace().
G4PDefData * G4PDefManager::FreeWorkArea | ( | ) |
Definition at line 126 of file G4PDefManager.cc.
References offset().
G4PDefData * G4PDefManager::GetOffset | ( | ) |
Definition at line 109 of file G4PDefManager.cc.
References offset().
Referenced by G4ParticlesWorkspace::G4ParticlesWorkspace().
void G4PDefManager::NewSubInstances | ( | ) |
Definition at line 78 of file G4PDefManager.cc.
References FatalException, G4Exception(), G4PDefData::initialize(), offset(), slavetotalspace(), and totalobj.
Referenced by CreateSubInstance(), and G4ParticlesWorkspace::InitialiseWorkspace().
|
static |
Definition at line 51 of file G4PDefManager.cc.
References G4ThreadLocalStatic.
Referenced by FreeSlave(), FreeWorkArea(), GetOffset(), NewSubInstances(), and UseWorkArea().
|
static |
Definition at line 45 of file G4PDefManager.cc.
References G4ThreadLocalStatic.
Referenced by CreateSubInstance(), NewSubInstances(), and G4VUserPhysicsList::RemoveProcessManager().
void G4PDefManager::UseWorkArea | ( | G4PDefData * | newOffset | ) |
Definition at line 114 of file G4PDefManager.cc.
References FatalException, G4Exception(), and offset().
Referenced by G4ParticlesWorkspace::ReleaseWorkspace(), and G4ParticlesWorkspace::UseWorkspace().
|
private |
Definition at line 114 of file G4PDefManager.hh.
|
private |
Definition at line 113 of file G4PDefManager.hh.
Referenced by CreateSubInstance(), and NewSubInstances().