Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
|
#include <G4UIsession.hh>
Public Member Functions | |
G4UIsession () | |
G4UIsession (G4int iBatch) | |
virtual | ~G4UIsession () |
virtual G4UIsession * | SessionStart () |
virtual void | PauseSessionStart (const G4String &Prompt) |
virtual G4int | ReceiveG4cout (const G4String &coutString) |
virtual G4int | ReceiveG4cerr (const G4String &cerrString) |
G4int | GetLastReturnCode () const |
Public Member Functions inherited from G4coutDestination | |
G4coutDestination ()=default | |
virtual | ~G4coutDestination () |
void | AddCoutTransformer (const Transformer &t) |
void | AddCoutTransformer (Transformer &&t) |
void | AddCerrTransformer (const Transformer &t) |
void | AddCerrTransformer (Transformer &&t) |
virtual void | ResetTransformers () |
virtual G4int | ReceiveG4cout (const G4String &msg) |
virtual G4int | ReceiveG4cerr (const G4String &msg) |
G4int | ReceiveG4cout_ (const G4String &msg) |
G4int | ReceiveG4cerr_ (const G4String &msg) |
Static Public Member Functions | |
static G4int | InSession () |
Protected Attributes | |
G4int | ifBatch = 0 |
G4int | lastRC = 0 |
Protected Attributes inherited from G4coutDestination | |
std::vector< Transformer > | transformersCout |
std::vector< Transformer > | transformersCerr |
Static Protected Attributes | |
static G4ICOMS_DLL G4int | inSession = 0 |
Static Protected Attributes inherited from G4coutDestination | |
static G4MTGLOB_DLL G4coutDestination * | masterG4coutDestination = nullptr |
Additional Inherited Members | |
Public Types inherited from G4coutDestination | |
using | Transformer = std::function< G4bool(G4String &)> |
Definition at line 42 of file G4UIsession.hh.
G4UIsession::G4UIsession | ( | ) |
Definition at line 36 of file G4UIsession.cc.
G4UIsession::G4UIsession | ( | G4int | iBatch | ) |
Definition at line 42 of file G4UIsession.cc.
|
virtual |
Definition at line 48 of file G4UIsession.cc.
|
inline |
|
static |
Definition at line 68 of file G4UIsession.cc.
Referenced by G4UIcontrolMessenger::SetNewValue().
|
virtual |
Reimplemented in G4UIGAG, G4UIterminal, G4UIGainServer, G4UIbatch, and G4VBasicShell.
Definition at line 63 of file G4UIsession.cc.
Referenced by G4VisCommandReviewKeptEvents::SetNewValue().
Reimplemented from G4coutDestination.
Reimplemented in G4UIGAG, G4UIterminal, and G4UIGainServer.
Definition at line 81 of file G4UIsession.cc.
Reimplemented from G4coutDestination.
Reimplemented in G4UIGAG, G4UIterminal, and G4UIGainServer.
Definition at line 74 of file G4UIsession.cc.
|
virtual |
Reimplemented in G4UIbatch, G4UIterminal, G4UIGAG, G4UIGainServer, and G4VBasicShell.
Definition at line 57 of file G4UIsession.cc.
Referenced by G4UImanager::ExecuteMacroFile().
|
protected |
Definition at line 68 of file G4UIsession.hh.
Referenced by ~G4UIsession().
|
staticprotected |
Definition at line 67 of file G4UIsession.hh.
Referenced by G4UIsession(), InSession(), and ~G4UIsession().
|
protected |
Definition at line 69 of file G4UIsession.hh.
Referenced by G4UIbatch::G4UIbatch(), GetLastReturnCode(), and G4UIbatch::SessionStart().