10#ifndef ERS_STREAM_MANAGER_H
11#define ERS_STREAM_MANAGER_H
13#include <initializer_list>
38 class StreamInitializer;
84 const std::string & filter,
88 const std::initializer_list<std::string> & params,
ERS Issue receiver interface.
Base class for any user define issue.
ERS abstract output stream interface.
This class manages and provides access to ERS streams.
PluginManager m_plugin_manager
void add_output_stream(ers::severity severity, ers::OutputStream *new_stream)
std::shared_ptr< OutputStream > m_init_streams[ers::Fatal+1]
array of pointers to streams per severity
OutputStream * setup_stream(ers::severity severity)
void warning(const Issue &issue)
sends an issue to the warning stream
static StreamManager & instance()
return the singleton
friend class ers::ErrorHandler
std::list< std::shared_ptr< InputStream > > m_in_streams
void report_issue(ers::severity type, const Issue &issue)
void log(const Issue &issue)
sends an issue to the log stream
void fatal(const Issue &issue)
sends an issue to the fatal stream
void add_receiver(const std::string &stream, const std::string &filter, ers::IssueReceiver *receiver)
friend class ers::LocalStream
void debug(const Issue &issue, int level)
sends an Issue to the debug stream
void information(const Issue &issue)
sends an issue to the information stream
std::shared_ptr< OutputStream > m_out_streams[ers::Fatal+1]
array of pointers to streams per severity
void remove_receiver(ers::IssueReceiver *receiver)
std::ostream & operator<<(std::ostream &, const ers::Configuration &)
Factory couldn t std::string alg_name Invalid configuration error