Geant4  10.00.p01
G4PDefSplitter< T > Class Template Reference

#include <G4PDefSplitter.hh>

Public Member Functions

 G4PDefSplitter ()
 
G4int CreateSubInstance ()
 
void NewSubInstances ()
 
void FreeSlave ()
 

Static Public Attributes

static G4PART_DLL
G4ThreadLocal G4int 
slavetotalspace = 0
 
static G4PART_DLL G4ThreadLocal T * offset = 0
 

Private Attributes

G4int totalobj
 

Detailed Description

template<class T>
class G4PDefSplitter< T >

Definition at line 52 of file G4PDefSplitter.hh.

Constructor & Destructor Documentation

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

Definition at line 56 of file G4PDefSplitter.hh.

Member Function Documentation

template<class T >
G4int G4PDefSplitter< T >::CreateSubInstance ( )
inline

Definition at line 58 of file G4PDefSplitter.hh.

References G4PDefSplitter< T >::NewSubInstances(), G4PDefSplitter< T >::slavetotalspace, and G4PDefSplitter< T >::totalobj.

Referenced by G4ParticleDefinition::SetParticleDefinitionID().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

template<class T >
void G4PDefSplitter< T >::FreeSlave ( )
inline

Definition at line 90 of file G4PDefSplitter.hh.

References free(), and G4PDefSplitter< T >::offset.

+ Here is the call graph for this function:

template<class T >
void G4PDefSplitter< T >::NewSubInstances ( )
inline

Definition at line 68 of file G4PDefSplitter.hh.

References FatalException, G4Exception(), G4PDefSplitter< T >::offset, realloc(), G4PDefSplitter< T >::slavetotalspace, and G4PDefSplitter< T >::totalobj.

Referenced by G4PDefSplitter< T >::CreateSubInstance().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

template<class T >
G4ThreadLocal G4PDefData * G4PDefSplitter< G4PDefData >::offset = 0
static
template<class T >
G4int G4PDefSplitter< T >::totalobj
private

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