|
DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
Manager of ERS streams configuration. More...
#include <Configuration.hpp>
Public Member Functions | |
| int | debug_level () const |
| returns current debug level | |
| int | verbosity_level () const |
| returns current verbosity level | |
| void | debug_level (int debug_level) |
| void | verbosity_level (int verbosity_level) |
| can be used to set the current verbosity level | |
Static Public Member Functions | |
| static Configuration & | instance () |
| return the singleton | |
Private Member Functions | |
| Configuration () | |
Private Attributes | |
| int | m_debug_level |
| current active level for the debug stream | |
| int | m_verbosity_level |
| current verbosity level for all streams | |
Friends | |
| template<class > | |
| class | SingletonCreator |
| std::ostream & | operator<< (std::ostream &, const ers::Configuration &) |
Manager of ERS streams configuration.
The Configuration class provides API for configuring ERS output streams.
Definition at line 38 of file Configuration.hpp.
|
private |
Private constructor - can not be called by user code, use the instance() method instead
Definition at line 97 of file Configuration.cpp.
|
inline |
returns current debug level
<
Definition at line 47 of file Configuration.hpp.
|
inline |
| debug_level | can be used to set the current debug level |
Definition at line 53 of file Configuration.hpp.
|
static |
return the singleton
This method returns the singleton instance. It should be used for every operation on the factory.
Singleton instance
Definition at line 22 of file Configuration.cpp.
|
inline |
returns current verbosity level
<
Definition at line 50 of file Configuration.hpp.
| void ers::Configuration::verbosity_level | ( | int | verbosity_level | ) |
can be used to set the current verbosity level
Definition at line 43 of file Configuration.cpp.
|
friend |
|
friend |
Definition at line 41 of file Configuration.hpp.
|
private |
current active level for the debug stream
Definition at line 61 of file Configuration.hpp.
|
private |
current verbosity level for all streams
Definition at line 62 of file Configuration.hpp.