Geant4 11.3.0
Toolkit for the simulation of the passage of particles through matter
|
#include <G4UIsession.hh>
Public Member Functions | |
G4UIsession () | |
G4UIsession (G4int iBatch) | |
~G4UIsession () override | |
virtual G4UIsession * | SessionStart () |
virtual void | PauseSessionStart (const G4String &Prompt) |
G4int | ReceiveG4debug (const G4String &debugString) override |
G4int | ReceiveG4cout (const G4String &coutString) override |
G4int | ReceiveG4cerr (const G4String &cerrString) override |
G4int | GetLastReturnCode () const |
![]() | |
G4coutDestination ()=default | |
virtual | ~G4coutDestination ()=default |
void | AddDebugTransformer (const Transformer &t) |
void | AddDebugTransformer (Transformer &&t) |
void | AddCoutTransformer (const Transformer &t) |
void | AddCoutTransformer (Transformer &&t) |
void | AddCerrTransformer (const Transformer &t) |
void | AddCerrTransformer (Transformer &&t) |
virtual void | ResetTransformers () |
G4int | ReceiveG4debug_ (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 |
![]() | |
std::vector< Transformer > | transformersDebug |
std::vector< Transformer > | transformersCout |
std::vector< Transformer > | transformersCerr |
Static Protected Attributes | |
static G4ICOMS_DLL G4int | inSession = 0 |
![]() | |
static G4MTGLOB_DLL G4coutDestination * | masterG4coutDestination = nullptr |
Additional Inherited Members | |
![]() | |
using | Transformer = std::function<G4bool(G4String&)> |
Definition at line 43 of file G4UIsession.hh.
G4UIsession::G4UIsession | ( | ) |
Definition at line 36 of file G4UIsession.cc.
Referenced by G4UIbatch::G4UIbatch(), G4UIbatch::GetPreviousSession(), G4UIbatch::SessionStart(), G4UIQt::SessionStart(), SessionStart(), G4UIterminal::SessionStart(), G4UIWin32::SessionStart(), G4UIXm::SessionStart(), and G4VBasicShell::SessionStart().
G4UIsession::G4UIsession | ( | G4int | iBatch | ) |
Definition at line 42 of file G4UIsession.cc.
|
override |
Definition at line 45 of file G4UIsession.cc.
|
inline |
|
static |
Definition at line 62 of file G4UIsession.cc.
Referenced by G4UIcontrolMessenger::SetNewValue().
|
virtual |
Reimplemented in G4UIbatch, G4UIQt, G4UIterminal, G4UIWin32, G4UIXm, and G4VBasicShell.
Definition at line 59 of file G4UIsession.cc.
Reimplemented from G4coutDestination.
Reimplemented in G4UIterminal, G4UIWin32, and G4UIXm.
Definition at line 82 of file G4UIsession.cc.
Reimplemented from G4coutDestination.
Reimplemented in G4UIterminal, G4UIWin32, and G4UIXm.
Definition at line 75 of file G4UIsession.cc.
Reimplemented from G4coutDestination.
Reimplemented in G4UIterminal, G4UIWin32, and G4UIXm.
Definition at line 68 of file G4UIsession.cc.
|
virtual |
Reimplemented in G4UIbatch, G4UIQt, G4UIterminal, G4UIWin32, G4UIXm, and G4VBasicShell.
Definition at line 53 of file G4UIsession.cc.
Referenced by G4UImanager::ExecuteMacroFile().
|
protected |
Definition at line 68 of file G4UIsession.hh.
Referenced by G4UIsession(), and ~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 GetLastReturnCode(), and G4UIbatch::SessionStart().