ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/source/global/management/include/G4MTcoutDestination.hh>
Protected Member Functions | |
void | AddMasterOutput (G4bool formatAlsoMaster) |
void | HandleFileCout (G4String fileN, G4bool appendFlag, G4bool suppressDefault) |
void | HandleFileCerr (G4String fileN, G4bool appendFlag, G4bool suppressDefault) |
Private Member Functions | |
void | DumpBuffer () |
Additional Inherited Members | |
Public Types inherited from G4coutDestination | |
using | Transformer = std::function< G4bool(G4String &)> |
Public Attributes inherited from std::vector< T > | |
T | elements |
STL member. | |
Protected Attributes inherited from G4coutDestination | |
std::vector< Transformer > | transformersCout |
std::vector< Transformer > | transformersCerr |
Static Protected Attributes inherited from G4coutDestination | |
static G4MTGLOB_DLL G4coutDestination * | masterG4coutDestination = nullptr |
Definition at line 48 of file G4MTcoutDestination.hh.
View newest version in sPHENIX GitHub at line 48 of file G4MTcoutDestination.hh
|
explicit |
Definition at line 49 of file G4MTcoutDestination.cc.
View newest version in sPHENIX GitHub at line 49 of file G4MTcoutDestination.cc
References G4cerrbuf, G4coutbuf, G4StateManager::GetStateManager(), masterDestinationFlag, masterDestinationFmtFlag, SetDefaultOutput(), G4strstreambuf::SetDestination(), and stateMgr.
|
virtual |
Definition at line 130 of file G4MTcoutDestination.cc.
View newest version in sPHENIX GitHub at line 130 of file G4MTcoutDestination.cc
References DumpBuffer(), and useBuffer.
void G4MTcoutDestination::AddCerrFileName | ( | const G4String & | fileN = "G4cerr.txt" , |
G4bool | ifAppend = true |
||
) |
Definition at line 236 of file G4MTcoutDestination.cc.
View newest version in sPHENIX GitHub at line 236 of file G4MTcoutDestination.cc
References HandleFileCerr().
void G4MTcoutDestination::AddCoutFileName | ( | const G4String & | fileN = "G4cout.txt" , |
G4bool | ifAppend = true |
||
) |
Definition at line 217 of file G4MTcoutDestination.cc.
View newest version in sPHENIX GitHub at line 217 of file G4MTcoutDestination.cc
References HandleFileCout().
Definition at line 99 of file G4MTcoutDestination.cc.
View newest version in sPHENIX GitHub at line 99 of file G4MTcoutDestination.cc
References G4coutDestination::AddCoutTransformer(), f, G4State_Idle, G4Threading::GENERICTHREAD_ID, G4StateManager::GetCurrentState(), id, ignoreCout, ignoreInit, prefix, ref_masterOut, and stateMgr.
Referenced by SetDefaultOutput().
|
private |
Definition at line 253 of file G4MTcoutDestination.cc.
View newest version in sPHENIX GitHub at line 253 of file G4MTcoutDestination.cc
References G4BuffercoutDestination::FlushG4cerr(), G4BuffercoutDestination::FlushG4cout(), and G4coutDestination::ReceiveG4cout().
Referenced by EnableBuffering(), and ~G4MTcoutDestination().
Definition at line 194 of file G4MTcoutDestination.cc.
View newest version in sPHENIX GitHub at line 194 of file G4MTcoutDestination.cc
References clear(), DumpBuffer(), Reset(), and useBuffer.
Referenced by G4UImanager::SetThreadUseBuffer().
|
inline |
Definition at line 77 of file G4MTcoutDestination.hh.
View newest version in sPHENIX GitHub at line 77 of file G4MTcoutDestination.hh
References id.
|
inline |
Definition at line 76 of file G4MTcoutDestination.hh.
View newest version in sPHENIX GitHub at line 76 of file G4MTcoutDestination.hh
References prefix.
|
protected |
Definition at line 165 of file G4MTcoutDestination.cc.
View newest version in sPHENIX GitHub at line 165 of file G4MTcoutDestination.cc
References G4coutDestination::AddCerrTransformer(), demo::app, ref_defaultOut, and ref_masterOut.
Referenced by AddCerrFileName(), and SetCerrFileName().
|
protected |
Definition at line 141 of file G4MTcoutDestination.cc.
View newest version in sPHENIX GitHub at line 141 of file G4MTcoutDestination.cc
References G4coutDestination::AddCoutTransformer(), demo::app, ref_defaultOut, and ref_masterOut.
Referenced by AddCoutFileName(), and SetCoutFileName().
|
virtual |
Definition at line 135 of file G4MTcoutDestination.cc.
View newest version in sPHENIX GitHub at line 135 of file G4MTcoutDestination.cc
References clear(), masterDestinationFlag, masterDestinationFmtFlag, and SetDefaultOutput().
Referenced by EnableBuffering(), SetCerrFileName(), and SetCoutFileName().
void G4MTcoutDestination::SetCerrFileName | ( | const G4String & | fileN = "G4cerr.txt" , |
G4bool | ifAppend = true |
||
) |
Definition at line 225 of file G4MTcoutDestination.cc.
View newest version in sPHENIX GitHub at line 225 of file G4MTcoutDestination.cc
References HandleFileCerr(), and Reset().
Referenced by G4UImanager::SetCerrFileName().
void G4MTcoutDestination::SetCoutFileName | ( | const G4String & | fileN = "G4cout.txt" , |
G4bool | ifAppend = true |
||
) |
Definition at line 183 of file G4MTcoutDestination.cc.
View newest version in sPHENIX GitHub at line 183 of file G4MTcoutDestination.cc
References HandleFileCout(), and Reset().
Referenced by G4UImanager::SetCoutFileName().
void G4MTcoutDestination::SetDefaultOutput | ( | G4bool | addMasterDestination = true , |
G4bool | formatAlsoMaster = true |
||
) |
Definition at line 63 of file G4MTcoutDestination.cc.
View newest version in sPHENIX GitHub at line 63 of file G4MTcoutDestination.cc
References G4coutDestination::AddCoutTransformer(), AddMasterOutput(), f, G4State_Init, G4Threading::GENERICTHREAD_ID, G4StateManager::GetCurrentState(), id, ignoreCout, ignoreInit, masterDestinationFlag, masterDestinationFmtFlag, prefix, ref_defaultOut, and stateMgr.
Referenced by G4MTcoutDestination(), and Reset().
Definition at line 242 of file G4MTcoutDestination.cc.
View newest version in sPHENIX GitHub at line 242 of file G4MTcoutDestination.cc
References id, and ignoreCout.
Referenced by G4UImanager::SetThreadIgnore(), G4UImanager::SetUpForAThread(), and G4UImanager::SetUpForSpecialThread().
Definition at line 74 of file G4MTcoutDestination.hh.
View newest version in sPHENIX GitHub at line 74 of file G4MTcoutDestination.hh
References ignoreInit.
Referenced by G4UImanager::SetThreadIgnoreInit().
Definition at line 71 of file G4MTcoutDestination.hh.
View newest version in sPHENIX GitHub at line 71 of file G4MTcoutDestination.hh
Referenced by G4UImanager::SetThreadPrefixString(), and G4UImanager::SetUpForSpecialThread().
|
private |
Definition at line 105 of file G4MTcoutDestination.hh.
View newest version in sPHENIX GitHub at line 105 of file G4MTcoutDestination.hh
Referenced by AddMasterOutput(), GetFullPrefixString(), SetDefaultOutput(), and SetIgnoreCout().
|
private |
Definition at line 107 of file G4MTcoutDestination.hh.
View newest version in sPHENIX GitHub at line 107 of file G4MTcoutDestination.hh
Referenced by AddMasterOutput(), SetDefaultOutput(), and SetIgnoreCout().
|
private |
Definition at line 108 of file G4MTcoutDestination.hh.
View newest version in sPHENIX GitHub at line 108 of file G4MTcoutDestination.hh
Referenced by AddMasterOutput(), SetDefaultOutput(), and SetIgnoreInit().
|
private |
Definition at line 102 of file G4MTcoutDestination.hh.
View newest version in sPHENIX GitHub at line 102 of file G4MTcoutDestination.hh
Referenced by G4MTcoutDestination(), Reset(), and SetDefaultOutput().
|
private |
Definition at line 103 of file G4MTcoutDestination.hh.
View newest version in sPHENIX GitHub at line 103 of file G4MTcoutDestination.hh
Referenced by G4MTcoutDestination(), Reset(), and SetDefaultOutput().
|
private |
Definition at line 110 of file G4MTcoutDestination.hh.
View newest version in sPHENIX GitHub at line 110 of file G4MTcoutDestination.hh
Referenced by AddMasterOutput(), GetPrefixString(), and SetDefaultOutput().
|
private |
Definition at line 98 of file G4MTcoutDestination.hh.
View newest version in sPHENIX GitHub at line 98 of file G4MTcoutDestination.hh
Referenced by HandleFileCerr(), HandleFileCout(), and SetDefaultOutput().
|
private |
Definition at line 101 of file G4MTcoutDestination.hh.
View newest version in sPHENIX GitHub at line 101 of file G4MTcoutDestination.hh
Referenced by AddMasterOutput(), HandleFileCerr(), and HandleFileCout().
|
private |
Definition at line 111 of file G4MTcoutDestination.hh.
View newest version in sPHENIX GitHub at line 111 of file G4MTcoutDestination.hh
Referenced by AddMasterOutput(), G4MTcoutDestination(), and SetDefaultOutput().
|
private |
Definition at line 106 of file G4MTcoutDestination.hh.
View newest version in sPHENIX GitHub at line 106 of file G4MTcoutDestination.hh
Referenced by EnableBuffering(), and ~G4MTcoutDestination().