DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
dbe::interface::messenger Namespace Reference

Classes

struct  batch_guard
struct  msglevels
class  qt
class  console

Enumerations

enum class  messages {
  DEBUG = 0 , INFO , NOTE , WARN ,
  ERROR , FAIL , sizeme
}

Variables

static std::map< qt::t_str const, messages const > codes
static std::map< messages const, qt::t_str const > levels
static std::map< qt::t_str const, qt::t_str const > titles

Enumeration Type Documentation

◆ messages

Enumerator
DEBUG 
INFO 
NOTE 
WARN 
ERROR 
FAIL 
sizeme 

Definition at line 141 of file messenger.hpp.

142{
143 DEBUG = 0,
144 INFO,
145 NOTE,
146 WARN,
147 ERROR,
148 FAIL,
149 sizeme
150};
#define ERROR(...)
Definition messenger.hpp:88
#define NOTE(...)
#define WARN(...)
Definition messenger.hpp:80
#define DEBUG(...)
#define FAIL(...)
#define INFO(...)
Definition messenger.hpp:96

Variable Documentation

◆ codes

std::map<qt::t_str const, messages const> dbe::interface::messenger::codes
static

◆ levels

◆ titles

std::map<qt::t_str const, qt::t_str const> dbe::interface::messenger::titles
static
Initial value:
=
{
{ msglevels::debug, "Debug info" },
{ msglevels::info, "Information" },
{ msglevels::note, "Notice" },
{ msglevels::warn, "Warning" },
{ msglevels::error, "Error" },
{ msglevels::fail, "Failure" }
}

Definition at line 55 of file messenger.cpp.

55 {
56 { msglevels::debug, "Debug info" },
57 { msglevels::info, "Information" },
58 { msglevels::note, "Notice" },
59 { msglevels::warn, "Warning" },
60 { msglevels::error, "Error" },
61 { msglevels::fail, "Failure" }
62};