47 theBottomDependent(0),
52 #ifdef G4MULTITHREADED
65 for (std::vector<G4VStateDependent*>::iterator
77 if ( state ) {
delete state; }
79 #ifdef G4MULTITHREADED_DEACTIVATE
90 : theCurrentState(right.theCurrentState),
91 thePreviousState(right.thePreviousState),
92 theDependentsList(right.theDependentsList),
93 theBottomDependent(right.theBottomDependent),
94 suppressAbortion(right.suppressAbortion),
96 exceptionHandler(right.exceptionHandler)
103 if (&right ==
this) {
return *
this; }
119 return (
this == &right);
125 return (
this != &right);
166 if (**i==*aDependent)
233 if (**i==*aDependent)
253 stateName =
"PreInit";
break;
255 stateName =
"Init";
break;
257 stateName =
"Idle";
break;
259 stateName =
"GeomClosed";
break;
261 stateName =
"EventProc";
break;
263 stateName =
"Quit";
break;
265 stateName =
"Abort";
break;
267 stateName =
"Unknown";
break;
G4ApplicationState GetPreviousState() const
G4ApplicationState theCurrentState
G4ApplicationState thePreviousState
G4bool RegisterDependent(G4VStateDependent *aDependent, G4bool bottom=false)
G4int operator==(const G4StateManager &right) const
G4int operator!=(const G4StateManager &right) const
G4VExceptionHandler * exceptionHandler
std::vector< G4VStateDependent * > theDependentsList
static G4StateManager * GetStateManager()
virtual G4bool Notify(G4ApplicationState requestedState)=0
G4bool SetNewState(G4ApplicationState requestedState)
G4VStateDependent * theBottomDependent
G4ApplicationState GetCurrentState() const
void G4iosInitialization()
G4VStateDependent * RemoveDependent(const G4VStateDependent *aDependent)
G4StateManager & operator=(const G4StateManager &right)
G4String GetStateString(G4ApplicationState aState) const
static G4ThreadLocal G4StateManager * theStateManager
G4bool DeregisterDependent(G4VStateDependent *aDependent)