|
Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
|
#include <G4BuffercoutDestination.hh>
Inheritance diagram for G4BuffercoutDestination:Public Member Functions | |
| G4BuffercoutDestination (std::size_t maxSize=0) | |
| virtual | ~G4BuffercoutDestination () |
| virtual G4int | ReceiveG4cout (const G4String &msg) override |
| virtual G4int | ReceiveG4cerr (const G4String &msg) override |
| virtual G4int | FlushG4cout () |
| virtual G4int | FlushG4cerr () |
| virtual void | Finalize () |
| void | SetMaxSize (std::size_t max) |
| std::size_t | GetMaxSize () const |
| std::size_t | GetCurrentSizeOut () const |
| std::size_t | GetCurrentSizeErr () const |
Public Member Functions inherited from G4coutDestination | |
| 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 Member Functions | |
| void | ResetCout () |
| void | ResetCerr () |
Protected Attributes | |
| std::ostringstream | m_buffer_out |
| std::ostringstream | m_buffer_err |
| std::size_t | m_currentSize_out = 0 |
| std::size_t | m_currentSize_err = 0 |
| std::size_t | m_maxSize = 0 |
Protected Attributes inherited from G4coutDestination | |
| std::vector< Transformer > | transformersCout |
| std::vector< Transformer > | transformersCerr |
Additional Inherited Members | |
Public Types inherited from G4coutDestination | |
| using | Transformer = std::function< G4bool(G4String &)> |
Static Protected Attributes inherited from G4coutDestination | |
| static G4MTGLOB_DLL G4coutDestination * | masterG4coutDestination = nullptr |
Definition at line 45 of file G4BuffercoutDestination.hh.
|
explicit |
Definition at line 37 of file G4BuffercoutDestination.cc.
|
virtual |
Definition at line 44 of file G4BuffercoutDestination.cc.
|
virtual |
Definition at line 47 of file G4BuffercoutDestination.cc.
Referenced by ~G4BuffercoutDestination().
|
virtual |
Definition at line 96 of file G4BuffercoutDestination.cc.
Referenced by Finalize(), and ReceiveG4cerr().
|
virtual |
Definition at line 80 of file G4BuffercoutDestination.cc.
Referenced by Finalize(), and ReceiveG4cout().
|
inline |
Definition at line 66 of file G4BuffercoutDestination.hh.
|
inline |
Definition at line 65 of file G4BuffercoutDestination.hh.
|
inline |
Definition at line 64 of file G4BuffercoutDestination.hh.
Reimplemented from G4coutDestination.
Definition at line 67 of file G4BuffercoutDestination.cc.
Reimplemented from G4coutDestination.
Definition at line 54 of file G4BuffercoutDestination.cc.
|
protected |
Definition at line 104 of file G4BuffercoutDestination.cc.
Referenced by FlushG4cerr().
|
protected |
Definition at line 88 of file G4BuffercoutDestination.cc.
Referenced by FlushG4cout().
|
inline |
Definition at line 63 of file G4BuffercoutDestination.hh.
|
protected |
Definition at line 73 of file G4BuffercoutDestination.hh.
Referenced by FlushG4cerr(), ReceiveG4cerr(), and ResetCerr().
|
protected |
Definition at line 72 of file G4BuffercoutDestination.hh.
Referenced by FlushG4cout(), ReceiveG4cout(), and ResetCout().
|
protected |
Definition at line 75 of file G4BuffercoutDestination.hh.
Referenced by GetCurrentSizeErr(), ReceiveG4cerr(), and ResetCerr().
|
protected |
Definition at line 74 of file G4BuffercoutDestination.hh.
Referenced by GetCurrentSizeOut(), ReceiveG4cout(), and ResetCout().
|
protected |
Definition at line 76 of file G4BuffercoutDestination.hh.
Referenced by GetMaxSize(), ReceiveG4cerr(), ReceiveG4cout(), and SetMaxSize().