DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
test_circular_dependency.hpp
Go to the documentation of this file.
1#ifndef _daq_core_test_circular_dependency_H_
2#define _daq_core_test_circular_dependency_H_
3
4
5#include "confmodel/util.hpp"
6
7namespace dunedaq {
8 namespace conffwk {
9 class DalObject2g;
10 }
11}
12
13namespace dunedaq::confmodel {
14
16
18
19 public:
20
21 TestCircularDependency(const char * goal, const dunedaq::conffwk::DalObject * first_object) :
22 p_goal(goal), p_index(0)
23 {
24 p_objects[p_index++] = first_object;
25 }
26
27
28 private:
29
31 void push(const dunedaq::conffwk::DalObject * object);
32
33 void
35 {
36 p_index--;
37 }
38
40 enum {
41 p_limit = 64
42 };
43
44 const char * p_goal;
45 unsigned int p_index;
47
48 };
49
62} // dunedaq::confmodel
63
64
65#endif
The base class for any generated DAL object.
Definition DalObject.hpp:45
AddTestOnCircularDependency(TestCircularDependency &fuse, const dunedaq::conffwk::DalObject *obj)
void push(const dunedaq::conffwk::DalObject *object)
TestCircularDependency(const char *goal, const dunedaq::conffwk::DalObject *first_object)
const dunedaq::conffwk::DalObject * p_objects[p_limit]
Including Qt Headers.