Geant4-11
|
#include <G4AssemblyStore.hh>
Public Member Functions | |
G4AssemblyVolume * | GetAssembly (unsigned int id, G4bool verbose=true) const |
Static Public Member Functions | |
static void | Clean () |
static void | DeRegister (G4AssemblyVolume *pAssembly) |
static G4AssemblyStore * | GetInstance () |
static void | Register (G4AssemblyVolume *pAssembly) |
static void | SetNotifier (G4VStoreNotifier *pNotifier) |
Protected Member Functions | |
G4AssemblyStore () | |
virtual | ~G4AssemblyStore () |
Static Private Attributes | |
static G4AssemblyStore * | fgInstance = nullptr |
static G4ThreadLocal G4VStoreNotifier * | fgNotifier = nullptr |
static G4ThreadLocal G4bool | locked = false |
Definition at line 59 of file G4AssemblyStore.hh.
|
protected |
Definition at line 53 of file G4AssemblyStore.cc.
|
protectedvirtual |
|
static |
Definition at line 72 of file G4AssemblyStore.cc.
References fgNotifier, G4cout, G4endl, GetInstance(), G4GeometryManager::IsGeometryClosed(), locked, G4VNotifier::NotifyDeRegistration(), and pos.
Referenced by G4RunManager::ReinitializeGeometry(), and ~G4AssemblyStore().
|
static |
Definition at line 137 of file G4AssemblyStore.cc.
References fgNotifier, GetInstance(), locked, and G4VNotifier::NotifyDeRegistration().
Referenced by G4AssemblyVolume::~G4AssemblyVolume().
G4AssemblyVolume * G4AssemblyStore::GetAssembly | ( | unsigned int | id, |
G4bool | verbose = true |
||
) | const |
Definition at line 172 of file G4AssemblyStore.cc.
References G4endl, G4Exception(), GetInstance(), and JustWarning.
Referenced by G4GDMLWriteStructure::AssemblyWrite(), G4AssemblyVolume::G4AssemblyVolume(), and G4GDMLWriteStructure::TraverseVolumeTree().
|
static |
Definition at line 157 of file G4AssemblyStore.cc.
References fgInstance.
Referenced by G4GDMLWriteStructure::AssemblyWrite(), Clean(), DeRegister(), G4AssemblyVolume::G4AssemblyVolume(), GetAssembly(), Register(), G4RunManager::ReinitializeGeometry(), SetNotifier(), G4GDMLWriteStructure::StructureWrite(), G4GDMLWriteStructure::TraverseVolumeTree(), and G4AssemblyVolume::~G4AssemblyVolume().
|
static |
Definition at line 127 of file G4AssemblyStore.cc.
References fgNotifier, GetInstance(), and G4VNotifier::NotifyRegistration().
Referenced by G4AssemblyVolume::G4AssemblyVolume().
|
static |
Definition at line 117 of file G4AssemblyStore.cc.
References fgNotifier, and GetInstance().
|
staticprivate |
Definition at line 86 of file G4AssemblyStore.hh.
Referenced by GetInstance().
|
staticprivate |
Definition at line 87 of file G4AssemblyStore.hh.
Referenced by Clean(), DeRegister(), Register(), and SetNotifier().
|
staticprivate |
Definition at line 88 of file G4AssemblyStore.hh.
Referenced by Clean(), and DeRegister().