Geant4 10.7.0
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 () |
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 61 of file G4coutDestination.hh.
|
default |
|
virtual |
Definition at line 38 of file G4coutDestination.cc.
|
inline |
Definition at line 67 of file G4coutDestination.hh.
Referenced by G4MTcoutDestination::HandleFileCerr().
|
inline |
Definition at line 71 of file G4coutDestination.hh.
|
inline |
Definition at line 62 of file G4coutDestination.hh.
Referenced by G4MTcoutDestination::AddMasterOutput(), G4MTcoutDestination::HandleFileCout(), and G4MTcoutDestination::SetDefaultOutput().
|
inline |
Definition at line 66 of file G4coutDestination.hh.
Reimplemented in G4UIGAG, G4UIsession, G4UIterminal, G4UIGainServer, G4BuffercoutDestination, G4FilecoutDestination, G4LockcoutDestination, G4MasterForwardcoutDestination, and G4MulticoutDestination.
Definition at line 55 of file G4coutDestination.cc.
Referenced by G4LockcoutDestination::ReceiveG4cerr(), and ReceiveG4cerr_().
Definition at line 84 of file G4coutDestination.cc.
Referenced by G4MasterForwardcoutDestination::ReceiveG4cerr().
Reimplemented in G4UIGAG, G4UIsession, G4UIterminal, G4UIGainServer, G4BuffercoutDestination, G4FilecoutDestination, G4LockcoutDestination, G4MasterForwardcoutDestination, and G4MulticoutDestination.
Definition at line 48 of file G4coutDestination.cc.
Referenced by G4LockcoutDestination::ReceiveG4cout(), and ReceiveG4cout_().
Definition at line 62 of file G4coutDestination.cc.
Referenced by G4MasterForwardcoutDestination::ReceiveG4cout().
|
virtual |
Definition at line 41 of file G4coutDestination.cc.
|
staticprotected |
Definition at line 88 of file G4coutDestination.hh.
Referenced by G4MasterForwardcoutDestination::ReceiveG4cerr(), and G4MasterForwardcoutDestination::ReceiveG4cout().
|
protected |
Definition at line 94 of file G4coutDestination.hh.
Referenced by AddCerrTransformer(), ReceiveG4cerr_(), and ResetTransformers().
|
protected |
Definition at line 93 of file G4coutDestination.hh.
Referenced by AddCoutTransformer(), ReceiveG4cerr_(), ReceiveG4cout_(), and ResetTransformers().