|
Celeritas 0.7.0-dev.264+develop.12c52268
|
Dump primaries to a shared file, one event per flush. More...
#include <OffloadWriter.hh>
Public Types | |
Type aliases | |
| using | UPWriter = std::unique_ptr< EventWriterInterface > |
| using | argument_type = EventWriterInterface::argument_type |
Public Member Functions | |
| OffloadWriter (UPWriter &&writer) | |
| Construct from a writer. | |
| void | operator() (argument_type) |
| Write primaries using a mutex. | |
Dump primaries to a shared file, one event per flush.
This thin class simply adds a mutex to the output writer for thread safety.