Geant4-11
|
#include <G4UIsession.hh>
Public Types | |
using | Transformer = std::function< G4bool(G4String &)> |
Public Member Functions | |
void | AddCerrTransformer (const Transformer &t) |
void | AddCerrTransformer (Transformer &&t) |
void | AddCoutTransformer (const Transformer &t) |
void | AddCoutTransformer (Transformer &&t) |
G4UIsession () | |
G4UIsession (G4int iBatch) | |
G4int | GetLastReturnCode () const |
virtual void | PauseSessionStart (const G4String &Prompt) |
virtual G4int | ReceiveG4cerr (const G4String &cerrString) |
G4int | ReceiveG4cerr_ (const G4String &msg) |
virtual G4int | ReceiveG4cout (const G4String &coutString) |
G4int | ReceiveG4cout_ (const G4String &msg) |
virtual void | ResetTransformers () |
virtual G4UIsession * | SessionStart () |
virtual | ~G4UIsession () |
Static Public Member Functions | |
static G4int | InSession () |
Protected Attributes | |
G4int | ifBatch = 0 |
G4int | lastRC = 0 |
std::vector< Transformer > | transformersCerr |
std::vector< Transformer > | transformersCout |
Static Protected Attributes | |
static G4ICOMS_DLL G4int | inSession = 0 |
static G4MTGLOB_DLL G4coutDestination * | masterG4coutDestination = nullptr |
Definition at line 42 of file G4UIsession.hh.
|
inherited |
Definition at line 61 of file G4coutDestination.hh.
G4UIsession::G4UIsession | ( | ) |
G4UIsession::G4UIsession | ( | G4int | iBatch | ) |
Definition at line 42 of file G4UIsession.cc.
|
virtual |
|
inlineinherited |
Definition at line 67 of file G4coutDestination.hh.
References G4coutDestination::transformersCerr.
Referenced by G4MTcoutDestination::HandleFileCerr().
|
inlineinherited |
Definition at line 71 of file G4coutDestination.hh.
References G4coutDestination::transformersCerr.
|
inlineinherited |
Definition at line 62 of file G4coutDestination.hh.
References G4coutDestination::transformersCout.
Referenced by G4MTcoutDestination::AddMasterOutput(), G4MTcoutDestination::HandleFileCout(), and G4MTcoutDestination::SetDefaultOutput().
|
inlineinherited |
Definition at line 66 of file G4coutDestination.hh.
References G4coutDestination::transformersCout.
|
inline |
|
static |
Definition at line 68 of file G4UIsession.cc.
References inSession.
Referenced by G4UIcontrolMessenger::SetNewValue().
|
virtual |
Reimplemented in G4UIQt, G4UIXm, G4UIWin32, G4ZMQServer, G4UIterminal, G4UIbatch, and G4VBasicShell.
Definition at line 63 of file G4UIsession.cc.
Reimplemented from G4coutDestination.
Reimplemented in G4UIQt, G4UIXm, G4UIWin32, G4ZMQServer, and G4UIterminal.
Definition at line 81 of file G4UIsession.cc.
Definition at line 84 of file G4coutDestination.cc.
References m, G4coutDestination::ReceiveG4cerr(), G4coutDestination::transformersCerr, and G4coutDestination::transformersCout.
Referenced by G4MasterForwardcoutDestination::ReceiveG4cerr().
Reimplemented from G4coutDestination.
Reimplemented in G4UIQt, G4UIXm, G4UIWin32, G4ZMQServer, and G4UIterminal.
Definition at line 74 of file G4UIsession.cc.
Definition at line 62 of file G4coutDestination.cc.
References m, G4coutDestination::ReceiveG4cout(), and G4coutDestination::transformersCout.
Referenced by G4MasterForwardcoutDestination::ReceiveG4cout().
|
virtualinherited |
Definition at line 41 of file G4coutDestination.cc.
References G4coutDestination::transformersCerr, and G4coutDestination::transformersCout.
|
virtual |
Reimplemented in G4ZMQServer, G4UIbatch, G4UIQt, G4UIterminal, G4UIXm, G4UIWin32, and G4VBasicShell.
Definition at line 57 of file G4UIsession.cc.
|
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().
|
staticprotectedinherited |
Definition at line 88 of file G4coutDestination.hh.
Referenced by G4UIQt::G4UIQt(), G4MasterForwardcoutDestination::ReceiveG4cerr(), G4MasterForwardcoutDestination::ReceiveG4cout(), and G4UIQt::~G4UIQt().
|
protectedinherited |
Definition at line 94 of file G4coutDestination.hh.
Referenced by G4coutDestination::AddCerrTransformer(), G4coutDestination::ReceiveG4cerr_(), and G4coutDestination::ResetTransformers().
|
protectedinherited |
Definition at line 93 of file G4coutDestination.hh.
Referenced by G4coutDestination::AddCoutTransformer(), G4coutDestination::ReceiveG4cerr_(), G4coutDestination::ReceiveG4cout_(), and G4coutDestination::ResetTransformers().