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
,
BadStreamConf
,
11
"Failed to cast stream parameters "
<<
id
<<
" to "
<< stype,
12
((
std
::
string
)
id
) ((
std
::
string
)stype))
13
14
ERS_DECLARE_ISSUE
(
appmodel
,
15
MissingDaphne,
16
"Daphne configuration has no board "
<<
id
,
17
((
std
::
string
)
id
))
18
19
ERS_DECLARE_ISSUE
(
appmodel
,
20
MissingAFE,
21
"Board "
<< board <<
"uses afe "
<< afe <<
"but it's not available"
,
22
((
std
::
string
)board)((
std
::
size_t
)afe))
23
24
ERS_DECLARE_ISSUE
(
appmodel
,
25
UnimplementedMethodCalled,
26
"Method '"
<< method_name <<
"' was called but is not implemented in this class"
,
27
((
std
::
string
)method_name))
28
29
30
ERS_DECLARE_ISSUE
(
appmodel
,
31
NotSmart,
32
"Object is not a SmartDaqApplication: "
<<
obj
,
33
((
std
::
string
)
obj
))
34
35
ERS_DECLARE_ISSUE
(
appmodel
,
36
BadD2d,
37
"Contained object is not a DetectorToDaqConnection: "
<<
obj
,
38
((
std
::
string
)
obj
))
39
40
}
// namespace dunedaq
41
42
43
#endif
// APPDALISSUES_HPP
Issue.hpp
Logging.hpp
ERS_DECLARE_ISSUE
#define ERS_DECLARE_ISSUE( namespace_name, class_name, message_, attributes)
Definition
macro.hpp:65
dunedaq::appmodel
Definition
CardControllerWrapper.hpp:21
dunedaq
Including Qt Headers.
Definition
module.cpp:16
dunedaq::BadStreamConf
BadStreamConf
Definition
appmodelIssues.hpp:10
dunedaq::obj
msgpack::object obj
Definition
Serialization.hpp:257
dunedaq::ERS_DECLARE_ISSUE
ERS_DECLARE_ISSUE(snbmodules, InvalidGroupTransferIDError, "InvalidGroupTransferIDError: Transfer ID "<< transfer_id<< " not found in "<< location,((std::string) transfer_id)((std::string) location)) ERS_DECLARE_ISSUE(snbmodules
std
Definition
SchemaUtils.hpp:118
Generated on
for DUNE-DAQ by
1.17.0