Geant4  10.01.p02
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 284 of file G4TrackState.hh.

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

Definition at line 374 of file G4TrackState.hh.

#define TYPE_WRAPPER

Definition at line 120 of file G4TrackState.hh.

Typedef Documentation

Definition at line 110 of file G4TrackState.hh.

Function Documentation

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

Definition at line 287 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 295 of file G4TrackState.hh.

References G4dynamic_pointer_cast.