Geant4  10.01.p02
G4TWorkspacePool< T > Class Template Reference

#include <G4TWorkspacePool.hh>

Public Member Functions

T * CreateWorkspace ()
 
void CreateAndUseWorkspace ()
 
T * FindOrCreateWorkspace ()
 
T * GetWorkspace ()
 
 G4TWorkspacePool ()
 
 ~G4TWorkspacePool ()
 

Static Private Attributes

static G4ThreadLocal T * fMyWorkspace = 0
 

Detailed Description

template<class T>
class G4TWorkspacePool< T >

Definition at line 47 of file G4TWorkspacePool.hh.

Constructor & Destructor Documentation

template<class T >
G4TWorkspacePool< T >::G4TWorkspacePool ( )
inline

Definition at line 74 of file G4TWorkspacePool.hh.

template<class T >
G4TWorkspacePool< T >::~G4TWorkspacePool ( )
inline

Definition at line 75 of file G4TWorkspacePool.hh.

Member Function Documentation

template<class T >
void G4TWorkspacePool< T >::CreateAndUseWorkspace ( )

Definition at line 107 of file G4TWorkspacePool.hh.

Referenced by G4WorkerThread::BuildGeometryAndPhysicsVector().

+ Here is the caller graph for this function:

template<class T >
T * G4TWorkspacePool< T >::CreateWorkspace ( )

Definition at line 86 of file G4TWorkspacePool.hh.

References FatalException, and G4Exception().

+ Here is the call graph for this function:

template<class T >
T * G4TWorkspacePool< T >::FindOrCreateWorkspace ( )

Definition at line 113 of file G4TWorkspacePool.hh.

template<class T >
T* G4TWorkspacePool< T >::GetWorkspace ( )
inline

Definition at line 60 of file G4TWorkspacePool.hh.

References G4TWorkspacePool< T >::fMyWorkspace.

Referenced by G4WorkerThread::DestroyGeometryAndPhysicsVector().

+ Here is the caller graph for this function:

Member Data Documentation

template<class T >
G4ThreadLocal G4PhysicsListWorkspace * G4PhysicsListWorkspace::pool_type::fMyWorkspace = 0
staticprivate

Definition at line 78 of file G4TWorkspacePool.hh.

Referenced by G4TWorkspacePool< T >::GetWorkspace().


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