48 theBottomDependent(0),
53 #ifdef G4MULTITHREADED
66 for (std::vector<G4VStateDependent*>::iterator
78 if ( state ) {
delete state; }
80 #ifdef G4MULTITHREADED_DEACTIVATE
91 : theCurrentState(right.theCurrentState),
92 thePreviousState(right.thePreviousState),
93 theDependentsList(right.theDependentsList),
94 theBottomDependent(right.theBottomDependent),
95 suppressAbortion(right.suppressAbortion),
97 exceptionHandler(right.exceptionHandler)
104 if (&right ==
this) {
return *
this; }
120 return (
this == &right);
126 return (
this != &right);
167 if (**i==*aDependent)
227 G4cout<<
"#### G4StateManager::SetNewState from "
243 if (**i==*aDependent)
263 stateName =
"PreInit";
break;
265 stateName =
"Init";
break;
267 stateName =
"Idle";
break;
269 stateName =
"GeomClosed";
break;
271 stateName =
"EventProc";
break;
273 stateName =
"Quit";
break;
275 stateName =
"Abort";
break;
277 stateName =
"Unknown";
break;
static void SetVerboseLevel(G4int val)
G4bool SetNewState(G4ApplicationState requestedState)
void G4iosInitialization()
G4ApplicationState thePreviousState
static G4int verboseLevel
G4int operator!=(const G4StateManager &right) const
static G4ThreadLocal G4StateManager * theStateManager
G4VStateDependent * theBottomDependent
G4bool RegisterDependent(G4VStateDependent *aDependent, G4bool bottom=false)
G4String GetStateString(G4ApplicationState aState) const
G4ApplicationState theCurrentState
G4int operator==(const G4StateManager &right) const
std::vector< G4VStateDependent * > theDependentsList
G4VExceptionHandler * exceptionHandler
G4ApplicationState GetCurrentState() const
G4ApplicationState GetPreviousState() const
G4StateManager & operator=(const G4StateManager &right)
virtual G4bool Notify(G4ApplicationState requestedState)=0
G4GLOB_DLL std::ostream G4cout
G4VStateDependent * RemoveDependent(const G4VStateDependent *aDependent)
G4bool DeregisterDependent(G4VStateDependent *aDependent)
static G4StateManager * GetStateManager()