ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/source/interfaces/GAG/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 () | |
G4UIsession (G4int iBatch) | |
virtual | ~G4UIsession () |
G4int | GetLastReturnCode () const |
Public Member Functions inherited from G4coutDestination | |
G4coutDestination ()=default | |
virtual | ~G4coutDestination () |
void | AddCoutTransformer (const Transformer &t) |
void | AddCoutTransformer (Transformer &&t) |
void | AddCerrTransformer (const Transformer &t) |
void | AddCerrTransformer (Transformer &&t) |
virtual void | ResetTransformers () |
G4int | ReceiveG4cout_ (const G4String &msg) |
G4int | ReceiveG4cerr_ (const G4String &msg) |
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 | |
Public Types inherited from G4coutDestination | |
using | Transformer = std::function< G4bool(G4String &)> |
Static Public Member Functions inherited from G4UIsession | |
static G4int | InSession () |
Protected Attributes inherited from G4UIsession | |
G4int | ifBatch |
G4int | lastRC |
Static Protected Attributes inherited from G4UIsession | |
static G4ICOMS_DLL G4int | inSession = 0 |
Definition at line 52 of file G4UIGAG.hh.
View newest version in sPHENIX GitHub at line 52 of file G4UIGAG.hh
G4UIGAG::G4UIGAG | ( | ) |
Definition at line 38 of file G4UIGAG.cc.
View newest version in sPHENIX GitHub at line 38 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, gammaraytel::tree, TVersion, UI, and uiMode.
G4UIGAG::~G4UIGAG | ( | ) |
Definition at line 61 of file G4UIGAG.cc.
View newest version in sPHENIX GitHub at line 61 of file G4UIGAG.cc
References G4UImanager::GetUIpointer(), G4UImanager::SetCoutDestination(), G4UImanager::SetSession(), and UI.
Definition at line 358 of file G4UIGAG.cc.
View newest version in sPHENIX GitHub at line 358 of file G4UIGAG.cc
References G4String::both, FindDirPath(), G4cout, G4endl, ModifyPrefix(), prefix, and G4String::strip().
Referenced by GetCommand().
|
private |
Definition at line 580 of file G4UIGAG.cc.
View newest version in sPHENIX GitHub at line 580 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 562 of file G4UIGAG.cc.
View newest version in sPHENIX GitHub at line 562 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 729 of file G4UIGAG.cc.
View newest version in sPHENIX GitHub at line 729 of file G4UIGAG.cc
References G4UIcommandTree::GetCommand(), G4UIcommandTree::GetCommandEntry(), G4UIcommandTree::GetTree(), G4UIcommandTree::GetTreeEntry(), and SendATclParamProperty().
Referenced by SendCommandProperties(), and SendParameterProperties().
|
private |
Definition at line 667 of file G4UIGAG.cc.
View newest version in sPHENIX GitHub at line 667 of file G4UIGAG.cc
References G4String::append(), c, G4cout, G4endl, G4UIcommandTree::GetCommand(), G4UIcommandTree::GetCommandEntry(), G4UIcommand::GetCommandPath(), G4UIcommand::GetGuidanceEntries(), G4UIcommand::GetGuidanceLine(), G4UIcommandTree::GetPathName(), G4UIcommandTree::GetTitle(), G4UIcommandTree::GetTree(), G4UIcommandTree::GetTreeEntry(), int(), k, and t.
Referenced by SendCommandProperties().
Definition at line 825 of file G4UIGAG.cc.
View newest version in sPHENIX GitHub at line 825 of file G4UIGAG.cc
References added, addedAndDeleted, deleted, G4cout, G4endl, newTreeCommands, notChanged, and previousTreeCommands.
Referenced by ExecuteCommand().
Definition at line 99 of file G4UIGAG.cc.
View newest version in sPHENIX GitHub at line 99 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, gammaraytel::tree, UI, uiMode, UpdateParamVal(), and UpdateState().
Referenced by PauseSessionStart(), and SessionStart().
|
private |
Definition at line 514 of file G4UIGAG.cc.
View newest version in sPHENIX GitHub at line 514 of file G4UIGAG.cc
References G4UIcommandTree::GetTree(), G4UImanager::GetTree(), incremental_prev_tag::idx, G4String::index(), and UI.
Referenced by ChangeDirectory(), and ListDirectory().
G4String G4UIGAG::GetCommand | ( | ) |
Definition at line 188 of file G4UIGAG.cc.
View newest version in sPHENIX GitHub at line 188 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(), gammaraytel::tree, TVersion, UI, and uiMode.
Referenced by PauseSessionStart(), and SessionStart().
Definition at line 302 of file G4UIGAG.cc.
View newest version in sPHENIX GitHub at line 302 of file G4UIGAG.cc
References G4String::append(), G4String::both, ModifyPrefix(), prefix, and G4String::strip().
Referenced by GetCommand(), and ShowCurrent().
|
private |
Definition at line 855 of file G4UIGAG.cc.
View newest version in sPHENIX GitHub at line 855 of file G4UIGAG.cc
References G4UIcommandTree::GetCommand(), G4UIcommandTree::GetCommandEntry(), G4UIcommand::GetCommandPath(), G4UIcommandTree::GetPathName(), G4UIcommandTree::GetTitle(), G4UIcommand::GetTitle(), G4UIcommandTree::GetTree(), G4UIcommandTree::GetTreeEntry(), newTreeCommands, t, and title().
Referenced by ExecuteCommand(), and G4UIGAG().
|
private |
Definition at line 934 of file G4UIGAG.cc.
View newest version in sPHENIX GitHub at line 934 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, newTreePCP, and t.
Referenced by ExecuteCommand(), and G4UIGAG().
Definition at line 385 of file G4UIGAG.cc.
View newest version in sPHENIX GitHub at line 385 of file G4UIGAG.cc
References G4String::both, FindDirPath(), G4cout, G4endl, G4UIcommandTree::ListCurrent(), ModifyPrefix(), prefix, and G4String::strip().
Referenced by GetCommand().
Definition at line 489 of file G4UIGAG.cc.
View newest version in sPHENIX GitHub at line 489 of file G4UIGAG.cc
References G4String::last(), and prefix.
Referenced by ChangeDirectory(), GetFullPath(), and ListDirectory().
Definition at line 797 of file G4UIGAG.cc.
View newest version in sPHENIX GitHub at line 797 of file G4UIGAG.cc
References G4UImanager::GetTree(), SendCommandProperties(), gammaraytel::tree, and UI.
Referenced by ExecuteCommand().
|
private |
Definition at line 803 of file G4UIGAG.cc.
View newest version in sPHENIX GitHub at line 803 of file G4UIGAG.cc
References java_mode, SendAParamProperty(), SendATclParamProperty(), and uiMode.
Referenced by UpdateParamVal().
Definition at line 783 of file G4UIGAG.cc.
View newest version in sPHENIX GitHub at line 783 of file G4UIGAG.cc
References G4cout, G4endl, G4StateManager::GetCurrentState(), G4StateManager::GetStateManager(), G4StateManager::GetStateString(), G4UImanager::GetTree(), SendDisableList(), terminal_mode, gammaraytel::tree, UI, and uiMode.
Referenced by GetCommand(), and UpdateState().
Reimplemented from G4UIsession.
Definition at line 86 of file G4UIGAG.cc.
View newest version in sPHENIX GitHub at line 86 of file G4UIGAG.cc
References ExecuteCommand(), G4cout, G4endl, GetCommand(), iCont, and promptCharacter.
Definition at line 183 of file G4UIGAG.cc.
View newest version in sPHENIX GitHub at line 183 of file G4UIGAG.cc
References promptCharacter.
Reimplemented from G4UIsession.
Definition at line 177 of file G4UIGAG.cc.
View newest version in sPHENIX GitHub at line 177 of file G4UIGAG.cc
Reimplemented from G4UIsession.
Definition at line 171 of file G4UIGAG.cc.
View newest version in sPHENIX GitHub at line 171 of file G4UIGAG.cc
|
private |
Definition at line 603 of file G4UIGAG.cc.
View newest version in sPHENIX GitHub at line 603 of file G4UIGAG.cc
References G4String::append(), c, 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(), int(), G4UIparameter::IsOmittable(), and title().
Referenced by CodeGenJavaParams(), and NotifyParameterUpdate().
|
private |
Definition at line 748 of file G4UIGAG.cc.
View newest version in sPHENIX GitHub at line 748 of file G4UIGAG.cc
References G4String::append(), c, G4cout, G4endl, G4UIcommand::GetCommandPath(), G4UIparameter::GetDefaultValue(), G4UIcommand::GetParameter(), G4UIparameter::GetParameterCandidates(), G4UIcommand::GetParameterEntries(), G4UIparameter::GetParameterGuidance(), G4UIparameter::GetParameterName(), G4UIparameter::GetParameterRange(), G4UIparameter::GetParameterType(), G4UIcommand::GetRange(), int(), and G4UIparameter::IsOmittable().
Referenced by CodeGenTclParams(), and NotifyParameterUpdate().
|
private |
Definition at line 531 of file G4UIGAG.cc.
View newest version in sPHENIX GitHub at line 531 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 644 of file G4UIGAG.cc.
View newest version in sPHENIX GitHub at line 644 of file G4UIGAG.cc
References false, G4cout, G4endl, G4UIcommandTree::GetCommand(), G4UIcommandTree::GetCommandEntry(), G4UIcommand::GetCommandPath(), G4UIcommandTree::GetTree(), G4UIcommandTree::GetTreeEntry(), and G4UIcommand::IsAvailable().
Referenced by NotifyStateChange().
|
private |
Definition at line 549 of file G4UIGAG.cc.
View newest version in sPHENIX GitHub at line 549 of file G4UIGAG.cc
References CodeGenJavaParams(), CodeGenTclParams(), G4cerr, G4endl, java_mode, and uiMode.
|
virtual |
Reimplemented from G4UIsession.
Definition at line 71 of file G4UIGAG.cc.
View newest version in sPHENIX GitHub at line 71 of file G4UIGAG.cc
References ExecuteCommand(), GetCommand(), G4StateManager::GetCurrentState(), G4StateManager::GetStateManager(), G4StateManager::GetStateString(), iExit, and promptCharacter.
void G4UIGAG::SessionTerminate | ( | ) |
Definition at line 336 of file G4UIGAG.cc.
View newest version in sPHENIX GitHub at line 336 of file G4UIGAG.cc
Definition at line 341 of file G4UIGAG.cc.
View newest version in sPHENIX GitHub at line 341 of file G4UIGAG.cc
References G4cout, G4endl, G4UImanager::GetCurrentValues(), GetFullPath(), G4String::isNull(), terminal_mode, UI, and uiMode.
Referenced by GetCommand().
Definition at line 413 of file G4UIGAG.cc.
View newest version in sPHENIX GitHub at line 413 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().
Definition at line 882 of file G4UIGAG.cc.
View newest version in sPHENIX GitHub at line 882 of file G4UIGAG.cc
References G4cout, G4endl, G4UIcommand::GetCommandPath(), newTreeParams, newTreePCP, NotifyParameterUpdate(), and previousTreeParams.
Referenced by ExecuteCommand().
Definition at line 812 of file G4UIGAG.cc.
View newest version in sPHENIX GitHub at line 812 of file G4UIGAG.cc
References G4State_PreInit, G4ThreadLocal, G4StateManager::GetCurrentState(), G4StateManager::GetStateManager(), and NotifyStateChange().
Referenced by ExecuteCommand().
|
private |
Definition at line 83 of file G4UIGAG.hh.
View newest version in sPHENIX GitHub at line 83 of file G4UIGAG.hh
Referenced by G4UIGAG(), GetCommand(), and PauseSessionStart().
|
private |
Definition at line 82 of file G4UIGAG.hh.
View newest version in sPHENIX GitHub at line 82 of file G4UIGAG.hh
Referenced by G4UIGAG(), GetCommand(), and SessionStart().
|
private |
Definition at line 87 of file G4UIGAG.hh.
View newest version in sPHENIX GitHub at line 87 of file G4UIGAG.hh
Referenced by G4UIGAG(), and GetCommand().
|
private |
Definition at line 122 of file G4UIGAG.hh.
View newest version in sPHENIX GitHub at line 122 of file G4UIGAG.hh
Referenced by CommandUpdated(), ExecuteCommand(), G4UIGAG(), and GetNewTreeStructure().
|
private |
Definition at line 124 of file G4UIGAG.hh.
View newest version in sPHENIX GitHub at line 124 of file G4UIGAG.hh
Referenced by ExecuteCommand(), G4UIGAG(), GetNewTreeValues(), and UpdateParamVal().
|
private |
Definition at line 126 of file G4UIGAG.hh.
View newest version in sPHENIX GitHub at line 126 of file G4UIGAG.hh
Referenced by ExecuteCommand(), G4UIGAG(), GetNewTreeValues(), and UpdateParamVal().
|
private |
Definition at line 79 of file G4UIGAG.hh.
View newest version in sPHENIX GitHub at line 79 of file G4UIGAG.hh
Referenced by ChangeDirectory(), GetFullPath(), ListDirectory(), ModifyPrefix(), and TerminalHelp().
|
private |
Definition at line 121 of file G4UIGAG.hh.
View newest version in sPHENIX GitHub at line 121 of file G4UIGAG.hh
Referenced by CommandUpdated(), ExecuteCommand(), and G4UIGAG().
|
private |
Definition at line 123 of file G4UIGAG.hh.
View newest version in sPHENIX GitHub at line 123 of file G4UIGAG.hh
Referenced by ExecuteCommand(), G4UIGAG(), and UpdateParamVal().
|
private |
Definition at line 125 of file G4UIGAG.hh.
View newest version in sPHENIX GitHub at line 125 of file G4UIGAG.hh
Referenced by ExecuteCommand(), and G4UIGAG().
|
private |
Definition at line 81 of file G4UIGAG.hh.
View newest version in sPHENIX GitHub at line 81 of file G4UIGAG.hh
Referenced by G4UIGAG(), GetCommand(), PauseSessionStart(), Prompt(), and SessionStart().
|
private |
Definition at line 88 of file G4UIGAG.hh.
View newest version in sPHENIX GitHub at line 88 of file G4UIGAG.hh
Referenced by G4UIGAG(), and GetCommand().
|
private |
Definition at line 80 of file G4UIGAG.hh.
View newest version in sPHENIX GitHub at line 80 of file G4UIGAG.hh
Referenced by ExecuteCommand(), FindDirPath(), G4UIGAG(), GetCommand(), NotifyCommandUpdate(), NotifyStateChange(), ShowCurrent(), TerminalHelp(), and ~G4UIGAG().
|
private |
Definition at line 84 of file G4UIGAG.hh.
View newest version in sPHENIX GitHub at line 84 of file G4UIGAG.hh
Referenced by ExecuteCommand(), G4UIGAG(), GetCommand(), NotifyParameterUpdate(), NotifyStateChange(), SendCommandProperties(), SendParameterProperties(), and ShowCurrent().