DUNE-DAQ
DUNE Trigger and Data Acquisition software
Toggle main menu visibility
Loading...
Searching...
No Matches
dunedaq
sourcecode
opmonlib
include
opmonlib
Issues.hpp
Go to the documentation of this file.
1
8
9
#ifndef OPMONLIB_INCLUDE_OPMONLIB_ISSUES_HPP_
10
#define OPMONLIB_INCLUDE_OPMONLIB_ISSUES_HPP_
11
12
#include <
ers/Issue.hpp
>
13
#include "
logging/Logging.hpp
"
// NOTE: if ISSUES ARE DECLARED BEFORE include logging/Logging.hpp, TLOG_DEBUG<<issue wont work.
14
#include <string>
15
16
namespace
dunedaq
{
17
18
ERS_DECLARE_ISSUE
(
opmonlib
,
19
OpmonServiceCreationFailed,
20
"OpmonServiceCreationFailed: "
<<
error
,
21
((std::string)
error
)
22
) ;
23
24
ERS_DECLARE_ISSUE
(
opmonlib
,
25
OpMonFacilityCreationFailed,
26
"Facility "
<<
type
<<
": creation failed"
,
27
((std::string)
type
)
28
) ;
29
30
ERS_DECLARE_ISSUE_BASE
(
opmonlib
,
31
OpMonFacilityCreationFailedWithCause,
32
opmonlib::OpMonFacilityCreationFailed,
33
"Facility "
<<
type
<<
": creation failed because "
<< cause_message,
34
((std::string)
type
),
35
((std::string)cause_message)
36
)
37
38
39
}
// namespace dunedaq
40
41
#endif
// OPMONLIB_INCLUDE_OPMONLIB_ISSUES_HPP_
Issue.hpp
type
type
Definition
TriggerActivity_serialization.hpp:48
Logging.hpp
ERS_DECLARE_ISSUE
#define ERS_DECLARE_ISSUE( namespace_name, class_name, message_, attributes)
Definition
macro.hpp:65
ERS_DECLARE_ISSUE_BASE
#define ERS_DECLARE_ISSUE_BASE( namespace_name, class_name, base_class_name, message_, base_attributes, attributes)
Definition
macro.hpp:45
dunedaq
Including Qt Headers.
Definition
module.cpp:16
dunedaq::error
CIB Buffer std::string descriptor Message from std::string descriptor CIB process error
Definition
CIBModuleIssues.hpp:47
opmonlib
Definition
__init__.py:1
Generated on
for DUNE-DAQ by
1.17.0