Geant4  10.01.p01
G4SolidStore Class Reference

#include <G4SolidStore.hh>

+ Inheritance diagram for G4SolidStore:
+ Collaboration diagram for G4SolidStore:

Public Member Functions

G4VSolidGetSolid (const G4String &name, G4bool verbose=true) const
 
virtual ~G4SolidStore ()
 

Static Public Member Functions

static void Register (G4VSolid *pSolid)
 
static void DeRegister (G4VSolid *pSolid)
 
static G4SolidStoreGetInstance ()
 
static void SetNotifier (G4VStoreNotifier *pNotifier)
 
static void Clean ()
 

Protected Member Functions

 G4SolidStore ()
 

Static Private Attributes

static G4SolidStorefgInstance = 0
 
static G4ThreadLocal
G4VStoreNotifier
fgNotifier = 0
 
static G4ThreadLocal G4bool locked = false
 

Detailed Description

Definition at line 62 of file G4SolidStore.hh.

Constructor & Destructor Documentation

G4SolidStore::~G4SolidStore ( )
virtual

Definition at line 64 of file G4SolidStore.cc.

References Clean().

+ Here is the call graph for this function:

G4SolidStore::G4SolidStore ( )
protected

Definition at line 54 of file G4SolidStore.cc.

Member Function Documentation

void G4SolidStore::DeRegister ( G4VSolid pSolid)
static

Definition at line 144 of file G4SolidStore.cc.

References fgNotifier, GetInstance(), locked, and G4VNotifier::NotifyDeRegistration().

Referenced by G4SurfaceVoxelizer::G4SurfaceVoxelizer(), and G4VSolid::~G4VSolid().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4VSolid * G4SolidStore::GetSolid ( const G4String name,
G4bool  verbose = true 
) const

Definition at line 164 of file G4SolidStore.cc.

References G4endl, G4Exception(), GetInstance(), JustWarning, and name.

Referenced by G4GDMLReadSolids::GetSolid().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4SolidStore::Register ( G4VSolid pSolid)
static

Definition at line 134 of file G4SolidStore.cc.

References fgNotifier, GetInstance(), and G4VNotifier::NotifyRegistration().

Referenced by G4VSolid::G4VSolid().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4SolidStore::SetNotifier ( G4VStoreNotifier pNotifier)
static

Definition at line 124 of file G4SolidStore.cc.

References fgNotifier, and GetInstance().

+ Here is the call graph for this function:

Member Data Documentation

G4SolidStore * G4SolidStore::fgInstance = 0
staticprivate

Definition at line 90 of file G4SolidStore.hh.

Referenced by GetInstance().

G4ThreadLocal G4VStoreNotifier * G4SolidStore::fgNotifier = 0
staticprivate

Definition at line 91 of file G4SolidStore.hh.

Referenced by Clean(), DeRegister(), Register(), and SetNotifier().

G4ThreadLocal G4bool G4SolidStore::locked = false
staticprivate

Definition at line 92 of file G4SolidStore.hh.

Referenced by Clean(), and DeRegister().


The documentation for this class was generated from the following files: