DUNE-DAQ
DUNE Trigger and Data Acquisition software
Toggle main menu visibility
Loading...
Searching...
No Matches
dunedaq
sourcecode
appmodel
include
appmodel
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
8
namespace
dunedaq
{
9
ERS_DECLARE_ISSUE
(
appmodel
, BadConf, what, ((std::string)what))
10
ERS_DECLARE_ISSUE
(
appmodel
,
11
BadStreamConf
,
12
"Failed to cast stream parameters "
<<
id
<<
" to "
<< stype,
13
((std::string)
id
)((std::string)stype))
14
15
ERS_DECLARE_ISSUE
(
appmodel
, MissingDaphne,
"Daphne configuration has no board "
<<
id
, ((std::string)
id
))
16
17
ERS_DECLARE_ISSUE
(
appmodel
,
18
MissingAFE,
19
"Board "
<< board <<
"uses afe "
<< afe <<
"but it's not available"
,
20
((std::string)board)((std::size_t)afe))
21
22
ERS_DECLARE_ISSUE
(
appmodel
,
23
UnimplementedMethodCalled,
24
"Method '"
<< method_name <<
"' was called but is not implemented in this class"
,
25
((std::string)method_name))
26
27
ERS_DECLARE_ISSUE
(
appmodel
, NotSmart,
"Object is not a SmartDaqApplication: "
<<
obj
, ((std::string)
obj
))
28
29
ERS_DECLARE_ISSUE
(
appmodel
, BadD2d,
"Contained object is not a DetectorToDaqConnection: "
<<
obj
, ((std::string)
obj
))
30
31
}
// namespace dunedaq
32
33
#endif
// APPDALISSUES_HPP
Issue.hpp
Logging.hpp
dunedaq::appmodel
Definition
CardControllerWrapper.hpp:21
dunedaq
The DUNE-DAQ namespace.
Definition
cib_utilities.cpp:5
dunedaq::BadStreamConf
BadStreamConf
Definition
appmodelIssues.hpp:11
dunedaq::obj
msgpack::object obj
Definition
Serialization.hpp:252
dunedaq::ERS_DECLARE_ISSUE
ERS_DECLARE_ISSUE(cibmodules, CIBCommunicationError, " CIB Hardware Communication Error: "<< descriptor,((std::string) descriptor)) ERS_DECLARE_ISSUE(cibmodules
Generated on
for DUNE-DAQ by
1.18.0