DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
dunedaq
sourcecode
ers
include
ers
internal
NullStream.hpp
Go to the documentation of this file.
1
/*
2
* NullStream.h
3
* ers
4
*
5
* Created by Serguei Kolos on 02.08.05.
6
* Copyright 2004 CERN. All rights reserved.
7
*
8
*/
9
15
#ifndef ERS_NULL_STREAM_H
16
#define ERS_NULL_STREAM_H
17
18
#include <
ers/OutputStream.hpp
>
19
#include <
ers/InputStream.hpp
>
20
21
namespace
ers
22
{
23
class
Issue
;
24
35
struct
NullStream
:
public
OutputStream
36
{
37
void
write
(
const
Issue
& )
override
38
{ ; }
39
40
bool
isNull
()
const override
41
{
return
true
; }
42
};
43
}
44
45
#endif
46
InputStream.hpp
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
dunedaq::Issue
CTB Buffer Issue
Definition
CTBModuleIssues.hpp:29
ers
Definition
AnyIssue.hpp:20
ers::NullStream
Null stream.
Definition
NullStream.hpp:36
ers::NullStream::write
void write(const Issue &) override
Definition
NullStream.hpp:37
ers::NullStream::isNull
bool isNull() const override
Definition
NullStream.hpp:40
Generated on Sat Jun 28 2025 for DUNE-DAQ by
1.12.0