DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
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
15#ifndef ERS_EXIT_STREAM_H
16#define ERS_EXIT_STREAM_H
17
18#include <ers/OutputStream.hpp>
19
20namespace ers {
21
22 class Issue;
23
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:
49 };
50}
51
52#endif
53
Base class for any user define issue.
Definition Issue.hpp:69
ERS abstract output stream interface.
CTB Buffer Issue
Terminates the current application.
void write(const Issue &issue) override
ExitStream(const std::string &exit_code="1")