DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
ers::AbortStream Struct Reference

Aborts the current application. More...

#include <AbortStream.hpp>

Inheritance diagram for ers::AbortStream:
[legend]
Collaboration diagram for ers::AbortStream:
[legend]

Public Member Functions

void write (const Issue &issue) override
 
- Public Member Functions inherited from ers::OutputStream
virtual ~OutputStream ()
 Sends the issue into this stream.
 

Additional Inherited Members

- Protected Member Functions inherited from ers::OutputStream
 OutputStream ()
 
OutputStreamchained ()
 
virtual bool isNull () const
 

Detailed Description

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"
Author
Serguei Kolos

Definition at line 35 of file AbortStream.hpp.

Member Function Documentation

◆ write()

void ers::AbortStream::write ( const Issue & issue)
overridevirtual

Implements ers::OutputStream.


The documentation for this struct was generated from the following file: