DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
CommonIssues.hpp
Go to the documentation of this file.
1
12#ifndef LISTREV_SRC_COMMONISSUES_HPP_
13#define LISTREV_SRC_COMMONISSUES_HPP_
14
15#include "appfwk/DAQModule.hpp"
16#include "ers/Issue.hpp"
17#include "logging/Logging.hpp" // NOTE: if ISSUES ARE DECLARED BEFORE include logging/Logging.hpp, TLOG_DEBUG<<issue wont work.
18
19#include <string>
20
21namespace dunedaq {
22
23// Disable coverage collection LCOV_EXCL_START
25 ProgressUpdate,
26 appfwk::GeneralDAQModuleIssue,
27 message,
28 ((std::string)name),
29 ((std::string)message))
30
33 appfwk::GeneralDAQModuleIssue,
34 "The " << queueType << " queue was not successfully created.",
35 ((std::string)name),
36 ((std::string)queueType))
37
39 ListNotFound,
40 "An IntList with ID " << list_id << " was not found when requested.",
41 ((int)list_id)) // NOLINT(readability/casting)
43 ListExists,
44 "An IntList with ID " << list_id << " already is in storage.",
45 ((int)list_id)) // NOLINT(readability/casting)
46// Re-enable coverage collection LCOV_EXCL_STOP
47
48} // namespace dunedaq
49
50#endif // LISTREV_SRC_COMMONISSUES_HPP_
#define ERS_DECLARE_ISSUE_BASE(namespace_name, class_name, base_class_name, message, base_attributes, attributes)
#define ERS_DECLARE_ISSUE(namespace_name, class_name, message, attributes)
Including Qt Headers.