Geant4  10.02
G4CacheReference< VALTYPE > Class Template Reference

#include <G4CacheDetails.hh>

+ Inheritance diagram for G4CacheReference< VALTYPE >:

Public Member Functions

void Initialize (unsigned int id)
 
void Destroy (unsigned int id, G4bool last)
 
VALTYPE & GetCache (unsigned int id) const
 

Private Types

typedef std::vector< VALTYPE * > cache_container
 

Static Private Attributes

static G4ThreadLocal
cache_container
cache = 0
 

Detailed Description

template<class VALTYPE>
class G4CacheReference< VALTYPE >

Definition at line 77 of file G4CacheDetails.hh.

Member Typedef Documentation

template<class VALTYPE>
typedef std::vector<VALTYPE*> G4CacheReference< VALTYPE >::cache_container
private

Definition at line 89 of file G4CacheDetails.hh.

Member Function Documentation

template<class V >
void G4CacheReference< V >::Destroy ( unsigned int  id,
G4bool  last 
)
inline

Definition at line 157 of file G4CacheDetails.hh.

References FatalException, and G4Exception().

+ Here is the call graph for this function:

template<class V >
V *& G4CacheReference< V >::GetCache ( unsigned int  id) const
inline

Definition at line 182 of file G4CacheDetails.hh.

Referenced by G4Cache< F02ElectricFieldSetup * >::GetCache().

+ Here is the caller graph for this function:

template<class V >
void G4CacheReference< V >::Initialize ( unsigned int  id)
inline

Definition at line 141 of file G4CacheDetails.hh.

Referenced by G4Cache< F02ElectricFieldSetup * >::GetCache().

+ Here is the caller graph for this function:

Member Data Documentation


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