|
Celeritas 0.7.0-dev.313+develop.1857205b
|
Send Geant4 log messages to Celeritas' world logger. More...

Public Member Functions | |
| StreamDestination (Logger &) | |
| Redirect geant4's stdout/cerr on construction. | |
| StreamDestination (StreamDestination const &)=delete | |
| StreamDestination & | operator= (StreamDestination const &)=delete |
| StreamDestination (StreamDestination &&)=delete | |
| StreamDestination & | operator= (StreamDestination &&)=delete |
| ~StreamDestination () final | |
| Restore iostream buffers on destruction. | |
| G4int | ReceiveG4cout (G4String const &str) final |
| Process stdout message. | |
| G4int | ReceiveG4cerr (G4String const &str) final |
| Process stderr message. | |
| Logger & | logger () |
Send Geant4 log messages to Celeritas' world logger.
|
explicit |
Redirect geant4's stdout/cerr on construction.
Note that all these buffers, and the UI pointers, are thread-local.