DUNE-DAQ
DUNE Trigger and Data Acquisition software
Toggle main menu visibility
Loading...
Searching...
No Matches
dunedaq
sourcecode
iomanager
include
iomanager
CommonIssues.hpp
Go to the documentation of this file.
1
8
9
#ifndef IOMANAGER_INCLUDE_IOMANAGER_COMMONISSUES_HPP_
10
#define IOMANAGER_INCLUDE_IOMANAGER_COMMONISSUES_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
15
#include <string>
16
17
namespace
dunedaq
{
18
// Disable coverage collection LCOV_EXCL_START
19
20
ERS_DECLARE_ISSUE
(
iomanager
,
21
ConnectionInstanceNotFound,
22
"Connection Instance not found for name "
<< name,
23
((std::string)name))
24
25
ERS_DECLARE_ISSUE
(
iomanager
,
// namespace
26
TimeoutExpired
,
// issue class name
27
name <<
": Unable to "
<< func_name <<
" within timeout period (timeout period was "
<< timeout
28
<<
" milliseconds)"
,
// message
29
((std::string)name)((std::string)func_name)((
int
)timeout))
// NOLINT(readability/casting)
30
31
ERS_DECLARE_ISSUE
(
iomanager
, OperationFailed, message, ((std::string)message))
32
33
ERS_DECLARE_ISSUE
(
iomanager
,
34
DatatypeMismatch,
35
"Declared datatype in ConnectionId for connection "
<< cuid <<
" is "
<< cid_dt
36
<<
" but datatype_to_string reports "
<< datatype,
37
((std::string)cuid)((std::string)cid_dt)((std::string)datatype))
38
39
// Re-enable coverage collection LCOV_EXCL_STOP
40
41
}
// namespace dunedaq
42
43
#endif
// IOMANAGER_INCLUDE_IOMANAGER_COMMONISSUES_HPP_
Issue.hpp
Logging.hpp
ERS_DECLARE_ISSUE
#define ERS_DECLARE_ISSUE( namespace_name, class_name, message_, attributes)
Definition
macro.hpp:65
dunedaq::iomanager
Definition
IOManager.hxx:19
dunedaq
Including Qt Headers.
Definition
module.cpp:16
dunedaq::TimeoutExpired
TimeoutExpired
Definition
CommonIssues.hpp:26
Generated on
for DUNE-DAQ by
1.17.0