DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
test_circular_dependency.cpp
Go to the documentation of this file.
2
4
5void
7{
8 if(p_index < p_limit) {
9 p_objects[p_index++] = object;
10 }
11 else {
12 std::ostringstream s;
13 for(unsigned int i = 0; i < p_index; ++i) {
14 if(i != 0) s << ", ";
15 s << p_objects[i];
16 }
17
18 throw dunedaq::confmodel::FoundCircularDependency(ERS_HERE, p_limit, p_goal, s.str());
19 }
20}
#define ERS_HERE
The base class for any generated DAL object.
Definition DalObject.hpp:45
void push(const dunedaq::conffwk::DalObject *object)
const dunedaq::conffwk::DalObject * p_objects[p_limit]