Geant4  10.03
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 48 of file G4TWorkspacePool.hh.

Constructor & Destructor Documentation

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

Definition at line 75 of file G4TWorkspacePool.hh.

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

Definition at line 76 of file G4TWorkspacePool.hh.

Member Function Documentation

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

Definition at line 108 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 87 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 114 of file G4TWorkspacePool.hh.

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

Definition at line 61 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 T * G4TWorkspacePool< T >::fMyWorkspace =0
staticprivate

Definition at line 79 of file G4TWorkspacePool.hh.

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


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