DUNE-DAQ
DUNE Trigger and Data Acquisition software
Toggle main menu visibility
Loading...
Searching...
No Matches
dunedaq
sourcecode
confmodel
include
confmodel
confmodelIssues.hpp
Go to the documentation of this file.
1
#ifndef CONFMODELISSUES_HPP
2
#define CONFMODELISSUES_HPP
3
4
#include "
ers/Issue.hpp
"
5
6
namespace
dunedaq
{
7
ERS_DECLARE_ISSUE
(
confmodel
,
8
InvalidOpMonFile,
9
file_name <<
" is an invalid name for the opmon output"
,
10
((std::string)file_name))
11
12
ERS_DECLARE_ISSUE
(
confmodel
,
LoadDalFailed
,
"Could not load dal shared library "
<< library, ((
std
::
string
)library))
13
14
ERS_DECLARE_ISSUE
(
confmodel
, ConfigurationError, , )
15
16
ERS_DECLARE_ISSUE_BASE
(
confmodel
,
17
NoOpmonInfrastructure,
18
ConfigurationError,
19
"The opmon infrastructure has not been set up in the configuration"
,
20
, )
21
22
ERS_DECLARE_ISSUE_BASE
(
confmodel
,
23
NoControlServiceDefined,
24
ConfigurationError,
25
"The control service has not been set up for the application "
+ app_name +
26
" you need to define a service called "
+ app_name +
"_control"
,
27
,
28
((
std
::
string
)app_name))
29
30
ERS_DECLARE_ISSUE_BASE
(
confmodel
,
31
DuplicatedControlService,
32
ConfigurationError,
33
"The control service has been defined multiple times for the application "
+ app_name +
34
" you need to define only one service called control"
,
35
,
36
((
std
::
string
)app_name)
37
38
)
39
40
ERS_DECLARE_ISSUE_BASE
(
confmodel
, BadConf, ConfigurationError, what << where, , ((
std
::
string
)what)((
std
::
string
)where))
41
42
ERS_DECLARE_ISSUE_BASE
(
confmodel
,
43
MissingConstructor,
44
ConfigurationError,
45
"Configuration contains a "
+ base +
" derived object "
+
obj
+
" which cannot be cast to "
+
46
base +
" due to the constructor for the class not being available in this application"
,
47
,
48
((
std
::
string
)base)((
std
::
string
)
obj
))
49
50
ERS_DECLARE_ISSUE
(
confmodel
, AlgorithmError, , )
51
52
ERS_DECLARE_ISSUE_BASE
(
confmodel
, BadVariableUsage, AlgorithmError, message, , ((
std
::
string
)message))
53
54
ERS_DECLARE_ISSUE_BASE
(
confmodel
,
55
BadApplicationInfo,
56
AlgorithmError,
57
"Failed to retrieve information for Application \'"
<< app_id
58
<<
"\' from the database: "
<< message,
59
,
60
((
std
::
string
)app_id)((
std
::
string
)message))
61
62
ERS_DECLARE_ISSUE_BASE
(
confmodel
,
63
BadSessionID,
64
AlgorithmError,
65
"There is no session object with UID = \""
<< name <<
'\"'
,
66
,
67
((
std
::
string
)name))
68
69
ERS_DECLARE_ISSUE_BASE
(
confmodel
,
70
SegmentExcluded,
71
AlgorithmError,
72
"Cannot get information about applications because the segment is excluded"
,
73
, )
74
75
ERS_DECLARE_ISSUE_BASE
(
confmodel
,
76
BadProgramInfo,
77
AlgorithmError,
78
"Failed to retrieve information for Program \'"
<< prog_id
79
<<
"\' from the database: "
<< message,
80
,
81
((
std
::
string
)prog_id)((
std
::
string
)message))
82
83
ERS_DECLARE_ISSUE_BASE
(
confmodel
,
84
BadHost,
85
AlgorithmError,
86
"Failed to retrieve application \'"
<< app_id <<
"\' from the database: "
<< message,
87
,
88
((
std
::
string
)app_id)((
std
::
string
)message))
89
90
ERS_DECLARE_ISSUE_BASE
(
confmodel
,
91
NoDefaultHost,
92
AlgorithmError,
93
"Failed to find default host for segment \'"
<< seg_id <<
"\' "
<< message,
94
,
95
((
std
::
string
)seg_id)((
std
::
string
)message))
96
97
ERS_DECLARE_ISSUE_BASE
(
confmodel
,
98
NoTemplateAppHost,
99
AlgorithmError,
100
"Both session default and segment default hosts are not defined for "
101
"template application \'"
102
<< app_id <<
"\' from segment \'"
<< seg_id
103
<<
"\' (will use localhost, that may cause problems presenting info in "
104
"IGUI for distributed session)."
,
105
,
106
((
std
::
string
)app_id)((
std
::
string
)seg_id))
107
108
ERS_DECLARE_ISSUE_BASE
(
confmodel
,
109
BadTag,
110
AlgorithmError,
111
"Failed to use tag \'"
<< tag_id <<
"\' because: "
<< message,
112
,
113
((
std
::
string
)tag_id)((
std
::
string
)message))
114
115
ERS_DECLARE_ISSUE_BASE
(
confmodel
,
116
BadSegment,
117
AlgorithmError,
118
"Invalid Segment \'"
<< seg_id <<
"\' because: "
<< message,
119
,
120
((
std
::
string
)seg_id)((
std
::
string
)message))
121
122
ERS_DECLARE_ISSUE_BASE
(
confmodel
,
123
GetTemplateApplicationsOfSegmentError,
124
AlgorithmError,
125
"Failed to get template applications of \'"
<< name <<
"\' segment"
<< message,
126
,
127
((
std
::
string
)name)((
std
::
string
)message))
128
129
ERS_DECLARE_ISSUE_BASE
(
confmodel
,
130
BadTemplateSegmentDescription,
131
AlgorithmError,
132
"Bad configuration description of template segment \'"
<< name <<
"\': "
<< message,
133
,
134
((
std
::
string
)name)((
std
::
string
)message))
135
136
ERS_DECLARE_ISSUE_BASE
(
confmodel
,
137
CannotGetApplicationObject,
138
AlgorithmError,
139
"Failed to get application object from name: "
<< reason,
140
,
141
((
std
::
string
)reason))
142
143
ERS_DECLARE_ISSUE_BASE
(
confmodel
,
144
CannotFindSegmentByName,
145
AlgorithmError,
146
"Failed to find segment object \'"
<< name <<
"\': "
<< reason,
147
,
148
((
std
::
string
)name)((
std
::
string
)reason))
149
150
ERS_DECLARE_ISSUE_BASE
(
confmodel
,
151
NotInitedObject,
152
AlgorithmError,
153
"The "
<< item <<
" object "
<<
obj
<<
" was not initialized"
,
154
,
155
((const
char
*)item)((
void
*)
obj
))
156
157
ERS_DECLARE_ISSUE_BASE
(
confmodel
,
158
NotInitedByDalAlgorithm,
159
AlgorithmError,
160
"The "
<< obj_id <<
'@'
<< obj_class <<
" object "
<<
address
161
<<
" was not initialized by DAL algorithm "
<< algo,
162
,
163
((
std
::
string
)obj_id)((
std
::
string
)obj_class)((
void
*)
address
)((const
char
*)algo))
164
165
ERS_DECLARE_ISSUE_BASE
(
confmodel
,
166
CannotCreateSegConfig,
167
AlgorithmError,
168
"Failed to create config for segment \'"
<< name <<
"\': "
<< reason,
169
,
170
((
std
::
string
)name)((
std
::
string
)reason))
171
172
ERS_DECLARE_ISSUE_BASE
(
confmodel
,
173
CannotGetParents,
174
AlgorithmError,
175
"Failed to get parents of \'"
<<
object
<<
'\''
,
176
,
177
((
std
::
string
)
object
))
178
179
ERS_DECLARE_ISSUE_BASE
(
confmodel
,
180
FoundCircularDependency
,
181
AlgorithmError,
182
"Reach maximum allowed recursion ("
183
<< limit <<
") during calculation of "
<< goal
184
<<
"; possibly there is circular dependency between these objects: "
<< objects,
185
,
186
((
unsigned
int
)limit)((const
char
*)goal)((
std
::
string
)objects))
187
188
ERS_DECLARE_ISSUE_BASE
(
189
confmodel
,
190
NoJarFile,
191
AlgorithmError,
192
"Cannot find jar file \'"
<< file <<
"\' described by \'"
<< obj_id <<
'@'
<< obj_class <<
"\' that is part of \'"
193
<< rep_id <<
'@'
<< rep_class <<
'\''
,
194
,
195
((
std
::
string
)file)((
std
::
string
)obj_id)((
std
::
string
)obj_class)((
std
::
string
)rep_id)((
std
::
string
)rep_class))
196
197
ERS_DECLARE_ISSUE_BASE
(
confmodel
,
198
DuplicatedApplicationID,
199
AlgorithmError,
200
"Two applications have equal IDs:\n 1) "
<< first <<
"\n 2) "
<< second,
201
,
202
((
std
::
string
)first)((
std
::
string
)second))
203
204
ERS_DECLARE_ISSUE_BASE
(
confmodel
,
205
SegmentIncludedMultipleTimes,
206
AlgorithmError,
207
"The segment \""
<< segment <<
"\" is included by:\n 1) "
<< first <<
"\n 2) "
<< second,
208
,
209
((
std
::
string
)segment)((
std
::
string
)first)((
std
::
string
)second))
210
211
ERS_DECLARE_ISSUE_BASE
(
confmodel
,
212
ReadMaxAllowedIterations,
213
AlgorithmError,
214
"Has exceeded the maximum of iterations allowed ("
<< limit
215
<<
") during calculation of excluded objects"
,
216
,
217
((
unsigned
int
)limit))
218
219
}
// namespace dunedaq
220
221
#endif
// CONFMODELISSUES_HPP
Issue.hpp
dunedaq::confmodel
Definition
ExcludedEntities.hpp:9
dunedaq
The DUNE-DAQ namespace.
Definition
cib_utilities.cpp:5
dunedaq::LoadDalFailed
LoadDalFailed
Definition
confmodelIssues.hpp:12
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
dunedaq::ERS_DECLARE_ISSUE_BASE
ERS_DECLARE_ISSUE_BASE(timinglibs, ProgressUpdate, appfwk::GeneralDAQModuleIssue, message,((std::string) name),((std::string) message)) ERS_DECLARE_ISSUE_BASE(timinglibs
dunedaq::address
Invalid address
Definition
CommonIssues.hpp:26
std
Definition
SchemaUtils.hpp:118
FoundCircularDependency
Definition
oks_validate_repository.cxx:132
Generated on
for DUNE-DAQ by
1.18.0