DUNE-DAQ
DUNE Trigger and Data Acquisition software
Toggle main menu visibility
Loading...
Searching...
No Matches
dunedaq
sourcecode
ers
include
ers
internal
RFilterStream.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/RFilterStream.h to include/ers/internal/RFilterStream.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
* RFilterStream.h
14
* ERS
15
*
16
* Created by Andrea Negri on 13.11.06.
17
* Copyright 2005 CERN. All rights reserved.
18
*
19
*/
20
25
26
#ifndef ERS_STREAM_RFILTER_H
27
#define ERS_STREAM_RFILTER_H
28
29
#include <
ers/OutputStream.hpp
>
30
#include <boost/regex.hpp>
31
32
namespace
ers
33
{
49
50
class
RFilterStream
:
public
OutputStream
51
{
52
public
:
53
RFilterStream
(
const
std::string &
format
);
54
55
void
write
(
const
Issue
& issue )
override
;
56
57
private
:
58
bool
is_accepted
(
const
ers::Issue
& issue );
59
60
std::vector<boost::regex>
m_regInclude
;
61
std::vector<boost::regex>
m_regExclude
;
62
};
63
}
64
65
#endif
OutputStream.hpp
ers::Issue
Base class for any user define issue.
Definition
Issue.hpp:80
ers::OutputStream::OutputStream
OutputStream()
Definition
OutputStream.cpp:25
ers::RFilterStream::RFilterStream
RFilterStream(const std::string &format)
ers::RFilterStream::m_regExclude
std::vector< boost::regex > m_regExclude
exclude list
Definition
RFilterStream.hpp:61
ers::RFilterStream::m_regInclude
std::vector< boost::regex > m_regInclude
include list
Definition
RFilterStream.hpp:60
ers::RFilterStream::is_accepted
bool is_accepted(const ers::Issue &issue)
ers::RFilterStream::write
void write(const Issue &issue) override
ers::format
Definition
FormattedStandardStream.hpp:28
ers
Definition
Logger.hxx:202
Generated on
for DUNE-DAQ by
1.17.0