Geant4  10.02
G4TrackState.hh File Reference
#include "G4memory.hh"
#include <map>
+ Include dependency graph for G4TrackState.hh:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  G4VTrackStateID
 
class  G4TrackStateID< T >
 
class  G4VTrackState
 
struct  type_wrapper< T >
 
class  G4TrackStateDependent< T >
 
class  G4TrackStateBase< T >
 
class  G4TrackState< T >
 
class  G4TrackStateManager
 
class  G4VTrackStateDependent
 
class  G4TrackStateDependent< T >
 

Macros

#define TYPE_WRAPPER
 
#define G4TrackStateHandle(T)   G4shared_ptr<G4TrackState<T> >
 
#define RegisterTrackState(CLASS, STATE)
 

Typedefs

typedef G4shared_ptr
< G4VTrackState
G4VTrackStateHandle
 

Functions

template<class OriginalType >
G4shared_ptr< G4VTrackStateConvertToAbstractTrackState (G4shared_ptr< G4TrackState< OriginalType > > state)
 
template<class FinalType >
G4shared_ptr< G4TrackState
< FinalType > > 
ConvertToConcreteTrackState (G4VTrackStateHandle state)
 

Macro Definition Documentation

#define G4TrackStateHandle (   T)    G4shared_ptr<G4TrackState<T> >

Definition at line 226 of file G4TrackState.hh.

#define RegisterTrackState (   CLASS,
  STATE 
)
Value:
template<> \
public CLASS::STATE \
{ \
friend class G4TrackStateDependent<CLASS>; \
public: \
typedef CLASS::STATE State; \
G4TrackState() : G4TrackStateBase<CLASS>(), CLASS::STATE(){}\
virtual ~G4TrackState(){}\
virtual int GetID()\
{\
}\
static int ID()\
{\
}\
protected:\
};
#define State(X)
static int GetID()
Definition: G4TrackState.hh:63

Definition at line 339 of file G4TrackState.hh.

#define TYPE_WRAPPER

Definition at line 92 of file G4TrackState.hh.

Typedef Documentation

Definition at line 89 of file G4TrackState.hh.

Function Documentation

template<class OriginalType >
G4shared_ptr<G4VTrackState> ConvertToAbstractTrackState ( G4shared_ptr< G4TrackState< OriginalType > >  state)

Definition at line 229 of file G4TrackState.hh.

References G4dynamic_pointer_cast.

Referenced by G4TrackStateDependent< G4ITSafetyHelper >::SaveTrackState().

+ Here is the caller graph for this function:

template<class FinalType >
G4shared_ptr<G4TrackState<FinalType> > ConvertToConcreteTrackState ( G4VTrackStateHandle  state)

Definition at line 237 of file G4TrackState.hh.

References G4dynamic_pointer_cast.