Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4VITProcess.hh File Reference
#include <G4VProcess.hh>
#include "AddClone_def.hh"
#include "G4ReferenceCast.hh"
#include "G4memory.hh"
#include <typeinfo>

Go to the source code of this file.

Classes

struct  G4ProcessState_Lock
 
class  G4VITProcess
 
struct  G4VITProcess::G4ProcessState
 
class  G4VITProcess::G4ProcessStateBase< T >
 

Macros

#define InitProcessState(destinationType, source)
 
#define DowncastProcessState(destinationType)
 
#define UpcastProcessState(destinationType)
 
#define DowncastState(destinationType, source)
 
#define UpcastState(destinationType, source)
 

Macro Definition Documentation

◆ DowncastProcessState

#define DowncastProcessState ( destinationType)
Value:
#define G4dynamic_pointer_cast
Definition G4memory.hh:36
G4shared_ptr< G4ProcessState > fpState

Definition at line 79 of file G4VITProcess.hh.

79#define DowncastProcessState(destinationType) \
80 G4dynamic_pointer_cast<destinationType>(G4VITProcess::fpState)

◆ DowncastState

#define DowncastState ( destinationType,
source )
Value:

Definition at line 85 of file G4VITProcess.hh.

85#define DowncastState(destinationType,source) \
86 G4dynamic_pointer_cast<destinationType>(source)

Referenced by G4VITProcess::SetProcessState().

◆ InitProcessState

#define InitProcessState ( destinationType,
source )
Value:
ReturnType & reference_cast(OriginalType &source)

Definition at line 76 of file G4VITProcess.hh.

76#define InitProcessState(destinationType,source) \
77 reference_cast<destinationType>(source)

◆ UpcastProcessState

#define UpcastProcessState ( destinationType)
Value:

Definition at line 82 of file G4VITProcess.hh.

82#define UpcastProcessState(destinationType) \
83 G4dynamic_pointer_cast<destinationType>(G4VITProcess::fpState)

Referenced by G4VITProcess::GetProcessState().

◆ UpcastState

#define UpcastState ( destinationType,
source )
Value:

Definition at line 88 of file G4VITProcess.hh.

88#define UpcastState(destinationType,source) \
89 G4dynamic_pointer_cast<destinationType>(source)