Geant4  10.02
G4NavigationHistoryPool Class Reference

#include <G4NavigationHistoryPool.hh>

+ Collaboration diagram for G4NavigationHistoryPool:

Public Member Functions

std::vector< G4NavigationLevel > * GetNewLevels ()
 
std::vector< G4NavigationLevel > * GetLevels ()
 
void DeRegister (std::vector< G4NavigationLevel > *pLevels)
 
void Clean ()
 
void Print () const
 
 ~G4NavigationHistoryPool ()
 

Static Public Member Functions

static G4NavigationHistoryPoolGetInstance ()
 

Private Member Functions

 G4NavigationHistoryPool ()
 
void Register (std::vector< G4NavigationLevel > *pLevels)
 
void Reset ()
 

Private Attributes

std::vector< std::vector
< G4NavigationLevel > * > 
fPool
 
std::vector< std::vector
< G4NavigationLevel > * > 
fFree
 

Static Private Attributes

static G4ThreadLocal
G4NavigationHistoryPool
fgInstance = 0
 

Detailed Description

Definition at line 47 of file G4NavigationHistoryPool.hh.

Constructor & Destructor Documentation

G4NavigationHistoryPool::~G4NavigationHistoryPool ( )

Definition at line 60 of file G4NavigationHistoryPool.cc.

References Clean(), and fgInstance.

+ Here is the call graph for this function:

G4NavigationHistoryPool::G4NavigationHistoryPool ( )
private

Definition at line 50 of file G4NavigationHistoryPool.cc.

References fFree, and fPool.

Referenced by GetInstance().

+ Here is the caller graph for this function:

Member Function Documentation

void G4NavigationHistoryPool::Clean ( )

Definition at line 69 of file G4NavigationHistoryPool.cc.

References fFree, and fPool.

Referenced by ~G4NavigationHistoryPool().

+ Here is the caller graph for this function:

void G4NavigationHistoryPool::DeRegister ( std::vector< G4NavigationLevel > *  pLevels)
inline

Definition at line 107 of file G4NavigationHistoryPool.hh.

References fFree.

Referenced by G4NavigationHistory::~G4NavigationHistory().

+ Here is the caller graph for this function:

G4NavigationHistoryPool * G4NavigationHistoryPool::GetInstance ( void  )
static

Definition at line 111 of file G4NavigationHistoryPool.cc.

References fgInstance, and G4NavigationHistoryPool().

Referenced by G4NavigationHistory::G4NavigationHistory(), G4NavigationHistory::~G4NavigationHistory(), and G4RunManagerKernel::~G4RunManagerKernel().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

std::vector< G4NavigationLevel > * G4NavigationHistoryPool::GetLevels ( )
inline

Definition at line 130 of file G4NavigationHistoryPool.hh.

References fFree, and GetNewLevels().

Referenced by G4NavigationHistory::G4NavigationHistory().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

std::vector< G4NavigationLevel > * G4NavigationHistoryPool::GetNewLevels ( )
inline

Definition at line 116 of file G4NavigationHistoryPool.hh.

References kHistoryMax, and Register().

Referenced by G4NavigationHistory::G4NavigationHistory(), and GetLevels().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4NavigationHistoryPool::Print ( void  ) const

Definition at line 83 of file G4NavigationHistoryPool.cc.

References fPool, G4cout, and G4endl.

Referenced by G4RunManagerKernel::~G4RunManagerKernel().

+ Here is the caller graph for this function:

void G4NavigationHistoryPool::Register ( std::vector< G4NavigationLevel > *  pLevels)
inlineprivate

Definition at line 97 of file G4NavigationHistoryPool.hh.

References fPool.

Referenced by GetNewLevels().

+ Here is the caller graph for this function:

void G4NavigationHistoryPool::Reset ( )
private

Definition at line 95 of file G4NavigationHistoryPool.cc.

References fFree, and fPool.

Member Data Documentation

std::vector<std::vector<G4NavigationLevel> *> G4NavigationHistoryPool::fFree
private
G4ThreadLocal G4NavigationHistoryPool * G4NavigationHistoryPool::fgInstance = 0
staticprivate

Definition at line 86 of file G4NavigationHistoryPool.hh.

Referenced by GetInstance(), and ~G4NavigationHistoryPool().

std::vector<std::vector<G4NavigationLevel> *> G4NavigationHistoryPool::fPool
private

Definition at line 88 of file G4NavigationHistoryPool.hh.

Referenced by Clean(), G4NavigationHistoryPool(), Print(), Register(), and Reset().


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