DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
QueueIssues.hpp
Go to the documentation of this file.
1
9#ifndef IOMANAGER_INCLUDE_IOMANAGER_QUEUE_QUEUEISSUES_HPP_
10#define IOMANAGER_INCLUDE_IOMANAGER_QUEUE_QUEUEISSUES_HPP_
11
13
14#include "logging/Logging.hpp" // NOTE: if ISSUES ARE DECLARED BEFORE include logging/Logging.hpp, TLOG_DEBUG<<issue wont work.
15#include "ers/Issue.hpp"
16
17#include <string>
18
19namespace dunedaq {
20// Disable coverage collection LCOV_EXCL_START
21
25ERS_DECLARE_ISSUE(iomanager, // namespace
26 QueueTypeUnknown, // issue class name
27 "Queue type \"" << queue_type << "\" is unknown ",
28 ((std::string)queue_type))
29
30
33ERS_DECLARE_ISSUE(iomanager, // namespace
34 QueueTypeMismatch, // issue class name
35 "Requested queue \"" << queue_name << "\" of type '" << target_type << "' already declared as type '"
36 << source_type << "'", // message
37 ((std::string)queue_name)((std::string)source_type)((std::string)target_type))
38
39
42ERS_DECLARE_ISSUE(iomanager, // namespace
43 QueueNotFound, // issue class name
44 "Requested queue \"" << queue_name << "\" of type '" << target_type
45 << "' could not be found.", // message
46 ((std::string)queue_name)((std::string)target_type))
47
48
51ERS_DECLARE_ISSUE(iomanager, // namespace
52 QueueRegistryConfigured, // issue class name
53 "QueueRegistry already configured",
55
56ERS_DECLARE_ISSUE(iomanager,
57 ReceiveCallbackConflict,
58 "QueueReceiverModel for uid " << conn_uid << " is equipped with callback! Ignoring receive call.",
59 ((std::string)conn_uid))
60
61// Re-enable coverage collection LCOV_EXCL_STOP
62
63} // namespace dunedaq
64
65#endif // IOMANAGER_INCLUDE_IOMANAGER_QUEUE_QUEUEISSUES_HPP_
#define ERS_DECLARE_ISSUE(namespace_name, class_name, message, attributes)
#define ERS_EMPTY
Including Qt Headers.