ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4CacheReference< VALTYPE > Class Template Reference

#include <geant4/tree/geant4-10.6-release/source/global/management/include/G4CacheDetails.hh>

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 Member Functions

static cache_container *& cache ()
 

Detailed Description

template<class VALTYPE>
class G4CacheReference< VALTYPE >

Definition at line 73 of file G4CacheDetails.hh.

View newest version in sPHENIX GitHub at line 73 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.

View newest version in sPHENIX GitHub at line 89 of file G4CacheDetails.hh

Member Function Documentation

template<class V >
G4CacheReference< V * >::cache_container *& G4CacheReference< V >::cache ( )
staticprivate

Definition at line 208 of file G4CacheDetails.hh.

View newest version in sPHENIX GitHub at line 208 of file G4CacheDetails.hh

References G4ThreadLocalStatic.

Referenced by G4CacheReference< G4double >::Destroy(), G4CacheReference< G4double >::GetCache(), and G4CacheReference< G4double >::Initialize().

+ Here is the caller graph for this function:

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

Definition at line 161 of file G4CacheDetails.hh.

View newest version in sPHENIX GitHub at line 161 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 201 of file G4CacheDetails.hh.

View newest version in sPHENIX GitHub at line 201 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 140 of file G4CacheDetails.hh.

View newest version in sPHENIX GitHub at line 140 of file G4CacheDetails.hh

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

+ Here is the caller graph for this function:


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