DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
appmodelIssues.hpp
Go to the documentation of this file.
1
2#ifndef APPDALISSUES_HPP
3#define APPDALISSUES_HPP
4
5#include "ers/Issue.hpp"
6#include "logging/Logging.hpp" // NOTE: if ISSUES ARE DECLARED BEFORE include logging/Logging.hpp, TLOG_DEBUG<<issue wont work.
7
8namespace dunedaq {
9 ERS_DECLARE_ISSUE(appmodel, BadConf, what, ((std::string)what))
11 "Failed to cast stream parameters " << id << " to " << stype,
12 ((std::string)id) ((std::string)stype))
13
15 MissingIP,
16 "Daphne configuration has no IP " << ip,
17 ((std::string)ip))
18
20 MissingDaphne,
21 "Daphne " << id << " has active channels but its turned off",
22 ((size_t)id))
23
25 UnimplementedMethodCalled,
26 "Method '" << method_name << "' was called but is not implemented in this class",
27 ((std::string)method_name))
28
29}
30
31
32#endif // APPDALISSUES_HPP
#define ERS_DECLARE_ISSUE(namespace_name, class_name, message, attributes)
The DUNE-DAQ namespace.
Definition DataStore.hpp:57
Cannot create std::string fatal Incorrect parameters