DUNE-DAQ
DUNE Trigger and Data Acquisition software
Toggle main menu visibility
Loading...
Searching...
No Matches
dunedaq
sourcecode
ers
include
ers
internal
FilterStream.hpp
Go to the documentation of this file.
1
/*
2
* DUNE DAQ modification notice:
3
* This file has been modified from the original ATLAS ers source for the DUNE DAQ project.
4
* Fork baseline commit: 8267df82a4f6fe6bf02c4014923eba19eddc4614 (2020-04-14).
5
* Renamed since fork: yes (from ers/internal/FilterStream.h to include/ers/internal/FilterStream.hpp).
6
*
7
* Original copyright:
8
* Copyright (C) 2001-2020 CERN for the benefit of the ATLAS collaboration.
9
* Licensed under the Apache License, Version 2.0.
10
*/
11
12
/*
13
* FilterStream.h
14
* ERS
15
*
16
* Created by Matthias Wiesmann on 31.03.05.
17
* Modified by Serguei Kolos on 11.08.05.
18
* Copyright 2005 CERN. All rights reserved.
19
*
20
*/
21
26
27
#ifndef ERS_STREAM_FILTER_H
28
#define ERS_STREAM_FILTER_H
29
30
#include <
ers/OutputStream.hpp
>
31
32
namespace
ers
33
{
48
49
class
FilterStream
:
public
OutputStream
50
{
51
public
:
52
explicit
FilterStream
(
const
std::string &
format
);
53
54
void
write
(
const
Issue
& issue )
override
;
55
56
private
:
57
bool
is_accepted
(
const
ers::Issue
& issue );
58
59
std::vector<std::string>
m_include
;
60
std::vector<std::string>
m_exclude
;
61
};
62
}
63
64
#endif
OutputStream.hpp
ers::FilterStream::m_include
std::vector< std::string > m_include
include list
Definition
FilterStream.hpp:59
ers::FilterStream::write
void write(const Issue &issue) override
ers::FilterStream::m_exclude
std::vector< std::string > m_exclude
exclude list
Definition
FilterStream.hpp:60
ers::FilterStream::is_accepted
bool is_accepted(const ers::Issue &issue)
ers::FilterStream::FilterStream
FilterStream(const std::string &format)
ers::Issue
Base class for any user define issue.
Definition
Issue.hpp:80
ers::OutputStream::OutputStream
OutputStream()
Definition
OutputStream.cpp:25
ers::format
Definition
FormattedStandardStream.hpp:28
ers
Definition
Logger.hxx:202
Generated on
for DUNE-DAQ by
1.17.0