Geant4 11.1.1
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 | 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) |
Protected Attributes | |
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 66 of file G4coutDestination.hh.
Referenced by G4MTcoutDestination::HandleFileCerr().
|
inline |
Definition at line 70 of file G4coutDestination.hh.
|
inline |
Definition at line 61 of file G4coutDestination.hh.
Referenced by G4MTcoutDestination::AddMasterOutput(), G4MTcoutDestination::HandleFileCout(), and G4MTcoutDestination::SetDefaultOutput().
|
inline |
Definition at line 65 of file G4coutDestination.hh.
Reimplemented in G4UIQt, G4UIXm, G4UIWin32, G4UIterminal, G4UIsession, G4BuffercoutDestination, G4FilecoutDestination, G4LockcoutDestination, G4MasterForwardcoutDestination, and G4MulticoutDestination.
Definition at line 52 of file G4coutDestination.cc.
Referenced by G4LockcoutDestination::ReceiveG4cerr(), and ReceiveG4cerr_().
Definition at line 81 of file G4coutDestination.cc.
Referenced by G4MasterForwardcoutDestination::ReceiveG4cerr().
Reimplemented in G4UIQt, G4UIXm, G4UIWin32, G4UIterminal, G4UIsession, G4BuffercoutDestination, G4FilecoutDestination, G4LockcoutDestination, G4MasterForwardcoutDestination, and G4MulticoutDestination.
Definition at line 45 of file G4coutDestination.cc.
Referenced by G4LockcoutDestination::ReceiveG4cout(), and ReceiveG4cout_().
Definition at line 59 of file G4coutDestination.cc.
Referenced by G4MasterForwardcoutDestination::ReceiveG4cout().
|
virtual |
Definition at line 38 of file G4coutDestination.cc.
|
staticprotected |
Definition at line 87 of file G4coutDestination.hh.
Referenced by G4UIQt::G4UIQt(), G4MasterForwardcoutDestination::ReceiveG4cerr(), G4MasterForwardcoutDestination::ReceiveG4cout(), and G4UIQt::~G4UIQt().
|
protected |
Definition at line 93 of file G4coutDestination.hh.
Referenced by AddCerrTransformer(), ReceiveG4cerr_(), and ResetTransformers().
|
protected |
Definition at line 92 of file G4coutDestination.hh.
Referenced by AddCoutTransformer(), ReceiveG4cerr_(), ReceiveG4cout_(), and ResetTransformers().