Geant4
10.01.p02
|
#include <G4UIGAG.hh>
Public Member Functions | |
G4UIGAG () | |
~G4UIGAG () | |
G4UIsession * | SessionStart () |
void | PauseSessionStart (const G4String &) |
G4int | ReceiveG4cout (const G4String &) |
G4int | ReceiveG4cerr (const G4String &) |
void | SessionTerminate () |
void | Prompt (const G4String &) |
G4String | GetCommand () |
Public Member Functions inherited from G4UIsession | |
G4UIsession () | |
virtual | ~G4UIsession () |
Public Member Functions inherited from G4coutDestination | |
G4coutDestination () | |
virtual | ~G4coutDestination () |
Private Attributes | |
G4String | prefix |
G4UImanager * | UI |
G4String | promptCharacter |
G4bool | iExit |
G4bool | iCont |
UImode | uiMode |
G4String | JVersion |
G4String | TVersion |
std::vector< G4String > | previousTreeCommands |
std::vector< G4String > | newTreeCommands |
std::vector< G4String > | previousTreeParams |
std::vector< G4String > | newTreeParams |
std::vector< G4UIcommand * > | previousTreePCP |
std::vector< G4UIcommand * > | newTreePCP |
Additional Inherited Members | |
Static Protected Attributes inherited from G4coutDestination | |
static G4coutDestination * | masterG4coutDestination = 0 |
Definition at line 53 of file G4UIGAG.hh.
G4UIGAG::G4UIGAG | ( | ) |
Definition at line 39 of file G4UIGAG.cc.
References G4StateManager::GetCurrentState(), GetNewTreeStructure(), GetNewTreeValues(), G4StateManager::GetStateManager(), G4StateManager::GetStateString(), G4UImanager::GetTree(), G4UImanager::GetUIpointer(), iCont, iExit, JVersion, newTreeCommands, newTreeParams, newTreePCP, previousTreeCommands, previousTreeParams, previousTreePCP, promptCharacter, G4UImanager::SetCoutDestination(), G4UImanager::SetSession(), terminal_mode, TVersion, UI, and uiMode.
G4UIGAG::~G4UIGAG | ( | ) |
Definition at line 62 of file G4UIGAG.cc.
References G4UImanager::GetUIpointer(), G4UImanager::SetCoutDestination(), G4UImanager::SetSession(), and UI.
|
private |
Definition at line 359 of file G4UIGAG.cc.
References G4String::both, FindDirPath(), G4cout, G4endl, ModifyPrefix(), prefix, and G4String::strip().
Referenced by GetCommand().
|
private |
Definition at line 581 of file G4UIGAG.cc.
References G4cout, G4endl, G4UIcommandTree::GetCommand(), G4UIcommandTree::GetCommandEntry(), G4UIcommandTree::GetPathName(), G4UIcommandTree::GetTitle(), G4UIcommandTree::GetTree(), G4UIcommandTree::GetTreeEntry(), and SendAParamProperty().
Referenced by SendCommandProperties(), and SendParameterProperties().
|
private |
Definition at line 563 of file G4UIGAG.cc.
References G4cout, G4endl, G4UIcommandTree::GetCommand(), G4UIcommandTree::GetCommandEntry(), G4UIcommand::GetCommandPath(), G4UIcommandTree::GetTree(), and G4UIcommandTree::GetTreeEntry().
Referenced by SendCommandProperties().
|
private |
Definition at line 730 of file G4UIGAG.cc.
References G4UIcommandTree::GetCommand(), G4UIcommandTree::GetCommandEntry(), G4UIcommandTree::GetTree(), G4UIcommandTree::GetTreeEntry(), and SendATclParamProperty().
Referenced by SendCommandProperties(), and SendParameterProperties().
|
private |
Definition at line 668 of file G4UIGAG.cc.
References G4String::append(), G4cout, G4endl, G4UIcommandTree::GetCommand(), G4UIcommandTree::GetCommandEntry(), G4UIcommand::GetCommandPath(), G4UIcommand::GetGuidanceEntries(), G4UIcommand::GetGuidanceLine(), G4UIcommandTree::GetPathName(), G4UIcommandTree::GetTitle(), G4UIcommandTree::GetTree(), and G4UIcommandTree::GetTreeEntry().
Referenced by SendCommandProperties().
|
private |
Definition at line 826 of file G4UIGAG.cc.
References added, addedAndDeleted, deleted, G4cout, G4endl, newTreeCommands, notChanged, and previousTreeCommands.
Referenced by ExecuteCommand().
|
private |
Definition at line 100 of file G4UIGAG.cc.
References G4UImanager::ApplyCommand(), CommandUpdated(), fAliasNotFound, fCommandNotFound, fCommandSucceeded, fIllegalApplicationState, fParameterOutOfCandidates, fParameterOutOfRange, fParameterUnreadable, G4cerr, G4cout, G4endl, GetNewTreeStructure(), GetNewTreeValues(), G4UImanager::GetTree(), newTreeCommands, newTreeParams, newTreePCP, NotifyCommandUpdate(), previousTreeCommands, previousTreeParams, previousTreePCP, G4UImanager::SolveAlias(), terminal_mode, UI, uiMode, UpdateParamVal(), and UpdateState().
Referenced by PauseSessionStart(), and SessionStart().
|
private |
Definition at line 515 of file G4UIGAG.cc.
References G4UIcommandTree::GetTree(), G4UImanager::GetTree(), G4String::index(), and UI.
Referenced by ChangeDirectory(), and ListDirectory().
G4String G4UIGAG::GetCommand | ( | ) |
Definition at line 189 of file G4UIGAG.cc.
References G4String::append(), ChangeDirectory(), FALSE, G4cerr, G4cin, G4cout, G4endl, GetFullPath(), G4UImanager::GetNumberOfHistory(), G4UImanager::GetPreviousCommand(), G4UImanager::GetTree(), iCont, iExit, java_mode, JVersion, G4String::leading, ListDirectory(), NotifyStateChange(), promptCharacter, G4String::readLine(), G4String::remove(), SendCommandProperties(), ShowCurrent(), G4String::strip(), tcl_mode, terminal_mode, TerminalHelp(), TVersion, UI, and uiMode.
Referenced by PauseSessionStart(), and SessionStart().
Definition at line 303 of file G4UIGAG.cc.
References G4String::append(), G4String::both, ModifyPrefix(), prefix, and G4String::strip().
Referenced by GetCommand(), and ShowCurrent().
|
private |
Definition at line 856 of file G4UIGAG.cc.
References G4UIcommandTree::GetCommand(), G4UIcommandTree::GetCommandEntry(), G4UIcommand::GetCommandPath(), G4UIcommandTree::GetPathName(), G4UIcommandTree::GetTitle(), G4UIcommand::GetTitle(), G4UIcommandTree::GetTree(), G4UIcommandTree::GetTreeEntry(), and newTreeCommands.
Referenced by ExecuteCommand(), and G4UIGAG().
|
private |
Definition at line 935 of file G4UIGAG.cc.
References G4UIcommandTree::GetCommand(), G4UIcommandTree::GetCommandEntry(), G4UIcommand::GetCommandPath(), G4UIparameter::GetDefaultValue(), G4UIcommand::GetParameter(), G4UIparameter::GetParameterCandidates(), G4UIcommand::GetParameterEntries(), G4UIparameter::GetParameterName(), G4UIparameter::GetParameterRange(), G4UIparameter::GetParameterType(), G4UIcommandTree::GetTree(), G4UIcommandTree::GetTreeEntry(), newTreeParams, and newTreePCP.
Referenced by ExecuteCommand(), and G4UIGAG().
|
private |
Definition at line 386 of file G4UIGAG.cc.
References G4String::both, FindDirPath(), G4cout, G4endl, G4UIcommandTree::ListCurrent(), ModifyPrefix(), prefix, and G4String::strip().
Referenced by GetCommand().
Definition at line 490 of file G4UIGAG.cc.
References G4String::last(), and prefix.
Referenced by ChangeDirectory(), GetFullPath(), and ListDirectory().
|
private |
Definition at line 798 of file G4UIGAG.cc.
References G4UImanager::GetTree(), SendCommandProperties(), and UI.
Referenced by ExecuteCommand().
|
private |
Definition at line 804 of file G4UIGAG.cc.
References java_mode, SendAParamProperty(), SendATclParamProperty(), and uiMode.
Referenced by UpdateParamVal().
|
private |
Definition at line 784 of file G4UIGAG.cc.
References G4cout, G4endl, G4StateManager::GetCurrentState(), G4StateManager::GetStateManager(), G4StateManager::GetStateString(), G4UImanager::GetTree(), SendDisableList(), terminal_mode, UI, and uiMode.
Referenced by GetCommand(), and UpdateState().
|
virtual |
Reimplemented from G4UIsession.
Definition at line 87 of file G4UIGAG.cc.
References ExecuteCommand(), G4cout, G4endl, GetCommand(), iCont, and promptCharacter.
void G4UIGAG::Prompt | ( | const G4String & | aPrompt | ) |
Definition at line 184 of file G4UIGAG.cc.
References promptCharacter.
Reimplemented from G4UIsession.
Definition at line 178 of file G4UIGAG.cc.
Reimplemented from G4UIsession.
Definition at line 172 of file G4UIGAG.cc.
|
private |
Definition at line 604 of file G4UIGAG.cc.
References G4String::append(), G4cout, G4endl, G4UIcommand::GetCommandPath(), G4UIparameter::GetDefaultValue(), G4UIcommand::GetGuidanceEntries(), G4UIcommand::GetGuidanceLine(), G4UIcommand::GetParameter(), G4UIparameter::GetParameterCandidates(), G4UIcommand::GetParameterEntries(), G4UIparameter::GetParameterGuidance(), G4UIparameter::GetParameterName(), G4UIparameter::GetParameterRange(), G4UIparameter::GetParameterType(), G4UIcommand::GetRange(), and G4UIparameter::IsOmittable().
Referenced by CodeGenJavaParams(), and NotifyParameterUpdate().
|
private |
Definition at line 749 of file G4UIGAG.cc.
References G4String::append(), G4cout, G4endl, G4UIcommand::GetCommandPath(), G4UIparameter::GetDefaultValue(), G4UIcommand::GetParameter(), G4UIparameter::GetParameterCandidates(), G4UIcommand::GetParameterEntries(), G4UIparameter::GetParameterGuidance(), G4UIparameter::GetParameterName(), G4UIparameter::GetParameterRange(), G4UIparameter::GetParameterType(), G4UIcommand::GetRange(), and G4UIparameter::IsOmittable().
Referenced by CodeGenTclParams(), and NotifyParameterUpdate().
|
private |
Definition at line 532 of file G4UIGAG.cc.
References CodeGenJavaParams(), CodeGenJavaTree(), CodeGenTclParams(), CodeGenTclTree(), G4cerr, G4cout, G4endl, java_mode, and uiMode.
Referenced by GetCommand(), and NotifyCommandUpdate().
|
private |
Definition at line 645 of file G4UIGAG.cc.
References G4cout, G4endl, G4UIcommandTree::GetCommand(), G4UIcommandTree::GetCommandEntry(), G4UIcommand::GetCommandPath(), G4UIcommandTree::GetTree(), G4UIcommandTree::GetTreeEntry(), and G4UIcommand::IsAvailable().
Referenced by NotifyStateChange().
|
private |
Definition at line 550 of file G4UIGAG.cc.
References CodeGenJavaParams(), CodeGenTclParams(), G4cerr, G4endl, java_mode, and uiMode.
|
virtual |
Reimplemented from G4UIsession.
Definition at line 72 of file G4UIGAG.cc.
References ExecuteCommand(), GetCommand(), G4StateManager::GetCurrentState(), G4StateManager::GetStateManager(), G4StateManager::GetStateString(), iExit, and promptCharacter.
void G4UIGAG::SessionTerminate | ( | ) |
Definition at line 337 of file G4UIGAG.cc.
|
private |
Definition at line 342 of file G4UIGAG.cc.
References G4cout, G4endl, G4UImanager::GetCurrentValues(), GetFullPath(), G4String::isNull(), terminal_mode, UI, and uiMode.
Referenced by GetCommand().
|
private |
Definition at line 414 of file G4UIGAG.cc.
References G4String::both, G4UIcommandTree::FindPath(), G4cin, G4cout, G4endl, G4UIcommandTree::GetCommand(), G4UIcommandTree::GetTree(), G4UImanager::GetTree(), G4UIcommandTree::GetTreeEntry(), G4String::index(), G4UIcommand::List(), G4UIcommandTree::ListCurrentWithNum(), prefix, G4String::prepend(), G4String::strip(), and UI.
Referenced by GetCommand().
|
private |
Definition at line 883 of file G4UIGAG.cc.
References G4cout, G4endl, G4UIcommand::GetCommandPath(), newTreeParams, newTreePCP, NotifyParameterUpdate(), and previousTreeParams.
Referenced by ExecuteCommand().
|
private |
Definition at line 813 of file G4UIGAG.cc.
References G4State_PreInit, G4ThreadLocal, G4StateManager::GetCurrentState(), G4StateManager::GetStateManager(), and NotifyStateChange().
Referenced by ExecuteCommand().
|
private |
Definition at line 84 of file G4UIGAG.hh.
Referenced by G4UIGAG(), GetCommand(), and PauseSessionStart().
|
private |
Definition at line 83 of file G4UIGAG.hh.
Referenced by G4UIGAG(), GetCommand(), and SessionStart().
|
private |
Definition at line 88 of file G4UIGAG.hh.
Referenced by G4UIGAG(), and GetCommand().
|
private |
Definition at line 123 of file G4UIGAG.hh.
Referenced by CommandUpdated(), ExecuteCommand(), G4UIGAG(), and GetNewTreeStructure().
|
private |
Definition at line 125 of file G4UIGAG.hh.
Referenced by ExecuteCommand(), G4UIGAG(), GetNewTreeValues(), and UpdateParamVal().
|
private |
Definition at line 127 of file G4UIGAG.hh.
Referenced by ExecuteCommand(), G4UIGAG(), GetNewTreeValues(), and UpdateParamVal().
|
private |
Definition at line 80 of file G4UIGAG.hh.
Referenced by ChangeDirectory(), GetFullPath(), ListDirectory(), ModifyPrefix(), and TerminalHelp().
|
private |
Definition at line 122 of file G4UIGAG.hh.
Referenced by CommandUpdated(), ExecuteCommand(), and G4UIGAG().
|
private |
Definition at line 124 of file G4UIGAG.hh.
Referenced by ExecuteCommand(), G4UIGAG(), and UpdateParamVal().
|
private |
Definition at line 126 of file G4UIGAG.hh.
Referenced by ExecuteCommand(), and G4UIGAG().
|
private |
Definition at line 82 of file G4UIGAG.hh.
Referenced by G4UIGAG(), GetCommand(), PauseSessionStart(), Prompt(), and SessionStart().
|
private |
Definition at line 89 of file G4UIGAG.hh.
Referenced by G4UIGAG(), and GetCommand().
|
private |
Definition at line 81 of file G4UIGAG.hh.
Referenced by ExecuteCommand(), FindDirPath(), G4UIGAG(), GetCommand(), NotifyCommandUpdate(), NotifyStateChange(), ShowCurrent(), TerminalHelp(), and ~G4UIGAG().
|
private |
Definition at line 85 of file G4UIGAG.hh.
Referenced by ExecuteCommand(), G4UIGAG(), GetCommand(), NotifyParameterUpdate(), NotifyStateChange(), SendCommandProperties(), SendParameterProperties(), and ShowCurrent().