Geant4
10.00.p03
|
#include <G4MPIsession.hh>
Public Member Functions | |
G4MPIsession (G4VUIshell *ashell=0) | |
~G4MPIsession () | |
void | SetPrompt (const G4String &prompt) |
void | SetShell (G4VUIshell *ashell) |
virtual G4UIsession * | SessionStart () |
Public Member Functions inherited from G4VMPIsession | |
G4VMPIsession () | |
~G4VMPIsession () | |
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 | |
G4String | GetCommand (const char *msg=0) |
G4bool | TryForcedTerminate () |
Private Attributes | |
G4VUIshell * | shell_ |
Additional Inherited Members | |
Protected Member Functions inherited from G4VMPIsession | |
G4int | ExecCommand (const G4String &acommand) |
G4String | TruncateCommand (const G4String &command) const |
G4String | BypassCommand (const G4String &command) const |
virtual G4bool | GetHelpChoice (G4int &aval) |
virtual void | ExitHelp () const |
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 &) |
virtual void | ExecuteCommand (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 G4VMPIsession | |
G4MPImanager * | g4mpi_ |
G4bool | is_master_ |
G4bool | is_slave_ |
G4int | rank_ |
Definition at line 33 of file G4MPIsession.hh.
G4MPIsession::G4MPIsession | ( | G4VUIshell * | ashell = 0 | ) |
Definition at line 52 of file G4MPIsession.cc.
References G4VMPIsession::g4mpi_, G4VMPIsession::is_master_, shell_, and tcsh_build.
G4MPIsession::~G4MPIsession | ( | ) |
Definition at line 72 of file G4MPIsession.cc.
References G4UImanager::GetUIpointer(), and shell_.
|
private |
Definition at line 95 of file G4MPIsession.cc.
References G4VBasicShell::ChangeDirectoryCommand(), G4cerr, G4cout, G4endl, G4VBasicShell::GetCurrentWorkingDirectory(), G4String::leading, G4VBasicShell::ListDirectory(), G4VBasicShell::ModifyToFullPathCommand(), G4String::remove(), shell_, G4VBasicShell::ShowCurrent(), G4String::strip(), G4VBasicShell::TerminalHelp(), and G4VMPIsession::TruncateCommand().
Referenced by SessionStart().
|
virtual |
Implements G4VBasicShell.
Definition at line 178 of file G4MPIsession.cc.
References G4VMPIsession::ExecCommand(), G4VMPIsession::g4mpi_, GetCommand(), G4MPImanager::GetInitFileName(), G4MPImanager::GetMacroFileName(), G4VMPIsession::is_master_, and TryForcedTerminate().
void G4MPIsession::SetPrompt | ( | const G4String & | prompt | ) |
Definition at line 82 of file G4MPIsession.cc.
References shell_.
void G4MPIsession::SetShell | ( | G4VUIshell * | ashell | ) |
Definition at line 88 of file G4MPIsession.cc.
References shell_.
|
private |
Definition at line 210 of file G4MPIsession.cc.
References G4cin, G4cout, G4endl, G4VMPIsession::g4mpi_, G4RunManager::GetRunManager(), and G4VMPIsession::is_master_.
Referenced by SessionStart().
|
private |
Definition at line 44 of file G4MPIsession.hh.
Referenced by G4MPIsession(), GetCommand(), SetPrompt(), SetShell(), and ~G4MPIsession().