Celeritas 0.7.0-dev.264+develop.12c52268
Loading...
Searching...
No Matches
Public Member Functions | List of all members
celeritas::OffloadWriter Class Reference

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.
 

Detailed Description

Dump primaries to a shared file, one event per flush.

This thin class simply adds a mutex to the output writer for thread safety.


The documentation for this class was generated from the following file: