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 146 of file messenger.hpp.

147{
148 DEBUG = 0,
149 INFO,
150 NOTE,
151 WARN,
152 ERROR,
153 FAIL,
154 sizeme
155};
#define ERROR(...)
Definition messenger.hpp:93
#define NOTE(...)
#define WARN(...)
Definition messenger.hpp:85
#define DEBUG(...)
#define FAIL(...)
#define INFO(...)

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 60 of file messenger.cpp.

60 {
61 { msglevels::debug, "Debug info" },
62 { msglevels::info, "Information" },
63 { msglevels::note, "Notice" },
64 { msglevels::warn, "Warning" },
65 { msglevels::error, "Error" },
66 { msglevels::fail, "Failure" }
67};