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 {
9ERS_DECLARE_ISSUE(appmodel, BadConf, what, ((std::string)what))
12 "Failed to cast stream parameters " << id << " to " << stype,
13 ((std::string)id)((std::string)stype))
14
15ERS_DECLARE_ISSUE(appmodel, MissingDaphne, "Daphne configuration has no board " << id, ((std::string)id))
16
18 MissingAFE,
19 "Board " << board << "uses afe " << afe << "but it's not available",
20 ((std::string)board)((std::size_t)afe))
21
23 UnimplementedMethodCalled,
24 "Method '" << method_name << "' was called but is not implemented in this class",
25 ((std::string)method_name))
26
27ERS_DECLARE_ISSUE(appmodel, NotSmart, "Object is not a SmartDaqApplication: " << obj, ((std::string)obj))
28
29ERS_DECLARE_ISSUE(appmodel, BadD2d, "Contained object is not a DetectorToDaqConnection: " << obj, ((std::string)obj))
30
31} // namespace dunedaq
32
33#endif // APPDALISSUES_HPP
The DUNE-DAQ namespace.
msgpack::object obj
ERS_DECLARE_ISSUE(cibmodules, CIBCommunicationError, " CIB Hardware Communication Error: "<< descriptor,((std::string) descriptor)) ERS_DECLARE_ISSUE(cibmodules