Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
|
#include <G4BuffercoutDestination.hh>
Classes | |
class | BufferImpl |
Public Member Functions | |
G4BuffercoutDestination (std::size_t maxSize=0) | |
~G4BuffercoutDestination () override | |
G4int | ReceiveG4debug (const G4String &msg) override |
G4int | ReceiveG4cout (const G4String &msg) override |
G4int | ReceiveG4cerr (const G4String &msg) override |
virtual G4int | FlushG4debug () |
virtual G4int | FlushG4cout () |
virtual G4int | FlushG4cerr () |
virtual void | Finalize () |
void | SetMaxSize (std::size_t max) |
std::size_t | GetMaxSize () const |
![]() | |
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 () |
G4int | ReceiveG4debug_ (const G4String &msg) |
G4int | ReceiveG4cout_ (const G4String &msg) |
G4int | ReceiveG4cerr_ (const G4String &msg) |
Protected Attributes | |
std::size_t | m_maxSize = 0 |
std::unique_ptr< BufferImpl > | m_buffer_dbg |
std::unique_ptr< BufferImpl > | m_buffer_out |
std::unique_ptr< BufferImpl > | m_buffer_err |
![]() | |
std::vector< Transformer > | transformersDebug |
std::vector< Transformer > | transformersCout |
std::vector< Transformer > | transformersCerr |
Additional Inherited Members | |
![]() | |
using | Transformer = std::function<G4bool(G4String&)> |
![]() | |
static G4MTGLOB_DLL G4coutDestination * | masterG4coutDestination = nullptr |
Definition at line 46 of file G4BuffercoutDestination.hh.
|
explicit |
Definition at line 88 of file G4BuffercoutDestination.cc.
|
override |
Definition at line 96 of file G4BuffercoutDestination.cc.
|
virtual |
Definition at line 99 of file G4BuffercoutDestination.cc.
Referenced by ~G4BuffercoutDestination().
|
virtual |
Definition at line 137 of file G4BuffercoutDestination.cc.
Referenced by Finalize().
|
virtual |
Definition at line 131 of file G4BuffercoutDestination.cc.
Referenced by Finalize().
|
virtual |
Definition at line 125 of file G4BuffercoutDestination.cc.
Referenced by Finalize().
|
inline |
Definition at line 69 of file G4BuffercoutDestination.hh.
Reimplemented from G4coutDestination.
Definition at line 119 of file G4BuffercoutDestination.cc.
Reimplemented from G4coutDestination.
Definition at line 113 of file G4BuffercoutDestination.cc.
Reimplemented from G4coutDestination.
Definition at line 107 of file G4BuffercoutDestination.cc.
void G4BuffercoutDestination::SetMaxSize | ( | std::size_t | max | ) |
Definition at line 143 of file G4BuffercoutDestination.cc.
|
protected |
Definition at line 75 of file G4BuffercoutDestination.hh.
Referenced by FlushG4debug(), ReceiveG4debug(), and SetMaxSize().
|
protected |
Definition at line 77 of file G4BuffercoutDestination.hh.
Referenced by FlushG4cerr(), ReceiveG4cerr(), and SetMaxSize().
|
protected |
Definition at line 76 of file G4BuffercoutDestination.hh.
Referenced by FlushG4cout(), ReceiveG4cout(), and SetMaxSize().
|
protected |
Definition at line 72 of file G4BuffercoutDestination.hh.
Referenced by GetMaxSize(), and SetMaxSize().