Geant4
10.00.p01
|
#include <G4GeometryWorkspacePool.hh>
Public Member Functions | |
G4GeometryWorkspace * | CreateWorkspace () |
void | CreateAndUseWorkspace () |
G4GeometryWorkspace * | FindOrCreateWorkspace () |
G4GeometryWorkspace * | GetWorkspace () |
void | Recycle (G4GeometryWorkspace *) |
void | CleanUpAndDestroyAllWorkspaces () |
Static Public Member Functions | |
static G4GeometryWorkspacePool * | GetInstance () |
Protected Member Functions | |
void | ReleaseAndDestroyWorkspace (G4GeometryWorkspace *) |
Private Member Functions | |
G4GeometryWorkspacePool () | |
~G4GeometryWorkspacePool () | |
Static Private Attributes | |
static G4GeometryWorkspacePool * | thePool =0 |
static G4ThreadLocal G4GeometryWorkspace * | fMyWorkspace =0 |
Definition at line 38 of file G4GeometryWorkspacePool.hh.
|
private |
Definition at line 118 of file G4GeometryWorkspacePool.cc.
Referenced by GetInstance().
|
private |
Definition at line 123 of file G4GeometryWorkspacePool.cc.
void G4GeometryWorkspacePool::CleanUpAndDestroyAllWorkspaces | ( | ) |
Definition at line 113 of file G4GeometryWorkspacePool.cc.
void G4GeometryWorkspacePool::CreateAndUseWorkspace | ( | ) |
Definition at line 71 of file G4GeometryWorkspacePool.cc.
References CreateWorkspace().
Referenced by G4WorkerThread::BuildGeometryAndPhysicsVector().
G4GeometryWorkspace * G4GeometryWorkspacePool::CreateWorkspace | ( | ) |
Definition at line 48 of file G4GeometryWorkspacePool.cc.
References FatalException, fMyWorkspace, and G4Exception().
Referenced by CreateAndUseWorkspace(), and FindOrCreateWorkspace().
G4GeometryWorkspace * G4GeometryWorkspacePool::FindOrCreateWorkspace | ( | ) |
Definition at line 78 of file G4GeometryWorkspacePool.cc.
References CreateWorkspace(), fMyWorkspace, and G4GeometryWorkspace::UseWorkspace().
|
static |
Definition at line 40 of file G4GeometryWorkspacePool.cc.
References G4GeometryWorkspacePool(), and thePool.
Referenced by G4WorkerThread::BuildGeometryAndPhysicsVector(), G4WorkerThread::DestroyGeometryAndPhysicsVector(), and G4WorkerThread::UpdateGeometryAndPhysicsVectorFromMaster().
|
inline |
Definition at line 53 of file G4GeometryWorkspacePool.hh.
References fMyWorkspace.
Referenced by G4WorkerThread::DestroyGeometryAndPhysicsVector(), and G4WorkerThread::UpdateGeometryAndPhysicsVectorFromMaster().
void G4GeometryWorkspacePool::Recycle | ( | G4GeometryWorkspace * | geometryWrk | ) |
Definition at line 104 of file G4GeometryWorkspacePool.cc.
References G4GeometryWorkspace::ReleaseWorkspace().
|
protected |
|
staticprivate |
Definition at line 82 of file G4GeometryWorkspacePool.hh.
Referenced by CreateWorkspace(), FindOrCreateWorkspace(), and GetWorkspace().
|
staticprivate |
Definition at line 74 of file G4GeometryWorkspacePool.hh.
Referenced by GetInstance().