Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4TrackState.hh File Reference
#include <map>
#include "G4memory.hh"
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
 
class  G4TrackStateDependent< T >
 
class  G4TrackStateBase< T >
 
class  G4TrackState< T >
 
class  G4TrackStateManager
 
class  G4VTrackStateDependent
 
class  G4TrackStateDependent< T >
 

Macros

#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 210 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:69

Definition at line 333 of file G4TrackState.hh.

Typedef Documentation

Definition at line 93 of file G4TrackState.hh.

Function Documentation

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

Definition at line 214 of file G4TrackState.hh.

215 {
216 
217  G4shared_ptr<G4VTrackState> output =
219  return output;
220 }
#define G4dynamic_pointer_cast
Definition: G4memory.hh:36

Here is the caller graph for this function:

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

Definition at line 224 of file G4TrackState.hh.

225 {
226 
227  G4shared_ptr<G4TrackState<FinalType> > output =
229  return output;
230 }
#define G4dynamic_pointer_cast
Definition: G4memory.hh:36