Geant4
10.02.p02
|
#include <G4UImanager.hh>
Public Member Functions | |
~G4UImanager () | |
G4String | GetCurrentValues (const char *aCommand) |
void | AddNewCommand (G4UIcommand *newCommand) |
void | RemoveCommand (G4UIcommand *aCommand) |
void | ExecuteMacroFile (const char *fileName) |
void | Loop (const char *macroFile, const char *variableName, G4double initialValue, G4double finalValue, G4double stepSize=1.0) |
void | Foreach (const char *macroFile, const char *variableName, const char *candidates) |
G4int | ApplyCommand (const char *aCommand) |
G4int | ApplyCommand (const G4String &aCommand) |
void | StoreHistory (const char *fileName="G4history.macro") |
void | StoreHistory (G4bool historySwitch, const char *fileName="G4history.macro") |
void | ListCommands (const char *direc) |
void | SetAlias (const char *aliasLine) |
void | RemoveAlias (const char *aliasName) |
void | ListAlias () |
G4String | SolveAlias (const char *aCmd) |
void | CreateHTML (const char *dir="/") |
void | LoopS (const char *valueList) |
void | ForeachS (const char *valueList) |
virtual G4bool | Notify (G4ApplicationState requestedState) |
G4String | GetCurrentStringValue (const char *aCommand, G4int parameterNumber=1, G4bool reGet=true) |
G4int | GetCurrentIntValue (const char *aCommand, G4int parameterNumber=1, G4bool reGet=true) |
G4double | GetCurrentDoubleValue (const char *aCommand, G4int parameterNumber=1, G4bool reGet=true) |
G4String | GetCurrentStringValue (const char *aCommand, const char *aParameterName, G4bool reGet=true) |
G4int | GetCurrentIntValue (const char *aCommand, const char *aParameterName, G4bool reGet=true) |
G4double | GetCurrentDoubleValue (const char *aCommand, const char *aParameterName, G4bool reGet=true) |
void | SetPauseAtBeginOfEvent (G4bool vl) |
G4bool | GetPauseAtBeginOfEvent () const |
void | SetPauseAtEndOfEvent (G4bool vl) |
G4bool | GetPauseAtEndOfEvent () const |
G4UIcommandTree * | GetTree () const |
G4UIsession * | GetSession () const |
G4UIsession * | GetG4UIWindow () const |
void | SetSession (G4UIsession *const value) |
void | SetG4UIWindow (G4UIsession *const value) |
void | SetCoutDestination (G4UIsession *const value) |
void | SetVerboseLevel (G4int val) |
G4int | GetVerboseLevel () const |
G4int | GetNumberOfHistory () const |
G4String | GetPreviousCommand (G4int i) const |
void | SetMaxHistSize (G4int mx) |
G4int | GetMaxHistSize () const |
void | SetMacroSearchPath (const G4String &path) |
const G4String & | GetMacroSearchPath () const |
void | ParseMacroSearchPath () |
G4String | FindMacroPath (const G4String &fname) const |
void | SetMasterUIManager (G4bool val) |
void | SetIgnoreCmdNotFound (G4bool val) |
std::vector< G4String > * | GetCommandStack () |
void | RegisterBridge (G4UIbridge *brg) |
void | SetUpForAThread (G4int tId) |
void | SetUpForSpecialThread (G4String aPrefix) |
G4int | GetThreadID () const |
void | SetCoutFileName (const G4String &fileN="G4cout.txt", G4bool ifAppend=true) |
void | SetCerrFileName (const G4String &fileN="G4cerr.txt", G4bool ifAppend=true) |
void | SetThreadPrefixString (const G4String &s="W") |
void | SetThreadUseBuffer (G4bool flg=true) |
void | SetThreadIgnore (G4int tid=0) |
void | SetThreadIgnoreInit (G4bool flg=true) |
G4MTcoutDestination * | GetThreadCout () |
Public Member Functions inherited from G4VStateDependent | |
G4VStateDependent (G4bool bottom=false) | |
virtual | ~G4VStateDependent () |
G4int | operator== (const G4VStateDependent &right) const |
G4int | operator!= (const G4VStateDependent &right) const |
Static Public Member Functions | |
static G4UImanager * | GetUIpointer () |
static G4UImanager * | GetMasterUIpointer () |
Protected Member Functions | |
G4UImanager () | |
Private Member Functions | |
G4UImanager (const G4UImanager &right) | |
const G4UImanager & | operator= (const G4UImanager &right) |
G4int | operator== (const G4UImanager &right) const |
G4int | operator!= (const G4UImanager &right) const |
void | AddWorkerCommand (G4UIcommand *newCommand) |
void | RemoveWorkerCommand (G4UIcommand *aCommand) |
void | PauseSession (const char *msg) |
void | CreateMessenger () |
G4UIcommandTree * | FindDirectory (const char *dirName) |
Private Attributes | |
G4UIcommandTree * | treeTop |
G4UIsession * | session |
G4UIsession * | g4UIWindow |
G4UIcontrolMessenger * | UImessenger |
G4UnitsMessenger * | UnitsMessenger |
G4LocalThreadCoutMessenger * | CoutMessenger |
G4String | savedParameters |
G4UIcommand * | savedCommand |
G4int | verboseLevel |
std::ofstream | historyFile |
G4bool | saveHistory |
std::vector< G4String > | histVec |
G4UIaliasList * | aliasList |
G4int | maxHistSize |
G4bool | pauseAtBeginOfEvent |
G4bool | pauseAtEndOfEvent |
G4String | searchPath |
std::vector< G4String > | searchDirs |
G4bool | isMaster |
std::vector< G4UIbridge * > * | bridges |
G4bool | ignoreCmdNotFound |
G4bool | stackCommandsForBroadcast |
std::vector< G4String > * | commandStack |
G4int | threadID |
G4MTcoutDestination * | threadCout |
Static Private Attributes | |
static G4ThreadLocal G4UImanager * | fUImanager = 0 |
static G4ThreadLocal G4bool | fUImanagerHasBeenKilled = false |
static G4UImanager * | fMasterUImanager = 0 |
static G4int | igThreadID = -1 |
Definition at line 56 of file G4UImanager.hh.
|
protected |
Definition at line 74 of file G4UImanager.cc.
References aliasList, commandStack, g4UIWindow, maxHistSize, pauseAtBeginOfEvent, pauseAtEndOfEvent, savedCommand, savedParameters, saveHistory, searchPath, session, SetCoutDestination(), treeTop, and verboseLevel.
Referenced by GetUIpointer().
G4UImanager::~G4UImanager | ( | ) |
Definition at line 105 of file G4UImanager.cc.
References aliasList, bridges, commandStack, CoutMessenger, fUImanager, fUImanagerHasBeenKilled, G4iosFinalization(), historyFile, histVec, saveHistory, SetCoutDestination(), threadCout, threadID, treeTop, UImessenger, and UnitsMessenger.
|
private |
Definition at line 137 of file G4UImanager.cc.
References aliasList, bridges, commandStack, CoutMessenger, CreateMessenger(), g4UIWindow, ignoreCmdNotFound, isMaster, maxHistSize, pauseAtBeginOfEvent, pauseAtEndOfEvent, savedCommand, saveHistory, session, stackCommandsForBroadcast, threadCout, threadID, treeTop, UImessenger, UnitsMessenger, and verboseLevel.
void G4UImanager::AddNewCommand | ( | G4UIcommand * | newCommand | ) |
Definition at line 268 of file G4UImanager.cc.
References G4UIcommandTree::AddNewCommand(), AddWorkerCommand(), fMasterUImanager, G4Threading::G4GetThreadId(), and treeTop.
Referenced by G4UIcommand::G4UIcommandCommonConstructorCode().
|
private |
Definition at line 275 of file G4UImanager.cc.
References G4UIcommandTree::AddNewCommand(), and treeTop.
Referenced by AddNewCommand().
G4int G4UImanager::ApplyCommand | ( | const char * | aCommand | ) |
Definition at line 446 of file G4UImanager.cc.
References a1, a2, bridges, commandStack, G4UIcommand::DoIt(), fAliasNotFound, fCommandNotFound, fCommandSucceeded, fIllegalApplicationState, G4UIcommandTree::FindPath(), G4cout, G4endl, historyFile, histVec, ignoreCmdNotFound, G4String::index(), G4UIcommand::IsAvailable(), isMaster, G4String::isNull(), maxHistSize, G4String::remove(), saveHistory, SolveAlias(), stackCommandsForBroadcast, G4UIcommand::ToBeBroadcasted(), treeTop, and verboseLevel.
Referenced by G4UIbridge::ApplyCommand(), ApplyCommand(), CCalRunAction::BeginOfRunAction(), F01RunAction::BeginOfRunAction(), F02RunAction::BeginOfRunAction(), F03RunAction::BeginOfRunAction(), ExG4RunAction01::BeginOfRunAction(), Em10RunAction::BeginOfRunAction(), GammaRayTelRunAction::BeginOfRunAction(), XrayFluoRunAction::BeginOfRunAction(), XrayTelRunAction::BeginOfRunAction(), G4RunManagerKernel::BuildPhysicsTables(), G4TheMTRayTracer::CreateBitMap(), CML2AcceleratorConstruction::design(), CexmcRunManager::DoCommonEventLoop(), G4WorkerRunManager::DoWork(), DMXEventAction::drawTracks(), CCalRunAction::EndOfRunAction(), F01RunAction::EndOfRunAction(), F02RunAction::EndOfRunAction(), F03RunAction::EndOfRunAction(), ExG4RunAction01::EndOfRunAction(), G03RunAction::EndOfRunAction(), Em10RunAction::EndOfRunAction(), G02RunAction::EndOfRunAction(), XrayFluoRunAction::EndOfRunAction(), XrayTelRunAction::EndOfRunAction(), tbbTask::execute(), G4UIGAG::ExecuteCommand(), G4VBasicShell::ExecuteCommand(), G4UIGainServer::ExecuteCommand(), G4RunManager::GeometryHasBeenModified(), Initialize(), G4VisManager::IsValidView(), main(), G4WorkerRunManager::ProcessOneEvent(), G4RunManager::ProcessOneEvent(), G4VVisCommandViewer::RefreshIfRequired(), G4RunManager::ReinitializeGeometry(), G4RunManager::rndmSaveThisEvent(), G4RunManager::rndmSaveThisRun(), XrayFluoSimulation::RunSimulation(), WLSSteppingAction::saveRandomStatus(), G4VVisCommandGeometrySet::Set(), LXeDetectorConstruction::SetDefaults(), GammaRayTelDetectorConstruction::SetMagField(), G4VisCommandDrawTree::SetNewValue(), PerspectiveVisActionMessenger::SetNewValue(), G4VisCommandDrawView::SetNewValue(), G4VisCommandDrawVolume::SetNewValue(), G4TrackingMessenger::SetNewValue(), CML2AcceleratorConstructionMessenger::SetNewValue(), CML2PhantomConstructionMessenger::SetNewValue(), G4VisCommandGeometryRestore::SetNewValue(), G4ProcessTableMessenger::SetNewValue(), G4VisCommandOpen::SetNewValue(), G4EmParametersMessenger::SetNewValue(), G4UIcontrolMessenger::SetNewValue(), G4ProcessManagerMessenger::SetNewValue(), G4EnergyLossMessenger::SetNewValue(), G4VisCommandList::SetNewValue(), G4VisCommandSpecify::SetNewValue(), G4VisCommandReviewKeptEvents::SetNewValue(), G4VisCommandViewerClone::SetNewValue(), G4VisCommandViewerCreate::SetNewValue(), G4VisCommandViewerFlush::SetNewValue(), G4VisCommandSceneAddTrajectories::SetNewValue(), G4VisCommandGeometrySetVisibility::SetNewValueOnLV(), SignalHandler(), G4TheRayTracer::Trace(), and G4TheMTRayTracer::Trace().
Definition at line 439 of file G4UImanager.cc.
References ApplyCommand(), and G4String::data().
void G4UImanager::CreateHTML | ( | const char * | dir = "/" | ) |
Definition at line 655 of file G4UImanager.cc.
References G4UIcommandTree::CreateHTML(), FindDirectory(), G4cerr, and G4endl.
Referenced by export_G4UImanager(), and G4UIcontrolMessenger::SetNewValue().
|
private |
Definition at line 98 of file G4UImanager.cc.
References CoutMessenger, UImessenger, and UnitsMessenger.
Referenced by G4UImanager(), and GetUIpointer().
void G4UImanager::ExecuteMacroFile | ( | const char * | fileName | ) |
Definition at line 292 of file G4UImanager.cc.
References session, and G4UIsession::SessionStart().
Referenced by export_G4UImanager(), Foreach(), and G4UIcontrolMessenger::SetNewValue().
|
private |
Definition at line 560 of file G4UImanager.cc.
References G4String::both, G4UIcommandTree::GetTree(), G4String::index(), G4String::strip(), and treeTop.
Referenced by CreateHTML(), and ListCommands().
Definition at line 694 of file G4UImanager.cc.
References FileFound(), and searchDirs.
Referenced by Foreach().
void G4UImanager::Foreach | ( | const char * | macroFile, |
const char * | variableName, | ||
const char * | candidates | ||
) |
Definition at line 374 of file G4UImanager.cc.
References cd, ExecuteMacroFile(), FindMacroPath(), and SetAlias().
Referenced by ForeachS(), and Loop().
void G4UImanager::ForeachS | ( | const char * | valueList | ) |
Definition at line 345 of file G4UImanager.cc.
Referenced by G4UIcontrolMessenger::SetNewValue().
std::vector< G4String > * G4UImanager::GetCommandStack | ( | ) |
Definition at line 709 of file G4UImanager.cc.
References commandStack.
Referenced by G4MTRunManager::PrepareCommandsStack().
G4double G4UImanager::GetCurrentDoubleValue | ( | const char * | aCommand, |
G4int | parameterNumber = 1 , |
||
G4bool | reGet = true |
||
) |
Definition at line 256 of file G4UImanager.cc.
References GetCurrentStringValue().
G4double G4UImanager::GetCurrentDoubleValue | ( | const char * | aCommand, |
const char * | aParameterName, | ||
G4bool | reGet = true |
||
) |
Definition at line 244 of file G4UImanager.cc.
References GetCurrentStringValue().
G4int G4UImanager::GetCurrentIntValue | ( | const char * | aCommand, |
G4int | parameterNumber = 1 , |
||
G4bool | reGet = true |
||
) |
Definition at line 232 of file G4UImanager.cc.
References GetCurrentStringValue().
Referenced by G4TheRayTracer::Trace(), and G4TheMTRayTracer::Trace().
G4int G4UImanager::GetCurrentIntValue | ( | const char * | aCommand, |
const char * | aParameterName, | ||
G4bool | reGet = true |
||
) |
Definition at line 220 of file G4UImanager.cc.
References GetCurrentStringValue().
G4String G4UImanager::GetCurrentStringValue | ( | const char * | aCommand, |
G4int | parameterNumber = 1 , |
||
G4bool | reGet = true |
||
) |
Definition at line 182 of file G4UImanager.cc.
References G4String::append(), GetCurrentValues(), G4String::isNull(), savedCommand, and savedParameters.
Referenced by GetCurrentDoubleValue(), GetCurrentIntValue(), GetCurrentStringValue(), G4DecayTableMessenger::SetCurrentParticle(), G4ParticlePropertyMessenger::SetCurrentParticle(), and G4ProcessManagerMessenger::SetCurrentParticle().
G4String G4UImanager::GetCurrentStringValue | ( | const char * | aCommand, |
const char * | aParameterName, | ||
G4bool | reGet = true |
||
) |
Definition at line 204 of file G4UImanager.cc.
References GetCurrentStringValue(), GetCurrentValues(), G4UIcommand::GetParameter(), G4UIcommand::GetParameterEntries(), G4UIparameter::GetParameterName(), and savedCommand.
G4String G4UImanager::GetCurrentValues | ( | const char * | aCommand | ) |
Definition at line 170 of file G4UImanager.cc.
References G4UIcommandTree::FindPath(), G4cerr, G4endl, G4UIcommand::GetCurrentValue(), savedCommand, and treeTop.
Referenced by export_G4UImanager(), GetCurrentStringValue(), G4UIcontrolMessenger::SetNewValue(), G4VBasicShell::ShowCurrent(), G4UIGAG::ShowCurrent(), and G4UIGainServer::ShowCurrent().
|
inline |
Definition at line 210 of file G4UImanager.hh.
References g4UIWindow.
Referenced by main().
|
inline |
Definition at line 245 of file G4UImanager.hh.
References searchPath.
Referenced by export_G4UImanager().
|
static |
Definition at line 71 of file G4UImanager.cc.
References fMasterUImanager.
Referenced by G4UIbridge::G4UIbridge(), and G4UIcommand::G4UIcommandCommonConstructorCode().
|
inline |
Definition at line 240 of file G4UImanager.hh.
References maxHistSize.
Referenced by G4UIcontrolMessenger::GetCurrentValue().
|
inline |
Definition at line 229 of file G4UImanager.hh.
Referenced by G4VBasicShell::ApplyShellCommand(), G4UIGAG::GetCommand(), and G4UIGainServer::GetCommand().
|
inline |
Definition at line 194 of file G4UImanager.hh.
References pauseAtBeginOfEvent.
Referenced by export_G4UImanager().
|
inline |
Definition at line 198 of file G4UImanager.hh.
References pauseAtEndOfEvent.
Referenced by export_G4UImanager().
Definition at line 231 of file G4UImanager.hh.
Referenced by G4VBasicShell::ApplyShellCommand(), G4UIGAG::GetCommand(), G4UIterminal::GetCommand(), and G4UIGainServer::GetCommand().
|
inline |
Definition at line 208 of file G4UImanager.hh.
References session.
Referenced by G4VisCommandReviewKeptEvents::SetNewValue().
|
inline |
Definition at line 294 of file G4UImanager.hh.
References threadCout.
|
inline |
Definition at line 279 of file G4UImanager.hh.
References threadID.
|
inline |
Definition at line 206 of file G4UImanager.hh.
References treeTop.
Referenced by G4VBasicShell::Complete(), G4CascadeParamMessenger::CreateDirectory(), G4UIGAG::ExecuteCommand(), G4UIGainServer::ExecuteCommand(), export_G4UImanager(), G4VBasicShell::FindCommand(), G4VBasicShell::FindDirectory(), G4UIGAG::FindDirPath(), G4UIGainServer::FindDirPath(), G4UIGAG::G4UIGAG(), G4UIGainServer::G4UIGainServer(), G4UIGAG::GetCommand(), G4UIGainServer::GetCommand(), G4UIGAG::NotifyCommandUpdate(), G4UIGainServer::NotifyCommandUpdate(), G4UIGAG::NotifyStateChange(), G4UIGainServer::NotifyStateChange(), G4UIGAG::TerminalHelp(), G4VBasicShell::TerminalHelp(), and G4UIGainServer::TerminalHelp().
|
static |
Definition at line 58 of file G4UImanager.cc.
References CreateMessenger(), fUImanager, fUImanagerHasBeenKilled, and G4UImanager().
Referenced by G4VBasicShell::ApplyShellCommand(), G4MPImanager::BeamOn(), CCalRunAction::BeginOfRunAction(), F01RunAction::BeginOfRunAction(), F02RunAction::BeginOfRunAction(), F03RunAction::BeginOfRunAction(), ExG4RunAction01::BeginOfRunAction(), Em10RunAction::BeginOfRunAction(), GammaRayTelRunAction::BeginOfRunAction(), XrayFluoRunAction::BeginOfRunAction(), XrayTelRunAction::BeginOfRunAction(), G4RunManagerKernel::BuildPhysicsTables(), CexmcSensitiveDetectorMessenger::CexmcSensitiveDetectorMessenger(), G4VBasicShell::Complete(), G4TheMTRayTracer::CreateBitMap(), G4CascadeParamMessenger::CreateDirectory(), G4UImessenger::CreateDirectory(), CML2AcceleratorConstruction::design(), CexmcRunManager::DoCommonEventLoop(), G4WorkerRunManager::DoWork(), G4BlineEventAction::DrawFieldLines(), DMXEventAction::drawTracks(), CCalRunAction::EndOfRunAction(), F01RunAction::EndOfRunAction(), F02RunAction::EndOfRunAction(), F03RunAction::EndOfRunAction(), ExG4RunAction01::EndOfRunAction(), G03RunAction::EndOfRunAction(), Em10RunAction::EndOfRunAction(), G02RunAction::EndOfRunAction(), XrayFluoRunAction::EndOfRunAction(), XrayTelRunAction::EndOfRunAction(), G4VMPIsession::ExecCommand(), G4UIbatch::ExecCommand(), tbbTask::execute(), G4VBasicShell::ExecuteCommand(), G4MPImanager::ExecuteThreadCommand(), export_G4UImanager(), G4VBasicShell::FindCommand(), G4VBasicShell::FindDirectory(), G4MTRunManager::G4MTRunManager(), G4UIbatch::G4UIbatch(), G4UIcommand::G4UIcommandCommonConstructorCode(), G4UIGAG::G4UIGAG(), G4UIGainServer::G4UIGainServer(), G4UIterminal::G4UIterminal(), G4WorkerRunManager::G4WorkerRunManager(), G4RunManager::GeometryHasBeenModified(), G4VisManager::GeometryHasChanged(), G4VUIshell::GetCommandTree(), G4UIcontrolMessenger::GetCurrentValue(), Initialize(), G4VisManager::IsValidView(), main(), G4VisManager::NotifyHandlers(), G4MTRunManager::PrepareCommandsStack(), G4WorkerRunManager::ProcessOneEvent(), G4RunManager::ProcessOneEvent(), G4VVisCommandViewer::RefreshIfRequired(), G4RunManager::ReinitializeGeometry(), LaserDrivenBeamLine::RemoveESS(), LaserDrivenBeamLine::RemoveQuads(), pyglobals::ResetG4PyCoutDestination(), G4RunManager::rndmSaveThisEvent(), G4RunManager::rndmSaveThisRun(), XrayFluoSimulation::RunSimulation(), WLSSteppingAction::saveRandomStatus(), G4MPIbatch::SessionStart(), G4UIbatch::SessionStart(), G4VVisCommandGeometrySet::Set(), G4DecayTableMessenger::SetCurrentParticle(), G4ParticlePropertyMessenger::SetCurrentParticle(), G4ProcessManagerMessenger::SetCurrentParticle(), LXeDetectorConstruction::SetDefaults(), LaserDrivenBeamLine::SetFirstCollimatorPositionZ(), LaserDrivenBeamLine::SetFirstCollimatorRadius(), LaserDrivenBeamLine::SetFirstCollimatorThickness(), pyglobals::SetG4PyCoutDestination(), GammaRayTelDetectorConstruction::SetMagField(), G4VisCommandDrawTree::SetNewValue(), PerspectiveVisActionMessenger::SetNewValue(), G4MPImessenger::SetNewValue(), G4VisCommandDrawView::SetNewValue(), G4LocalThreadCoutMessenger::SetNewValue(), G4VisCommandSceneHandlerCreate::SetNewValue(), G4VisCommandDrawVolume::SetNewValue(), G4TrackingMessenger::SetNewValue(), CML2PhantomConstructionMessenger::SetNewValue(), CML2AcceleratorConstructionMessenger::SetNewValue(), G4VisCommandGeometryRestore::SetNewValue(), G4ProcessTableMessenger::SetNewValue(), G4VisCommandOpen::SetNewValue(), G4EmParametersMessenger::SetNewValue(), G4RunMessenger::SetNewValue(), G4UIcontrolMessenger::SetNewValue(), G4ProcessManagerMessenger::SetNewValue(), G4EnergyLossMessenger::SetNewValue(), G4VisCommandList::SetNewValue(), G4VisCommandSpecify::SetNewValue(), G4VisCommandReviewKeptEvents::SetNewValue(), G4VisCommandViewerClone::SetNewValue(), G4VisCommandViewerCreate::SetNewValue(), G4VisCommandViewerFlush::SetNewValue(), G4VisCommandSceneAddTrajectories::SetNewValue(), G4VisCommandGeometrySetVisibility::SetNewValueOnLV(), LaserDrivenBeamLine::SetSecondCollimatorPositionZ(), LaserDrivenBeamLine::SetSecondCollimatorRadius(), LaserDrivenBeamLine::SetSecondCollimatorThickness(), LaserDrivenBeamLine::SetSlitHoleDimensionY(), LaserDrivenBeamLine::SetSlitHoleDimensionZ(), LaserDrivenBeamLine::SetSlitHolePositionZ(), LaserDrivenBeamLine::SetThicknessSlit(), G4VBasicShell::ShowCurrent(), SignalHandler(), G4MTRunManagerKernel::StartThread(), G4VBasicShell::TerminalHelp(), G4TheRayTracer::Trace(), G4TheMTRayTracer::Trace(), G4VVisCommand::UpdateVisManagerScene(), G4MPIsession::~G4MPIsession(), G4RunManagerKernel::~G4RunManagerKernel(), G4UIcommand::~G4UIcommand(), G4UIGAG::~G4UIGAG(), G4UIGainServer::~G4UIGainServer(), and G4UIterminal::~G4UIterminal().
|
inline |
Definition at line 227 of file G4UImanager.hh.
References verboseLevel.
Referenced by export_G4UImanager(), G4UIcontrolMessenger::GetCurrentValue(), G4VisCommandDrawTree::SetNewValue(), G4VisCommandDrawView::SetNewValue(), G4VisCommandDrawVolume::SetNewValue(), G4VisCommandOpen::SetNewValue(), G4VisCommandSpecify::SetNewValue(), G4VisCommandReviewKeptEvents::SetNewValue(), G4VisCommandViewerClone::SetNewValue(), G4VisCommandViewerFlush::SetNewValue(), and G4VisCommandSceneAddTrajectories::SetNewValue().
void G4UImanager::ListAlias | ( | ) |
Definition at line 650 of file G4UImanager.cc.
References aliasList, and G4UIaliasList::List().
Referenced by G4UIcontrolMessenger::SetNewValue().
void G4UImanager::ListCommands | ( | const char * | direc | ) |
Definition at line 551 of file G4UImanager.cc.
References FindDirectory(), G4cout, G4endl, and G4UIcommandTree::List().
Referenced by G4UIcontrolMessenger::SetNewValue().
void G4UImanager::Loop | ( | const char * | macroFile, |
const char * | variableName, | ||
G4double | initialValue, | ||
G4double | finalValue, | ||
G4double | stepSize = 1.0 |
||
) |
Definition at line 321 of file G4UImanager.cc.
Referenced by LoopS().
void G4UImanager::LoopS | ( | const char * | valueList | ) |
Definition at line 301 of file G4UImanager.cc.
References c1, d1, d2, d3, and Loop().
Referenced by G4UIcontrolMessenger::SetNewValue().
|
virtual |
Implements G4VStateDependent.
Definition at line 582 of file G4UImanager.cc.
References G4State_EventProc, G4State_GeomClosed, G4StateManager::GetStateManager(), pauseAtBeginOfEvent, pauseAtEndOfEvent, and PauseSession().
|
private |
Definition at line 167 of file G4UImanager.cc.
|
private |
Definition at line 163 of file G4UImanager.cc.
References right.
|
private |
Definition at line 165 of file G4UImanager.cc.
void G4UImanager::ParseMacroSearchPath | ( | ) |
Definition at line 664 of file G4UImanager.cc.
References G4String::index(), searchDirs, and searchPath.
|
private |
Definition at line 546 of file G4UImanager.cc.
References G4UIsession::PauseSessionStart(), and session.
Referenced by Notify().
void G4UImanager::RegisterBridge | ( | G4UIbridge * | brg | ) |
Definition at line 716 of file G4UImanager.cc.
References bridges, FatalException, G4Exception(), and G4UIbridge::LocalUI().
Referenced by G4UIbridge::G4UIbridge().
void G4UImanager::RemoveAlias | ( | const char * | aliasName | ) |
Definition at line 643 of file G4UImanager.cc.
References aliasList, G4String::both, G4UIaliasList::RemoveAlias(), and G4String::strip().
Referenced by G4UIcontrolMessenger::SetNewValue().
void G4UImanager::RemoveCommand | ( | G4UIcommand * | aCommand | ) |
Definition at line 280 of file G4UImanager.cc.
References fMasterUImanager, G4Threading::G4GetThreadId(), G4UIcommandTree::RemoveCommand(), RemoveWorkerCommand(), and treeTop.
Referenced by G4UIcommand::~G4UIcommand().
|
private |
Definition at line 287 of file G4UImanager.cc.
References G4UIcommandTree::RemoveCommand(), and treeTop.
Referenced by RemoveCommand().
void G4UImanager::SetAlias | ( | const char * | aliasLine | ) |
Definition at line 624 of file G4UImanager.cc.
References aliasList, G4UIaliasList::ChangeAlias(), and G4String::index().
Referenced by Foreach(), and G4UIcontrolMessenger::SetNewValue().
Definition at line 760 of file G4UImanager.cc.
References G4MTcoutDestination::SetCerrFileName(), threadCout, and threadID.
Referenced by G4LocalThreadCoutMessenger::SetNewValue().
void G4UImanager::SetCoutDestination | ( | G4UIsession *const | value | ) |
Definition at line 618 of file G4UImanager.cc.
References G4cerrbuf, G4coutbuf, and G4strstreambuf::SetDestination().
Referenced by G4UIGAG::G4UIGAG(), G4UImanager(), G4UIGAG::~G4UIGAG(), G4UIGainServer::~G4UIGainServer(), and ~G4UImanager().
Definition at line 745 of file G4UImanager.cc.
References G4MTcoutDestination::SetCoutFileName(), threadCout, and threadID.
Referenced by G4LocalThreadCoutMessenger::SetNewValue().
|
inline |
Definition at line 215 of file G4UImanager.hh.
|
inline |
Definition at line 269 of file G4UImanager.hh.
Referenced by G4WorkerRunManager::G4WorkerRunManager().
|
inline |
Definition at line 243 of file G4UImanager.hh.
Referenced by export_G4UImanager().
|
inline |
Definition at line 258 of file G4UImanager.hh.
Referenced by G4MTRunManager::G4MTRunManager().
|
inline |
Definition at line 238 of file G4UImanager.hh.
Referenced by G4UIcontrolMessenger::SetNewValue().
|
inline |
Definition at line 192 of file G4UImanager.hh.
Referenced by export_G4UImanager(), and G4RunMessenger::SetNewValue().
|
inline |
Definition at line 196 of file G4UImanager.hh.
Referenced by export_G4UImanager(), and G4RunMessenger::SetNewValue().
|
inline |
Definition at line 213 of file G4UImanager.hh.
Referenced by G4UIGAG::G4UIGAG(), G4UIGAG::~G4UIGAG(), and G4UIGainServer::~G4UIGainServer().
void G4UImanager::SetThreadIgnore | ( | G4int | tid = 0 | ) |
Definition at line 789 of file G4UImanager.cc.
References igThreadID, G4MTcoutDestination::SetIgnoreCout(), threadCout, and threadID.
Referenced by G4LocalThreadCoutMessenger::SetNewValue().
void G4UImanager::SetThreadIgnoreInit | ( | G4bool | flg = true | ) |
Definition at line 800 of file G4UImanager.cc.
References G4MTcoutDestination::SetIgnoreInit(), threadCout, and threadID.
Referenced by G4LocalThreadCoutMessenger::SetNewValue().
void G4UImanager::SetThreadPrefixString | ( | const G4String & | s = "W" | ) |
Definition at line 775 of file G4UImanager.cc.
References G4MTcoutDestination::SetPrefixString(), threadCout, and threadID.
Referenced by G4LocalThreadCoutMessenger::SetNewValue().
void G4UImanager::SetThreadUseBuffer | ( | G4bool | flg = true | ) |
Definition at line 782 of file G4UImanager.cc.
References G4MTcoutDestination::EnableBuffering(), threadCout, and threadID.
Referenced by G4LocalThreadCoutMessenger::SetNewValue().
void G4UImanager::SetUpForAThread | ( | G4int | tId | ) |
Definition at line 727 of file G4UImanager.cc.
References G4iosInitialization(), igThreadID, G4MTcoutDestination::SetIgnoreCout(), threadCout, and threadID.
Referenced by tbbTask::execute(), and G4MTRunManagerKernel::StartThread().
void G4UImanager::SetUpForSpecialThread | ( | G4String | aPrefix | ) |
Definition at line 735 of file G4UImanager.cc.
References G4iosInitialization(), G4Threading::G4SetThreadId(), G4Threading::GENERICTHREAD_ID, igThreadID, G4MTcoutDestination::SetIgnoreCout(), G4MTcoutDestination::SetPrefixString(), threadCout, and threadID.
|
inline |
Definition at line 225 of file G4UImanager.hh.
Referenced by export_G4UImanager(), G4VisCommandDrawTree::SetNewValue(), G4VisCommandDrawView::SetNewValue(), G4VisCommandDrawVolume::SetNewValue(), G4VisCommandOpen::SetNewValue(), G4UIcontrolMessenger::SetNewValue(), G4VisCommandSpecify::SetNewValue(), G4VisCommandReviewKeptEvents::SetNewValue(), G4VisCommandViewerClone::SetNewValue(), G4VisCommandViewerFlush::SetNewValue(), and G4VisCommandSceneAddTrajectories::SetNewValue().
G4String G4UImanager::SolveAlias | ( | const char * | aCmd | ) |
Definition at line 391 of file G4UImanager.cc.
References aliasList, G4UIaliasList::FindAlias(), G4cerr, G4endl, G4String::index(), and iz.
Referenced by ApplyCommand(), G4UIterminal::ExecuteCommand(), G4UIGAG::ExecuteCommand(), G4UIGainServer::ExecuteCommand(), and G4UIcontrolMessenger::SetNewValue().
void G4UImanager::StoreHistory | ( | const char * | fileName = "G4history.macro" | ) |
Definition at line 526 of file G4UImanager.cc.
Referenced by G4UIcontrolMessenger::SetNewValue().
void G4UImanager::StoreHistory | ( | G4bool | historySwitch, |
const char * | fileName = "G4history.macro" |
||
) |
Definition at line 529 of file G4UImanager.cc.
References historyFile, and saveHistory.
|
private |
Definition at line 163 of file G4UImanager.hh.
Referenced by G4UImanager(), ListAlias(), RemoveAlias(), SetAlias(), SolveAlias(), and ~G4UImanager().
|
private |
Definition at line 252 of file G4UImanager.hh.
Referenced by ApplyCommand(), G4UImanager(), RegisterBridge(), and ~G4UImanager().
|
private |
Definition at line 255 of file G4UImanager.hh.
Referenced by ApplyCommand(), G4UImanager(), GetCommandStack(), and ~G4UImanager().
|
private |
Definition at line 156 of file G4UImanager.hh.
Referenced by CreateMessenger(), G4UImanager(), and ~G4UImanager().
|
staticprivate |
Definition at line 150 of file G4UImanager.hh.
Referenced by AddNewCommand(), GetMasterUIpointer(), and RemoveCommand().
|
staticprivate |
Definition at line 148 of file G4UImanager.hh.
Referenced by GetUIpointer(), and ~G4UImanager().
|
staticprivate |
Definition at line 149 of file G4UImanager.hh.
Referenced by GetUIpointer(), and ~G4UImanager().
|
private |
Definition at line 153 of file G4UImanager.hh.
Referenced by G4UImanager(), and GetG4UIWindow().
|
private |
Definition at line 160 of file G4UImanager.hh.
Referenced by ApplyCommand(), StoreHistory(), and ~G4UImanager().
|
private |
Definition at line 162 of file G4UImanager.hh.
Referenced by ApplyCommand(), and ~G4UImanager().
|
private |
Definition at line 253 of file G4UImanager.hh.
Referenced by ApplyCommand(), and G4UImanager().
|
staticprivate |
Definition at line 285 of file G4UImanager.hh.
Referenced by SetThreadIgnore(), SetUpForAThread(), and SetUpForSpecialThread().
|
private |
Definition at line 251 of file G4UImanager.hh.
Referenced by ApplyCommand(), and G4UImanager().
|
private |
Definition at line 164 of file G4UImanager.hh.
Referenced by ApplyCommand(), G4UImanager(), and GetMaxHistSize().
|
private |
Definition at line 165 of file G4UImanager.hh.
Referenced by G4UImanager(), GetPauseAtBeginOfEvent(), and Notify().
|
private |
Definition at line 166 of file G4UImanager.hh.
Referenced by G4UImanager(), GetPauseAtEndOfEvent(), and Notify().
|
private |
Definition at line 158 of file G4UImanager.hh.
Referenced by G4UImanager(), GetCurrentStringValue(), and GetCurrentValues().
|
private |
Definition at line 157 of file G4UImanager.hh.
Referenced by G4UImanager(), and GetCurrentStringValue().
|
private |
Definition at line 161 of file G4UImanager.hh.
Referenced by ApplyCommand(), G4UImanager(), StoreHistory(), and ~G4UImanager().
|
private |
Definition at line 168 of file G4UImanager.hh.
Referenced by FindMacroPath(), and ParseMacroSearchPath().
|
private |
Definition at line 167 of file G4UImanager.hh.
Referenced by G4UImanager(), GetMacroSearchPath(), and ParseMacroSearchPath().
|
private |
Definition at line 152 of file G4UImanager.hh.
Referenced by ExecuteMacroFile(), G4UImanager(), GetSession(), and PauseSession().
|
private |
Definition at line 254 of file G4UImanager.hh.
Referenced by ApplyCommand(), and G4UImanager().
|
private |
Definition at line 284 of file G4UImanager.hh.
Referenced by G4UImanager(), GetThreadCout(), SetCerrFileName(), SetCoutFileName(), SetThreadIgnore(), SetThreadIgnoreInit(), SetThreadPrefixString(), SetThreadUseBuffer(), SetUpForAThread(), SetUpForSpecialThread(), and ~G4UImanager().
|
private |
Definition at line 283 of file G4UImanager.hh.
Referenced by G4UImanager(), GetThreadID(), SetCerrFileName(), SetCoutFileName(), SetThreadIgnore(), SetThreadIgnoreInit(), SetThreadPrefixString(), SetThreadUseBuffer(), SetUpForAThread(), SetUpForSpecialThread(), and ~G4UImanager().
|
private |
Definition at line 151 of file G4UImanager.hh.
Referenced by AddNewCommand(), AddWorkerCommand(), ApplyCommand(), FindDirectory(), G4UImanager(), GetCurrentValues(), GetTree(), RemoveCommand(), RemoveWorkerCommand(), and ~G4UImanager().
|
private |
Definition at line 154 of file G4UImanager.hh.
Referenced by CreateMessenger(), G4UImanager(), and ~G4UImanager().
|
private |
Definition at line 155 of file G4UImanager.hh.
Referenced by CreateMessenger(), G4UImanager(), and ~G4UImanager().
|
private |
Definition at line 159 of file G4UImanager.hh.
Referenced by ApplyCommand(), G4UImanager(), and GetVerboseLevel().