DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
Aborts the current application. More...
#include <AbortStream.hpp>
Public Member Functions | |
void | write (const Issue &issue) override |
![]() | |
virtual | ~OutputStream () |
Sends the issue into this stream. | |
Additional Inherited Members | |
![]() | |
OutputStream () | |
OutputStream & | chained () |
virtual bool | isNull () const |
Aborts the current application.
This class implements a stream, which aborts the application whenever it receives an issue. In order to employ this implementation in a stream configuration the name to be used is "abort". E.g. the following configuration will print a first issue that is passed to the FATAL ERS stream to the standard output and then aborts the application:
export DUNEDAQ_ERS_FATAL="stdout,abort"
Definition at line 35 of file AbortStream.hpp.
|
overridevirtual |
Implements ers::OutputStream.