Geant4-11
|
#include <G4UIExecutive.hh>
Public Member Functions | |
G4UIExecutive (G4int argc, char **argv, const G4String &type="") | |
G4UIsession * | GetSession () const |
G4bool | IsGUI () const |
void | SessionStart () |
void | SetLsColor (TermColorIndex dirColor, TermColorIndex cmdColor) |
void | SetPrompt (const G4String &prompt) |
void | SetVerbose (G4bool val) |
~G4UIExecutive () | |
Private Types | |
enum | SessionType { kNone , kQt , kXm , kWin32 , kTcsh , kCsh } |
Private Member Functions | |
void | SelectSessionByArg (const G4String &stype) |
void | SelectSessionByBestGuess () |
void | SelectSessionByEnv () |
void | SelectSessionByFile (const G4String &appname) |
Private Attributes | |
G4bool | isGUI |
SessionType | selected |
G4UIsession * | session |
std::map< G4String, G4String > | sessionMap |
G4VUIshell * | shell |
G4bool | verbose |
Definition at line 59 of file G4UIExecutive.hh.
|
private |
Definition at line 78 of file G4UIExecutive.cc.
References DISCARD_PARAMETER, G4cout, G4endl, G4Exception(), isGUI, JustWarning, kCsh, kNone, kNone, kQt, kTcsh, kWin32, kXm, qt_build, selected, SelectSessionByArg(), SelectSessionByBestGuess(), SelectSessionByEnv(), SelectSessionByFile(), shell, tcsh_build, TIMEMORY_INIT, G4StrUtil::to_lower_copy(), verbose, win32_build, and xm_build.
G4UIExecutive::~G4UIExecutive | ( | ) |
|
inline |
|
inline |
|
private |
Definition at line 179 of file G4UIExecutive.cc.
References kCsh, kQt, kTcsh, kWin32, kXm, qt_build, selected, tcsh_build, win32_build, and xm_build.
Referenced by G4UIExecutive().
|
private |
Definition at line 254 of file G4UIExecutive.cc.
References kQt, kTcsh, kWin32, kXm, qt_build, selected, tcsh_build, win32_build, and xm_build.
Referenced by G4UIExecutive().
|
private |
Definition at line 189 of file G4UIExecutive.cc.
References kQt, kTcsh, kWin32, kXm, qt_build, selected, tcsh_build, win32_build, and xm_build.
Referenced by G4UIExecutive().
|
private |
Definition at line 198 of file G4UIExecutive.cc.
References BUFSIZE, test::fname, kCsh, kQt, kTcsh, kWin32, kXm, qt_build, selected, sessionMap, G4StrUtil::strip_copy(), tcsh_build, G4StrUtil::to_lower(), win32_build, and xm_build.
Referenced by G4UIExecutive().
void G4UIExecutive::SessionStart | ( | ) |
Definition at line 276 of file G4UIExecutive.cc.
References SessionStart().
Referenced by SessionStart().
void G4UIExecutive::SetLsColor | ( | TermColorIndex | dirColor, |
TermColorIndex | cmdColor | ||
) |
Definition at line 269 of file G4UIExecutive.cc.
References SetLsColor(), and shell.
Referenced by SetLsColor().
void G4UIExecutive::SetPrompt | ( | const G4String & | prompt | ) |
Definition at line 263 of file G4UIExecutive.cc.
References SetPrompt(), and shell.
Referenced by SetPrompt().
|
inline |
|
private |
Definition at line 82 of file G4UIExecutive.hh.
Referenced by G4UIExecutive(), and IsGUI().
|
private |
Definition at line 77 of file G4UIExecutive.hh.
Referenced by G4UIExecutive(), SelectSessionByArg(), SelectSessionByBestGuess(), SelectSessionByEnv(), and SelectSessionByFile().
|
private |
Definition at line 79 of file G4UIExecutive.hh.
Referenced by GetSession(), and ~G4UIExecutive().
Definition at line 86 of file G4UIExecutive.hh.
Referenced by SelectSessionByFile().
|
private |
Definition at line 80 of file G4UIExecutive.hh.
Referenced by G4UIExecutive(), SetLsColor(), and SetPrompt().
|
private |
Definition at line 84 of file G4UIExecutive.hh.
Referenced by G4UIExecutive(), and SetVerbose().