DUNE-DAQ
DUNE Trigger and Data Acquisition software
Toggle main menu visibility
Loading...
Searching...
No Matches
dunedaq
sourcecode
iomanager
include
iomanager
queue
QueueIssues.hpp
Go to the documentation of this file.
1
8
9
#ifndef IOMANAGER_INCLUDE_IOMANAGER_QUEUE_QUEUEISSUES_HPP_
10
#define IOMANAGER_INCLUDE_IOMANAGER_QUEUE_QUEUEISSUES_HPP_
11
12
#include "
iomanager/CommonIssues.hpp
"
13
14
#include "
ers/Issue.hpp
"
15
#include "
logging/Logging.hpp
"
// NOTE: if ISSUES ARE DECLARED BEFORE include logging/Logging.hpp, TLOG_DEBUG<<issue wont work.
16
17
#include <string>
18
19
namespace
dunedaq
{
20
// Disable coverage collection LCOV_EXCL_START
21
25
ERS_DECLARE_ISSUE
(
iomanager
,
26
QueueTypeUnknown,
27
"Queue type \""
<< queue_type <<
"\" is unknown "
,
28
((std::string)queue_type))
29
30
33
ERS_DECLARE_ISSUE
(
iomanager
,
34
QueueTypeMismatch
,
35
"Requested queue \""
<< queue_name <<
"\" of type '"
<< target_type <<
"' already declared as type '"
36
<< source_type <<
"'"
,
37
((std::string)queue_name)((std::string)source_type)((std::string)target_type))
38
39
42
ERS_DECLARE_ISSUE
(
iomanager
,
43
QueueNotFound,
44
"Requested queue \""
<< queue_name <<
"\" of type '"
<< target_type <<
"' could not be found."
,
45
((std::string)queue_name)((std::string)target_type))
46
47
50
ERS_DECLARE_ISSUE
(
iomanager
, QueueRegistryConfigured,
"QueueRegistry already configured"
,
ERS_EMPTY
)
51
52
ERS_DECLARE_ISSUE
(
iomanager
,
53
ReceiveCallbackConflict,
54
"QueueReceiverModel for uid "
<< conn_uid <<
" is equipped with callback! Ignoring receive call."
,
55
((std::string)conn_uid))
56
57
60
ERS_DECLARE_ISSUE
(
iomanager
,
61
QueueTimeoutExpired,
62
name <<
": Unable to "
<< func_name <<
" within timeout period (timeout period was "
<< timeout
63
<<
" milliseconds)"
,
64
((std::string)name)((std::string)func_name)((
int
)timeout))
// NOLINT
65
// Re-enable coverage collection LCOV_EXCL_STOP
66
67
}
// namespace dunedaq
68
69
#endif
// IOMANAGER_INCLUDE_IOMANAGER_QUEUE_QUEUEISSUES_HPP_
ERS_EMPTY
#define ERS_EMPTY
Definition
IssueDeclarationMacro.hpp:22
Issue.hpp
CommonIssues.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::QueueTypeMismatch
QueueTypeMismatch
Definition
QueueIssues.hpp:34
Generated on
for DUNE-DAQ by
1.17.0