DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
dunedaq
sourcecode
ers
include
ers
internal
LockStream.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_LOCK_STREAM_H
16
#define ERS_LOCK_STREAM_H
17
18
#include <
ers/OutputStream.hpp
>
19
#include <mutex>
20
21
namespace
ers
22
{
23
36
struct
LockStream
:
public
OutputStream
37
{
38
void
write
(
const
Issue
& issue )
override
;
39
40
private
:
41
std::mutex
m_mutex
;
42
};
43
}
44
45
#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::LockStream
Lock implementation for an ERS stream.
Definition
LockStream.hpp:37
ers::LockStream::write
void write(const Issue &issue) override
ers::LockStream::m_mutex
std::mutex m_mutex
Definition
LockStream.hpp:41
Generated on Sat Jun 28 2025 for DUNE-DAQ by
1.12.0