Geant4
10.00.p01
|
#include <G4UIExecutive.hh>
Public Member Functions | |
G4UIExecutive (G4int argc, char **argv, const G4String &type="") | |
~G4UIExecutive () | |
G4UIsession * | GetSession () const |
G4bool | IsGUI () const |
void | SetPrompt (const G4String &prompt) |
void | SetLsColor (TermColorIndex dirColor, TermColorIndex cmdColor) |
void | SessionStart () |
Private Types | |
enum | SessionType { kNone, kQt, kXm, kWin32, kWt, kGag, kTcsh, kCsh } |
Private Member Functions | |
void | SelectSessionByArg (const G4String &stype) |
void | SelectSessionByEnv () |
void | SelectSessionByFile (const G4String &appname) |
void | SelectSessionByBestGuess () |
Private Attributes | |
SessionType | selected |
G4UIsession * | session |
G4VUIshell * | shell |
G4bool | isGUI |
std::map< G4String, G4String > | sessionMap |
Definition at line 60 of file G4UIExecutive.hh.
|
private |
Enumerator | |
---|---|
kNone | |
kQt | |
kXm | |
kWin32 | |
kWt | |
kGag | |
kTcsh | |
kCsh |
Definition at line 75 of file G4UIExecutive.hh.
Definition at line 91 of file G4UIExecutive.cc.
References DISCARD_PARAMETER, G4cout, G4endl, G4Exception(), isGUI, JustWarning, kCsh, kGag, kNone, kQt, kTcsh, kWin32, kWt, kXm, qt_build, selected, SelectSessionByArg(), SelectSessionByBestGuess(), SelectSessionByEnv(), SelectSessionByFile(), session, shell, tcsh_build, G4String::toLower(), win32_build, wt_build, and xm_build.
G4UIExecutive::~G4UIExecutive | ( | ) |
Definition at line 196 of file G4UIExecutive.cc.
|
inline |
Definition at line 92 of file G4UIExecutive.hh.
References session.
|
inline |
Definition at line 97 of file G4UIExecutive.hh.
References isGUI.
Referenced by main(), and XrayFluoSimulation::RunSimulation().
|
private |
Definition at line 202 of file G4UIExecutive.cc.
References kCsh, kGag, kQt, kTcsh, kWin32, kWt, kXm, qt_build, selected, tcsh_build, win32_build, wt_build, and xm_build.
Referenced by G4UIExecutive().
|
private |
Definition at line 283 of file G4UIExecutive.cc.
References kQt, kTcsh, kXm, qt_build, selected, tcsh_build, and xm_build.
Referenced by G4UIExecutive().
|
private |
Definition at line 214 of file G4UIExecutive.cc.
References kGag, kQt, kTcsh, kWin32, kWt, kXm, qt_build, selected, tcsh_build, win32_build, wt_build, and xm_build.
Referenced by G4UIExecutive().
|
private |
Definition at line 225 of file G4UIExecutive.cc.
References G4String::both, kCsh, kGag, kQt, kTcsh, kWin32, kXm, qt_build, selected, sessionMap, G4String::strip(), tcsh_build, G4String::toLower(), win32_build, and xm_build.
Referenced by G4UIExecutive().
void G4UIExecutive::SessionStart | ( | ) |
Definition at line 304 of file G4UIExecutive.cc.
References session.
Referenced by main(), and XrayFluoSimulation::RunSimulation().
void G4UIExecutive::SetLsColor | ( | TermColorIndex | dirColor, |
TermColorIndex | cmdColor | ||
) |
Definition at line 297 of file G4UIExecutive.cc.
References shell.
void G4UIExecutive::SetPrompt | ( | const G4String & | prompt | ) |
Definition at line 291 of file G4UIExecutive.cc.
References shell.
|
private |
Definition at line 81 of file G4UIExecutive.hh.
Referenced by G4UIExecutive(), and IsGUI().
|
private |
Definition at line 76 of file G4UIExecutive.hh.
Referenced by G4UIExecutive(), SelectSessionByArg(), SelectSessionByBestGuess(), SelectSessionByEnv(), SelectSessionByFile(), and ~G4UIExecutive().
|
private |
Definition at line 78 of file G4UIExecutive.hh.
Referenced by G4UIExecutive(), GetSession(), SessionStart(), and ~G4UIExecutive().
Definition at line 83 of file G4UIExecutive.hh.
Referenced by SelectSessionByFile().
|
private |
Definition at line 79 of file G4UIExecutive.hh.
Referenced by G4UIExecutive(), SetLsColor(), and SetPrompt().