Geant4
10.01.p03
|
#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 50 of file G4GeometryWorkspacePool.hh.
|
private |
Definition at line 131 of file G4GeometryWorkspacePool.cc.
Referenced by GetInstance().
|
private |
Definition at line 138 of file G4GeometryWorkspacePool.cc.
void G4GeometryWorkspacePool::CleanUpAndDestroyAllWorkspaces | ( | ) |
Definition at line 125 of file G4GeometryWorkspacePool.cc.
void G4GeometryWorkspacePool::CreateAndUseWorkspace | ( | ) |
Definition at line 91 of file G4GeometryWorkspacePool.cc.
References CreateWorkspace().
Referenced by G4WorkerThread::BuildGeometryAndPhysicsVector().
G4GeometryWorkspace * G4GeometryWorkspacePool::CreateWorkspace | ( | ) |
Definition at line 60 of file G4GeometryWorkspacePool.cc.
References FatalException, fMyWorkspace, and G4Exception().
Referenced by CreateAndUseWorkspace(), and FindOrCreateWorkspace().
G4GeometryWorkspace * G4GeometryWorkspacePool::FindOrCreateWorkspace | ( | ) |
Definition at line 99 of file G4GeometryWorkspacePool.cc.
References CreateWorkspace(), fMyWorkspace, and G4GeometryWorkspace::UseWorkspace().
|
static |
Definition at line 50 of file G4GeometryWorkspacePool.cc.
References G4GeometryWorkspacePool(), and thePool.
Referenced by G4WorkerThread::BuildGeometryAndPhysicsVector(), G4WorkerThread::DestroyGeometryAndPhysicsVector(), and G4WorkerThread::UpdateGeometryAndPhysicsVectorFromMaster().
|
inline |
Definition at line 68 of file G4GeometryWorkspacePool.hh.
References fMyWorkspace.
Referenced by G4WorkerThread::DestroyGeometryAndPhysicsVector(), and G4WorkerThread::UpdateGeometryAndPhysicsVectorFromMaster().
void G4GeometryWorkspacePool::Recycle | ( | G4GeometryWorkspace * | geometryWrk | ) |
Definition at line 114 of file G4GeometryWorkspacePool.cc.
References G4GeometryWorkspace::ReleaseWorkspace().
|
protected |
|
staticprivate |
Definition at line 101 of file G4GeometryWorkspacePool.hh.
Referenced by CreateWorkspace(), FindOrCreateWorkspace(), and GetWorkspace().
|
staticprivate |
Definition at line 92 of file G4GeometryWorkspacePool.hh.
Referenced by GetInstance().