Geant4  10.01.p03
G4GeometryWorkspacePool Class Reference

#include <G4GeometryWorkspacePool.hh>

+ Collaboration diagram for G4GeometryWorkspacePool:

Public Member Functions

G4GeometryWorkspaceCreateWorkspace ()
 
void CreateAndUseWorkspace ()
 
G4GeometryWorkspaceFindOrCreateWorkspace ()
 
G4GeometryWorkspaceGetWorkspace ()
 
void Recycle (G4GeometryWorkspace *)
 
void CleanUpAndDestroyAllWorkspaces ()
 

Static Public Member Functions

static G4GeometryWorkspacePoolGetInstance ()
 

Protected Member Functions

void ReleaseAndDestroyWorkspace (G4GeometryWorkspace *)
 

Private Member Functions

 G4GeometryWorkspacePool ()
 
 ~G4GeometryWorkspacePool ()
 

Static Private Attributes

static G4GeometryWorkspacePoolthePool =0
 
static G4ThreadLocal
G4GeometryWorkspace
fMyWorkspace =0
 

Detailed Description

Definition at line 50 of file G4GeometryWorkspacePool.hh.

Constructor & Destructor Documentation

G4GeometryWorkspacePool::G4GeometryWorkspacePool ( )
private

Definition at line 131 of file G4GeometryWorkspacePool.cc.

Referenced by GetInstance().

+ Here is the caller graph for this function:

G4GeometryWorkspacePool::~G4GeometryWorkspacePool ( )
private

Definition at line 138 of file G4GeometryWorkspacePool.cc.

Member Function Documentation

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4GeometryWorkspace * G4GeometryWorkspacePool::CreateWorkspace ( )

Definition at line 60 of file G4GeometryWorkspacePool.cc.

References FatalException, fMyWorkspace, and G4Exception().

Referenced by CreateAndUseWorkspace(), and FindOrCreateWorkspace().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4GeometryWorkspace * G4GeometryWorkspacePool::FindOrCreateWorkspace ( )

Definition at line 99 of file G4GeometryWorkspacePool.cc.

References CreateWorkspace(), fMyWorkspace, and G4GeometryWorkspace::UseWorkspace().

+ Here is the call graph for this function:

G4GeometryWorkspacePool * G4GeometryWorkspacePool::GetInstance ( void  )
static

Definition at line 50 of file G4GeometryWorkspacePool.cc.

References G4GeometryWorkspacePool(), and thePool.

Referenced by G4WorkerThread::BuildGeometryAndPhysicsVector(), G4WorkerThread::DestroyGeometryAndPhysicsVector(), and G4WorkerThread::UpdateGeometryAndPhysicsVectorFromMaster().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4GeometryWorkspace* G4GeometryWorkspacePool::GetWorkspace ( )
inline

Definition at line 68 of file G4GeometryWorkspacePool.hh.

References fMyWorkspace.

Referenced by G4WorkerThread::DestroyGeometryAndPhysicsVector(), and G4WorkerThread::UpdateGeometryAndPhysicsVectorFromMaster().

+ Here is the caller graph for this function:

void G4GeometryWorkspacePool::Recycle ( G4GeometryWorkspace geometryWrk)

Definition at line 114 of file G4GeometryWorkspacePool.cc.

References G4GeometryWorkspace::ReleaseWorkspace().

+ Here is the call graph for this function:

void G4GeometryWorkspacePool::ReleaseAndDestroyWorkspace ( G4GeometryWorkspace )
protected

Member Data Documentation

G4ThreadLocal G4GeometryWorkspace * G4GeometryWorkspacePool::fMyWorkspace =0
staticprivate
G4GeometryWorkspacePool * G4GeometryWorkspacePool::thePool =0
staticprivate

Definition at line 92 of file G4GeometryWorkspacePool.hh.

Referenced by GetInstance().


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