DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
Configuration.hpp
Go to the documentation of this file.
1#ifndef ERS_CONFIGURATION_H
2#define ERS_CONFIGURATION_H
3
4/*
5 * Configuration.h
6 * ers
7 *
8 * Created by Serguei Kolos on 21.11.05.
9 * Copyright 2005 CERN. All rights reserved.
10 *
11 */
12
18#include <iostream>
19
20namespace ers
21{
22 class Issue;
23 template <class > class SingletonCreator;
24
39 {
40 friend std::ostream & operator<<( std::ostream &, const ers::Configuration & );
41 template <class > friend class SingletonCreator;
42
43 public:
44
45 static Configuration & instance();
47 int debug_level() const
48 { return m_debug_level; }
49
50 int verbosity_level() const
51 { return m_verbosity_level; }
52
55
58 private:
60
63 };
64
65 std::ostream & operator<<( std::ostream &, const ers::Configuration & );
66}
67
68#endif
69
Manager of ERS streams configuration.
void debug_level(int debug_level)
int m_debug_level
current active level for the debug stream
int verbosity_level() const
returns current verbosity level
friend std::ostream & operator<<(std::ostream &, const ers::Configuration &)
static Configuration & instance()
return the singleton
int debug_level() const
returns current debug level
int m_verbosity_level
current verbosity level for all streams
CTB Buffer Issue
std::ostream & operator<<(std::ostream &, const ers::Configuration &)