DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
GlobalLockStream.hpp
Go to the documentation of this file.
1/*
2 * LockStream.h
3 * ers
4 *
5 * Created by Serguei Kolos on 12.04.06.
6 * Copyright 2004 CERN. All rights reserved.
7 *
8 */
9
15#ifndef ERS_GLOBAL_LOCK_STREAM_H
16#define ERS_GLOBAL_LOCK_STREAM_H
17
18#include <mutex>
19
20#include <ers/OutputStream.hpp>
21
22namespace ers
23{
24
33 {
34 void write( const Issue & issue ) override;
35
36 private:
37 static std::mutex mutex_;
38 };
39}
40
41#endif
Base class for any user define issue.
Definition Issue.hpp:69
ERS abstract output stream interface.
Lock for ERS streams.
void write(const Issue &issue) override
static std::mutex mutex_