Geant4
10.03
|
#include <G4SolidsWorkspacePool.hh>
Public Member Functions | |
G4SolidsWorkspace * | CreateWorkspace () |
void | CreateAndUseWorkspace () |
G4SolidsWorkspace * | FindOrCreateWorkspace () |
G4SolidsWorkspace * | GetWorkspace () |
void | Recycle (G4SolidsWorkspace *) |
void | CleanUpAndDestroyAllWorkspaces () |
Static Public Member Functions | |
static G4SolidsWorkspacePool * | GetInstance () |
Protected Member Functions | |
void | ReleaseAndDestroyWorkspace (G4SolidsWorkspace *) |
Private Member Functions | |
G4SolidsWorkspacePool () | |
~G4SolidsWorkspacePool () | |
Static Private Attributes | |
static G4SolidsWorkspacePool * | thePool =0 |
static G4ThreadLocal G4SolidsWorkspace * | fMyWorkspace =0 |
Definition at line 38 of file G4SolidsWorkspacePool.hh.
|
private |
Definition at line 123 of file G4SolidsWorkspacePool.cc.
Referenced by GetInstance().
|
private |
Definition at line 128 of file G4SolidsWorkspacePool.cc.
void G4SolidsWorkspacePool::CleanUpAndDestroyAllWorkspaces | ( | ) |
Definition at line 118 of file G4SolidsWorkspacePool.cc.
void G4SolidsWorkspacePool::CreateAndUseWorkspace | ( | ) |
Definition at line 74 of file G4SolidsWorkspacePool.cc.
References CreateWorkspace().
Referenced by G4WorkerThread::BuildGeometryAndPhysicsVector().
G4SolidsWorkspace * G4SolidsWorkspacePool::CreateWorkspace | ( | ) |
Definition at line 50 of file G4SolidsWorkspacePool.cc.
References FatalException, fMyWorkspace, and G4Exception().
Referenced by CreateAndUseWorkspace(), and FindOrCreateWorkspace().
G4SolidsWorkspace * G4SolidsWorkspacePool::FindOrCreateWorkspace | ( | ) |
Definition at line 81 of file G4SolidsWorkspacePool.cc.
References CreateWorkspace(), fMyWorkspace, and G4SolidsWorkspace::UseWorkspace().
|
static |
Definition at line 42 of file G4SolidsWorkspacePool.cc.
References G4SolidsWorkspacePool(), and thePool.
Referenced by G4WorkerThread::BuildGeometryAndPhysicsVector(), G4WorkerThread::DestroyGeometryAndPhysicsVector(), and G4WorkerThread::UpdateGeometryAndPhysicsVectorFromMaster().
|
inline |
Definition at line 53 of file G4SolidsWorkspacePool.hh.
References fMyWorkspace.
Referenced by G4WorkerThread::DestroyGeometryAndPhysicsVector(), and G4WorkerThread::UpdateGeometryAndPhysicsVectorFromMaster().
void G4SolidsWorkspacePool::Recycle | ( | G4SolidsWorkspace * | geometryWrk | ) |
Definition at line 107 of file G4SolidsWorkspacePool.cc.
References G4SolidsWorkspace::ReleaseWorkspace().
|
protected |
|
staticprivate |
Definition at line 76 of file G4SolidsWorkspacePool.hh.
Referenced by CreateWorkspace(), FindOrCreateWorkspace(), and GetWorkspace().
|
staticprivate |
Definition at line 74 of file G4SolidsWorkspacePool.hh.
Referenced by GetInstance().