Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
|
#include <G4coutDestination.hh>
Public Types | |
using | Transformer = std::function<G4bool(G4String&)> |
Public Member Functions | |
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 () |
virtual G4int | ReceiveG4debug (const G4String &msg) |
virtual G4int | ReceiveG4cout (const G4String &msg) |
virtual G4int | ReceiveG4cerr (const G4String &msg) |
G4int | ReceiveG4debug_ (const G4String &msg) |
G4int | ReceiveG4cout_ (const G4String &msg) |
G4int | ReceiveG4cerr_ (const G4String &msg) |
Protected Attributes | |
std::vector< Transformer > | transformersDebug |
std::vector< Transformer > | transformersCout |
std::vector< Transformer > | transformersCerr |
Static Protected Attributes | |
static G4MTGLOB_DLL G4coutDestination * | masterG4coutDestination = nullptr |
Definition at line 44 of file G4coutDestination.hh.
using G4coutDestination::Transformer = std::function<G4bool(G4String&)> |
Definition at line 60 of file G4coutDestination.hh.
|
default |
|
virtualdefault |
|
inline |
Definition at line 74 of file G4coutDestination.hh.
Referenced by G4MTcoutDestination::HandleFileCerr().
|
inline |
Definition at line 78 of file G4coutDestination.hh.
|
inline |
Definition at line 68 of file G4coutDestination.hh.
Referenced by G4MTcoutDestination::HandleFileCout().
|
inline |
Definition at line 72 of file G4coutDestination.hh.
|
inline |
Definition at line 62 of file G4coutDestination.hh.
Referenced by G4MTcoutDestination::AddMasterOutput(), and G4MTcoutDestination::SetDefaultOutput().
|
inline |
Definition at line 66 of file G4coutDestination.hh.
Reimplemented in G4BuffercoutDestination, G4FilecoutDestination, G4LockcoutDestination, G4MasterForwardcoutDestination, G4MulticoutDestination, G4UIQt, G4UIsession, G4UIterminal, G4UIWin32, and G4UIXm.
Definition at line 60 of file G4coutDestination.cc.
Referenced by G4LockcoutDestination::ReceiveG4cerr(), and ReceiveG4cerr_().
Definition at line 111 of file G4coutDestination.cc.
Referenced by G4MasterForwardcoutDestination::ReceiveG4cerr().
Reimplemented in G4BuffercoutDestination, G4FilecoutDestination, G4LockcoutDestination, G4MasterForwardcoutDestination, G4MulticoutDestination, G4UIQt, G4UIsession, G4UIterminal, G4UIWin32, and G4UIXm.
Definition at line 53 of file G4coutDestination.cc.
Referenced by G4LockcoutDestination::ReceiveG4cout(), and ReceiveG4cout_().
Definition at line 89 of file G4coutDestination.cc.
Referenced by G4MasterForwardcoutDestination::ReceiveG4cout().
Reimplemented in G4BuffercoutDestination, G4FilecoutDestination, G4LockcoutDestination, G4MasterForwardcoutDestination, G4MulticoutDestination, G4UIQt, G4UIsession, G4UIterminal, G4UIWin32, and G4UIXm.
Definition at line 46 of file G4coutDestination.cc.
Referenced by G4LockcoutDestination::ReceiveG4debug(), and ReceiveG4debug_().
Definition at line 67 of file G4coutDestination.cc.
Referenced by G4MasterForwardcoutDestination::ReceiveG4debug().
|
virtual |
Definition at line 38 of file G4coutDestination.cc.
|
staticprotected |
Definition at line 99 of file G4coutDestination.hh.
Referenced by G4UIQt::G4UIQt(), G4MasterForwardcoutDestination::ReceiveG4cerr(), G4MasterForwardcoutDestination::ReceiveG4cout(), G4MasterForwardcoutDestination::ReceiveG4debug(), and G4UIQt::~G4UIQt().
|
protected |
Definition at line 105 of file G4coutDestination.hh.
Referenced by AddCerrTransformer(), AddCerrTransformer(), ReceiveG4cerr_(), and ResetTransformers().
|
protected |
Definition at line 104 of file G4coutDestination.hh.
Referenced by AddCoutTransformer(), AddCoutTransformer(), ReceiveG4cerr_(), ReceiveG4cout_(), and ResetTransformers().
|
protected |
Definition at line 103 of file G4coutDestination.hh.
Referenced by AddDebugTransformer(), AddDebugTransformer(), ReceiveG4debug_(), and ResetTransformers().