DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
Lock for ERS streams. More...
#include <GlobalLockStream.hpp>
Public Member Functions | |
void | write (const Issue &issue) override |
![]() | |
virtual | ~OutputStream () |
Sends the issue into this stream. | |
Static Private Attributes | |
static std::mutex | mutex_ |
Additional Inherited Members | |
![]() | |
OutputStream () | |
OutputStream & | chained () |
virtual bool | isNull () const |
Lock for ERS streams.
This class can be used to protect output produced by distinct ERS streams, e.g. INFO and LOG, from been mixed up when originated from concurrent threads. The name to be used for this stream in stream configurations is "glock".
Definition at line 32 of file GlobalLockStream.hpp.
|
overridevirtual |
Implements ers::OutputStream.
|
staticprivate |
Definition at line 37 of file GlobalLockStream.hpp.