DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
dunedaq
sourcecode
ers
include
ers
internal
ExitStream.hpp
Go to the documentation of this file.
1
/*
2
* ExitStream.h
3
* ers
4
*
5
* Created by Serguei Kolos on 02.08.05.
6
* Copyright 2004 CERN. All rights reserved.
7
*
8
*/
9
14
15
#ifndef ERS_EXIT_STREAM_H
16
#define ERS_EXIT_STREAM_H
17
18
#include <
ers/OutputStream.hpp
>
19
20
namespace
ers
{
21
22
class
Issue
;
23
35
36
struct
ExitStream
:
public
OutputStream
37
{
43
explicit
ExitStream
(
const
std::string &exit_code =
"1"
);
44
45
void
write
(
const
Issue
&issue)
override
;
46
47
private
:
48
int
m_exit_code
;
49
};
50
}
51
52
#endif
53
OutputStream.hpp
ers::Issue
Base class for any user define issue.
Definition
Issue.hpp:69
ers::OutputStream::OutputStream
OutputStream()
Definition
OutputStream.cpp:14
ers
Definition
Logger.hxx:202
ers::ExitStream::write
void write(const Issue &issue) override
ers::ExitStream::m_exit_code
int m_exit_code
Definition
ExitStream.hpp:48
ers::ExitStream::ExitStream
ExitStream(const std::string &exit_code="1")
Generated on
for DUNE-DAQ by
1.16.1