|
Geant4 VMC Version 6.7
|
The manager class for application state. More...
#include <TG4StateManager.h>

Public Member Functions | |
| TG4StateManager () | |
| virtual | ~TG4StateManager () |
| void | SetNewState (TG4ApplicationState state) |
| TG4ApplicationState | GetCurrentState () const |
| TG4ApplicationState | GetPreviousState () const |
Public Member Functions inherited from TG4Verbose | |
| TG4Verbose (const G4String &cmdName) | |
| TG4Verbose (const G4String &cmdName, G4int verboseLevel) | |
| virtual | ~TG4Verbose () |
| virtual void | VerboseLevel (G4int level) |
| virtual G4int | VerboseLevel () const |
Static Public Member Functions | |
| static TG4StateManager * | Instance () |
| static G4String | GetStateName (TG4ApplicationState state) |
Private Member Functions | |
| TG4StateManager (const TG4StateManager &right) | |
| Not implemented. | |
| TG4StateManager & | operator= (const TG4StateManager &right) |
| Not implemented. | |
Private Attributes | |
| TG4ApplicationState | fCurrentState |
| the current application state | |
| TG4ApplicationState | fPreviousState |
| the previous application state | |
Static Private Attributes | |
| static G4ThreadLocal TG4StateManager * | fgInstance = 0 |
| this instance | |
The manager class for application state.
Definition at line 30 of file TG4StateManager.h.
| TG4StateManager::TG4StateManager | ( | ) |
Standard constructor
Definition at line 49 of file TG4StateManager.cxx.
Referenced by Instance(), operator=(), and TG4StateManager().
|
virtual |
Destructor
Definition at line 66 of file TG4StateManager.cxx.
|
private |
Not implemented.
|
inlinestatic |
Return this instance
Definition at line 61 of file TG4StateManager.h.
Referenced by TG4RunManager::ConfigureRunManager(), TG4SDConstruction::Construct(), TG4GeometryManager::ConstructG4Geometry(), TG4GeometryManager::ConstructGeometry(), TG4UserParticlesPhysics::ConstructParticle(), TG4PhysicsManager::DefineParticles(), TG4PrimaryGeneratorAction::GeneratePrimaries(), and TG4EventAction::LateInitialize().
|
static |
Return string for given application state
Definition at line 21 of file TG4StateManager.cxx.
Referenced by SetNewState().
| void TG4StateManager::SetNewState | ( | TG4ApplicationState | state | ) |
Set application state
Definition at line 74 of file TG4StateManager.cxx.
Referenced by TG4RunManager::ConfigureRunManager(), TG4SDConstruction::Construct(), TG4GeometryManager::ConstructG4Geometry(), TG4GeometryManager::ConstructGeometry(), TG4UserParticlesPhysics::ConstructParticle(), TG4PhysicsManager::DefineParticles(), and TG4PrimaryGeneratorAction::GeneratePrimaries().
|
inline |
Return application state
Definition at line 67 of file TG4StateManager.h.
|
inline |
Return application state
Definition at line 73 of file TG4StateManager.h.
|
private |
Not implemented.
|
staticprivate |
this instance
Definition at line 52 of file TG4StateManager.h.
Referenced by Instance(), TG4StateManager(), and ~TG4StateManager().
|
private |
the current application state
Definition at line 55 of file TG4StateManager.h.
Referenced by GetCurrentState(), SetNewState(), and TG4StateManager().
|
private |
the previous application state
Definition at line 56 of file TG4StateManager.h.
Referenced by GetPreviousState(), SetNewState(), and TG4StateManager().