#include <G4LogicalVolumeStore.hh>
Definition at line 62 of file G4LogicalVolumeStore.hh.
◆ ~G4LogicalVolumeStore()
G4LogicalVolumeStore::~G4LogicalVolumeStore |
( |
| ) |
|
|
virtual |
◆ G4LogicalVolumeStore()
G4LogicalVolumeStore::G4LogicalVolumeStore |
( |
| ) |
|
|
protected |
◆ Clean()
void G4LogicalVolumeStore::Clean |
( |
| ) |
|
|
static |
Definition at line 73 of file G4LogicalVolumeStore.cc.
79 G4cout <<
"WARNING - Attempt to delete the logical volume store" 80 <<
" while geometry closed !" <<
G4endl;
92 #ifdef G4GEOMETRY_VOXELDEBUG 93 G4cout <<
"Deleting Logical Volumes ... ";
96 for(iterator
pos=store->begin();
pos!=store->end();
pos++)
99 if (*
pos) { (*pos)->Lock();
delete *
pos; }
103 #ifdef G4GEOMETRY_VOXELDEBUG 104 if (store->size() < i-1)
105 {
G4cout <<
"No volumes deleted. Already deleted by user ?" <<
G4endl; }
static G4ThreadLocal G4bool locked
virtual void NotifyDeRegistration()=0
static G4ThreadLocal G4VStoreNotifier * fgNotifier
G4GLOB_DLL std::ostream G4cout
static G4LogicalVolumeStore * GetInstance()
static G4GeometryManager * GetInstance()
static const G4double pos
◆ DeRegister()
Definition at line 138 of file G4LogicalVolumeStore.cc.
static G4ThreadLocal G4bool locked
virtual void NotifyDeRegistration()=0
static G4ThreadLocal G4VStoreNotifier * fgNotifier
static G4LogicalVolumeStore * GetInstance()
◆ GetInstance()
◆ GetVolume()
Definition at line 159 of file G4LogicalVolumeStore.cc.
163 if ((*i)->GetName() ==
name) {
return *i; }
167 std::ostringstream message;
168 message <<
"Volume NOT found in store !" <<
G4endl 169 <<
" Volume " << name <<
" NOT found in store !" <<
G4endl 170 <<
" Returning NULL pointer.";
static G4LogicalVolumeStore * GetInstance()
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
◆ Register()
Definition at line 128 of file G4LogicalVolumeStore.cc.
static G4ThreadLocal G4VStoreNotifier * fgNotifier
static G4LogicalVolumeStore * GetInstance()
virtual void NotifyRegistration()=0
◆ SetNotifier()
Definition at line 118 of file G4LogicalVolumeStore.cc.
static G4ThreadLocal G4VStoreNotifier * fgNotifier
static G4LogicalVolumeStore * GetInstance()
◆ fgInstance
◆ fgNotifier
◆ locked
The documentation for this class was generated from the following files: