Geant4
10.03
|
#include <G4UIbatch.hh>
Public Member Functions | |
G4UIbatch (const char *fileName, G4UIsession *prevSession=0) | |
~G4UIbatch () | |
G4UIsession * | GetPreviousSession () const |
virtual G4UIsession * | SessionStart () |
virtual void | PauseSessionStart (const G4String &Prompt) |
Public Member Functions inherited from G4UIsession | |
G4UIsession () | |
G4UIsession (G4int iBatch) | |
virtual | ~G4UIsession () |
virtual G4int | ReceiveG4cout (const G4String &coutString) |
virtual G4int | ReceiveG4cerr (const G4String &cerrString) |
Public Member Functions inherited from G4coutDestination | |
G4coutDestination () | |
virtual | ~G4coutDestination () |
Private Member Functions | |
G4String | ReadCommand () |
G4int | ExecCommand (const G4String &command) |
Private Attributes | |
G4UIsession * | previousSession |
std::ifstream | macroStream |
G4bool | isOpened |
Additional Inherited Members | |
Static Public Member Functions inherited from G4UIsession | |
static G4int | InSession () |
Protected Attributes inherited from G4UIsession | |
G4int | ifBatch |
Static Protected Attributes inherited from G4UIsession | |
static G4int | inSession = 0 |
Static Protected Attributes inherited from G4coutDestination | |
static G4coutDestination * | masterG4coutDestination = 0 |
Definition at line 51 of file G4UIbatch.hh.
G4UIbatch::G4UIbatch | ( | const char * | fileName, |
G4UIsession * | prevSession = 0 |
||
) |
Definition at line 69 of file G4UIbatch.cc.
References G4cerr, G4endl, G4UImanager::GetUIpointer(), isOpened, and macroStream.
G4UIbatch::~G4UIbatch | ( | ) |
Definition at line 88 of file G4UIbatch.cc.
References isOpened, and macroStream.
Definition at line 167 of file G4UIbatch.cc.
References fCommandNotFound, fCommandSucceeded, fIllegalApplicationState, G4cerr, G4endl, G4UImanager::GetUIpointer(), and G4InuclParticleNames::pn.
Referenced by SessionStart().
|
inline |
Definition at line 81 of file G4UIbatch.hh.
References previousSession.
|
virtual |
Reimplemented from G4UIsession.
Definition at line 228 of file G4UIbatch.cc.
References G4cout, G4endl, and SessionStart().
|
private |
Definition at line 96 of file G4UIbatch.cc.
References G4String::both, G4Exception(), G4ThreadLocal, JustWarning, macroStream, G4String::replace(), G4String::strip(), Tokenize(), and G4String::trailing.
Referenced by SessionStart().
|
virtual |
Reimplemented from G4UIsession.
Definition at line 195 of file G4UIbatch.cc.
References ExecCommand(), fCommandSucceeded, G4cerr, G4cout, G4endl, G4UImanager::GetUIpointer(), isOpened, previousSession, and ReadCommand().
Referenced by PauseSessionStart().
|
private |
Definition at line 56 of file G4UIbatch.hh.
Referenced by G4UIbatch(), SessionStart(), and ~G4UIbatch().
|
private |
Definition at line 55 of file G4UIbatch.hh.
Referenced by G4UIbatch(), ReadCommand(), and ~G4UIbatch().
|
private |
Definition at line 53 of file G4UIbatch.hh.
Referenced by GetPreviousSession(), and SessionStart().