DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
dunedaq
sourcecode
ers
include
ers
internal
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
22
namespace
ers
23
{
24
32
struct
GlobalLockStream
:
public
OutputStream
33
{
34
void
write
(
const
Issue
& issue )
override
;
35
36
private
:
37
static
std::mutex
mutex_
;
38
};
39
}
40
41
#endif
OutputStream.hpp
ers::Issue
Base class for any user define issue.
Definition
Issue.hpp:69
ers::OutputStream
ERS abstract output stream interface.
Definition
OutputStream.hpp:39
ers
Definition
AnyIssue.hpp:20
ers::GlobalLockStream
Lock for ERS streams.
Definition
GlobalLockStream.hpp:33
ers::GlobalLockStream::write
void write(const Issue &issue) override
ers::GlobalLockStream::mutex_
static std::mutex mutex_
Definition
GlobalLockStream.hpp:37
Generated on Sat Jun 28 2025 for DUNE-DAQ by
1.12.0