Geant4.10
|
#include <G4StateManager.hh>
Public Member Functions | |
~G4StateManager () | |
G4ApplicationState | GetCurrentState () const |
G4ApplicationState | GetPreviousState () const |
G4bool | SetNewState (G4ApplicationState requestedState) |
G4bool | SetNewState (G4ApplicationState requestedState, const char *msg) |
G4bool | RegisterDependent (G4VStateDependent *aDependent, G4bool bottom=false) |
G4bool | DeregisterDependent (G4VStateDependent *aDependent) |
G4VStateDependent * | RemoveDependent (const G4VStateDependent *aDependent) |
G4String | GetStateString (G4ApplicationState aState) const |
void | SetSuppressAbortion (G4int i) |
G4int | GetSuppressAbortion () const |
const char * | GetMessage () const |
void | SetExceptionHandler (G4VExceptionHandler *eh) |
G4VExceptionHandler * | GetExceptionHandler () const |
Static Public Member Functions | |
static G4StateManager * | GetStateManager () |
Protected Member Functions | |
G4StateManager () | |
Definition at line 60 of file G4StateManager.hh.
|
protected |
Definition at line 44 of file G4StateManager.cc.
References G4iosInitialization().
Referenced by GetStateManager().
G4StateManager::~G4StateManager | ( | ) |
Definition at line 57 of file G4StateManager.cc.
References G4iosFinalization().
G4bool G4StateManager::DeregisterDependent | ( | G4VStateDependent * | aDependent | ) |
Definition at line 160 of file G4StateManager.cc.
Referenced by G4VStateDependent::~G4VStateDependent().
G4ApplicationState G4StateManager::GetCurrentState | ( | ) | const |
Definition at line 180 of file G4StateManager.cc.
Referenced by G4RunManager::AbortEvent(), G4RunManager::AbortRun(), G4MTRunManager::AbortRun(), G4RunManager::ConfirmBeamOnCondition(), G4RunManagerKernel::DefineWorldVolume(), export_G4StateManager(), G4ParticleDefinition::G4ParticleDefinition(), G4UIGAG::G4UIGAG(), G4UIGainServer::G4UIGainServer(), G4EventManager::GetUserInformation(), G4ErrorPropagatorManager::InitGeant4e(), G4RunManager::Initialize(), G4RunManagerKernel::InitializePhysics(), G4UIcommand::IsAvailable(), G4VUIshell::MakePrompt(), G4UItcsh::MakePrompt(), G4ExceptionHandler::Notify(), G4VSceneHandler::ProcessScene(), G4ErrorPropagator::PropagateOneStep(), G4VModularPhysicsList::RegisterPhysics(), G4ParticleTable::Remove(), G4IonTable::Remove(), G4VModularPhysicsList::RemovePhysics(), G4VModularPhysicsList::ReplacePhysics(), G4RunManagerKernel::RunInitialization(), G4MaterialScanner::Scan(), G4UIGAG::SessionStart(), G4UIGainServer::SessionStart(), G4ParticlePropertyTable::SetParticleProperty(), G4EventManager::SetUserInformation(), G4VelocityTable::SetVelocityTableProperties(), G4TheRayTracer::Trace(), G4TheMTRayTracer::Trace(), G4RunManagerKernel::UpdateRegion(), G4RunManagerKernel::WorkerDefineWorldVolume(), G4ParticleDefinition::~G4ParticleDefinition(), G4RunManager::~G4RunManager(), and G4RunManagerKernel::~G4RunManagerKernel().
|
inline |
Referenced by G4Exception().
|
inline |
G4ApplicationState G4StateManager::GetPreviousState | ( | ) | const |
Definition at line 186 of file G4StateManager.cc.
Referenced by export_G4StateManager().
|
static |
Definition at line 131 of file G4StateManager.cc.
References G4StateManager().
Referenced by G4RunManager::AbortEvent(), G4RunManager::AbortRun(), G4MTRunManager::AbortRun(), HadrontherapyInteractionParameters::BeamOn(), IORTInteractionParameters::BeamOn(), G4ErrorPropagatorManager::CloseGeometry(), G4RunManager::ConfirmBeamOnCondition(), G4TheRayTracer::CreateBitMap(), G4UIcommandTree::CreateHTML(), G4RunManagerKernel::DefineWorldVolume(), export_G4StateManager(), pyG4Exception::f2_G4Exception(), G4EventManager::G4EventManager(), G4Exception(), G4ParticleDefinition::G4ParticleDefinition(), G4RunManagerKernel::G4RunManagerKernel(), G4UIGAG::G4UIGAG(), G4UIGainServer::G4UIGainServer(), G4VExceptionHandler::G4VExceptionHandler(), G4VStateDependent::G4VStateDependent(), G4UIcontrolMessenger::GetCurrentValue(), G4DNAMolecularMaterial::GetDensityTableFor(), G4DNAMolecularMaterial::GetNumMolPerVolTableFor(), G4ErrorPropagatorManager::InitGeant4e(), G4RunManager::Initialize(), G4RunManagerKernel::InitializePhysics(), G4UIcommand::IsAvailable(), G4VUIshell::MakePrompt(), G4UItcsh::MakePrompt(), G4ExceptionHandler::Notify(), G4UImanager::Notify(), G4ErrorPropagatorManager::PrintG4State(), G4VSceneHandler::ProcessScene(), G4ErrorPropagator::PropagateOneStep(), PyG4ExceptionHandler::PyG4ExceptionHandler(), G4VModularPhysicsList::RegisterPhysics(), G4ParticleTable::Remove(), G4IonTable::Remove(), G4VModularPhysicsList::RemovePhysics(), G4VModularPhysicsList::ReplacePhysics(), G4RunManagerKernel::RunInitialization(), G4RunManagerKernel::RunTermination(), G4MaterialScanner::Scan(), G4UIGAG::SessionStart(), G4UIGainServer::SessionStart(), G4UIcontrolMessenger::SetNewValue(), G4ParticlePropertyTable::SetParticleProperty(), G4VelocityTable::SetVelocityTableProperties(), G4TheRayTracer::Trace(), G4TheMTRayTracer::Trace(), G4RunManagerKernel::UpdateRegion(), G4RunManagerKernel::WorkerDefineWorldVolume(), G4ParticleDefinition::~G4ParticleDefinition(), G4RunManager::~G4RunManager(), G4RunManagerKernel::~G4RunManagerKernel(), and G4VStateDependent::~G4VStateDependent().
G4String G4StateManager::GetStateString | ( | G4ApplicationState | aState | ) | const |
Definition at line 247 of file G4StateManager.cc.
References G4State_Abort, G4State_EventProc, G4State_GeomClosed, G4State_Idle, G4State_Init, G4State_PreInit, and G4State_Quit.
Referenced by G4UIcommandTree::CreateHTML(), export_G4StateManager(), G4UIGAG::G4UIGAG(), G4UIGainServer::G4UIGainServer(), G4UIGAG::SessionStart(), G4UIGainServer::SessionStart(), G4TheMTRayTracer::Trace(), and G4RunManagerKernel::WorkerDefineWorldVolume().
|
inline |
G4bool G4StateManager::RegisterDependent | ( | G4VStateDependent * | aDependent, |
G4bool | bottom = false |
||
) |
Definition at line 141 of file G4StateManager.cc.
Referenced by G4VStateDependent::G4VStateDependent().
G4VStateDependent * G4StateManager::RemoveDependent | ( | const G4VStateDependent * | aDependent | ) |
Definition at line 227 of file G4StateManager.cc.
|
inline |
Referenced by G4VExceptionHandler::G4VExceptionHandler().
G4bool G4StateManager::SetNewState | ( | G4ApplicationState | requestedState | ) |
Definition at line 192 of file G4StateManager.cc.
Referenced by G4ErrorPropagatorManager::CloseGeometry(), G4TheRayTracer::CreateBitMap(), G4RunManagerKernel::DefineWorldVolume(), G4RunManagerKernel::G4RunManagerKernel(), G4RunManagerKernel::InitializePhysics(), G4RunManagerKernel::RunInitialization(), G4RunManagerKernel::RunTermination(), G4RunManagerKernel::WorkerDefineWorldVolume(), G4RunManager::~G4RunManager(), and G4RunManagerKernel::~G4RunManagerKernel().
G4bool G4StateManager::SetNewState | ( | G4ApplicationState | requestedState, |
const char * | msg | ||
) |
Definition at line 196 of file G4StateManager.cc.
References G4State_Abort, G4State_EventProc, and G4VStateDependent::Notify().
Referenced by G4UIcontrolMessenger::SetNewValue().