Geant4
10.02.p02
|
#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 () | |
virtual | ~G4UIsession () |
Public Member Functions inherited from G4coutDestination | |
G4coutDestination () | |
virtual | ~G4coutDestination () |
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 | |
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 &) |
Static Protected Attributes inherited from G4coutDestination | |
static G4coutDestination * | masterG4coutDestination = 0 |
Definition at line 71 of file G4UIterminal.hh.
G4UIterminal::G4UIterminal | ( | G4VUIshell * | aShell = 0 , |
G4bool | qsig = true |
||
) |
Definition at line 91 of file G4UIterminal.cc.
References FALSE, G4UImanager::GetUIpointer(), iCont, iExit, shell, SignalHandler(), theshell, and UI.
G4UIterminal::~G4UIterminal | ( | ) |
Definition at line 114 of file G4UIterminal.cc.
References G4UImanager::GetUIpointer(), shell, and UI.
|
privatevirtual |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Reimplemented from G4VBasicShell.
Definition at line 161 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 |
|
private |
Definition at line 212 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 323 of file G4UIterminal.cc.
|
virtual |
Implements G4VBasicShell.
Definition at line 148 of file G4UIterminal.cc.
References ExecuteCommand(), GetCommand(), iCont, and TRUE.
Reimplemented from G4UIsession.
Definition at line 315 of file G4UIterminal.cc.
Reimplemented from G4UIsession.
Definition at line 307 of file G4UIterminal.cc.
|
virtual |
Implements G4VBasicShell.
Definition at line 134 of file G4UIterminal.cc.
References ExecuteCommand(), GetCommand(), iExit, and TRUE.
void G4UIterminal::SetPrompt | ( | const G4String & | prompt | ) |
Definition at line 127 of file G4UIterminal.cc.
References shell.
|
private |
Definition at line 79 of file G4UIterminal.hh.
Referenced by G4UIterminal(), GetCommand(), and PauseSessionStart().
|
private |
Definition at line 78 of file G4UIterminal.hh.
Referenced by G4UIterminal(), GetCommand(), and SessionStart().
|
private |
Definition at line 75 of file G4UIterminal.hh.
Referenced by G4UIterminal(), GetCommand(), SetPrompt(), and ~G4UIterminal().
|
private |
Definition at line 73 of file G4UIterminal.hh.
Referenced by ExecuteCommand(), G4UIterminal(), GetCommand(), and ~G4UIterminal().