ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/source/interfaces/basic/include/G4UIterminal.hh>
Public Member Functions | |
G4UIterminal (G4VUIshell *aShell=0, G4bool qsig=true) | |
~G4UIterminal () | |
void | SetPrompt (const G4String &prompt) |
virtual G4UIsession * | SessionStart () |
virtual void | PauseSessionStart (const G4String &msg) |
virtual G4int | ReceiveG4cout (const G4String &coutString) |
virtual G4int | ReceiveG4cerr (const G4String &cerrString) |
Public Member Functions inherited from G4VBasicShell | |
G4VBasicShell () | |
virtual | ~G4VBasicShell () |
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 Member Functions | |
virtual void | ExecuteCommand (const G4String &aCommand) |
virtual G4bool | GetHelpChoice (G4int &aInt) |
virtual void | ExitHelp () const |
G4String | GetCommand (const char *msg=0) |
Private Attributes | |
G4UImanager * | UI |
G4VUIshell * | shell |
G4bool | iExit |
G4bool | iCont |
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 Member Functions inherited from G4VBasicShell | |
G4String | ModifyToFullPathCommand (const char *aCommandLine) const |
G4String | GetCurrentWorkingDirectory () const |
G4bool | ChangeDirectory (const char *newDir) |
G4UIcommandTree * | FindDirectory (const char *dirName) const |
G4UIcommand * | FindCommand (const char *commandName) const |
G4String | Complete (const G4String &) |
G4String | FindMatchingPath (G4UIcommandTree *, const G4String &) |
void | ApplyShellCommand (const G4String &, G4bool &, G4bool &) |
void | ShowCurrent (const G4String &) const |
void | ChangeDirectoryCommand (const G4String &) |
void | ListDirectory (const G4String &) const |
void | TerminalHelp (const G4String &) |
Protected Attributes inherited from G4UIsession | |
G4int | ifBatch |
G4int | lastRC |
Static Protected Attributes inherited from G4UIsession | |
static G4ICOMS_DLL G4int | inSession = 0 |
Definition at line 70 of file G4UIterminal.hh.
View newest version in sPHENIX GitHub at line 70 of file G4UIterminal.hh
G4UIterminal::G4UIterminal | ( | G4VUIshell * | aShell = 0 , |
G4bool | qsig = true |
||
) |
Definition at line 90 of file G4UIterminal.cc.
View newest version in sPHENIX GitHub at line 90 of file G4UIterminal.cc
References FALSE, G4UImanager::GetUIpointer(), iCont, iExit, shell, SignalHandler(), theshell, and UI.
G4UIterminal::~G4UIterminal | ( | ) |
Definition at line 113 of file G4UIterminal.cc.
View newest version in sPHENIX GitHub at line 113 of file G4UIterminal.cc
References G4UImanager::GetUIpointer(), shell, and UI.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Reimplemented from G4VBasicShell.
Definition at line 160 of file G4UIterminal.cc.
View newest version in sPHENIX GitHub at line 160 of file G4UIterminal.cc
References fAliasNotFound, fCommandNotFound, fCommandSucceeded, fIllegalApplicationState, G4VBasicShell::FindCommand(), fParameterOutOfCandidates, fParameterOutOfRange, fParameterUnreadable, G4cerr, G4cout, G4endl, G4UIcommand::GetParameter(), G4UIparameter::GetParameterCandidates(), G4String::index(), G4UImanager::SolveAlias(), and UI.
Referenced by PauseSessionStart(), and SessionStart().
|
privatevirtual |
Implements G4VBasicShell.
Definition at line 335 of file G4UIterminal.cc.
View newest version in sPHENIX GitHub at line 335 of file G4UIterminal.cc
References G4cin.
|
private |
Definition at line 211 of file G4UIterminal.cc.
View newest version in sPHENIX GitHub at line 211 of file G4UIterminal.cc
References G4VBasicShell::ChangeDirectoryCommand(), FALSE, G4cerr, G4cout, G4endl, G4VBasicShell::GetCurrentWorkingDirectory(), G4UImanager::GetPreviousCommand(), iCont, iExit, G4String::leading, G4VBasicShell::ListDirectory(), G4VBasicShell::ModifyToFullPathCommand(), G4String::remove(), shell, G4VBasicShell::ShowCurrent(), G4String::strip(), G4VBasicShell::TerminalHelp(), and UI.
Referenced by PauseSessionStart(), and SessionStart().
Implements G4VBasicShell.
Definition at line 322 of file G4UIterminal.cc.
View newest version in sPHENIX GitHub at line 322 of file G4UIterminal.cc
Implements G4VBasicShell.
Definition at line 147 of file G4UIterminal.cc.
View newest version in sPHENIX GitHub at line 147 of file G4UIterminal.cc
References ExecuteCommand(), GetCommand(), iCont, and TRUE.
Reimplemented from G4UIsession.
Definition at line 314 of file G4UIterminal.cc.
View newest version in sPHENIX GitHub at line 314 of file G4UIterminal.cc
Reimplemented from G4UIsession.
Definition at line 306 of file G4UIterminal.cc.
View newest version in sPHENIX GitHub at line 306 of file G4UIterminal.cc
|
virtual |
Implements G4VBasicShell.
Definition at line 133 of file G4UIterminal.cc.
View newest version in sPHENIX GitHub at line 133 of file G4UIterminal.cc
References ExecuteCommand(), GetCommand(), iExit, and TRUE.
Definition at line 126 of file G4UIterminal.cc.
View newest version in sPHENIX GitHub at line 126 of file G4UIterminal.cc
References shell.
|
private |
Definition at line 78 of file G4UIterminal.hh.
View newest version in sPHENIX GitHub at line 78 of file G4UIterminal.hh
Referenced by G4UIterminal(), GetCommand(), and PauseSessionStart().
|
private |
Definition at line 77 of file G4UIterminal.hh.
View newest version in sPHENIX GitHub at line 77 of file G4UIterminal.hh
Referenced by G4UIterminal(), GetCommand(), and SessionStart().
|
private |
Definition at line 74 of file G4UIterminal.hh.
View newest version in sPHENIX GitHub at line 74 of file G4UIterminal.hh
Referenced by G4UIterminal(), GetCommand(), SetPrompt(), and ~G4UIterminal().
|
private |
Definition at line 72 of file G4UIterminal.hh.
View newest version in sPHENIX GitHub at line 72 of file G4UIterminal.hh
Referenced by ExecuteCommand(), G4UIterminal(), GetCommand(), and ~G4UIterminal().