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
4namespace dunedaq {
5namespace conffwk {
6class DalObject;
7}
8}
9
10namespace dunedaq::confmodel {
11
13{
14
16
17public:
18 TestCircularDependency(const char* goal, const dunedaq::conffwk::DalObject* first_object)
19 : p_goal(goal)
20 , p_index(0)
21 {
22 p_objects[p_index++] = first_object;
23 }
24
25private:
27 void push(const dunedaq::conffwk::DalObject* object);
28
29 void pop() { p_index--; }
30
32 enum
33 {
35 };
36
37 const char* p_goal;
38 unsigned int p_index;
40};
41
56} // dunedaq::confmodel
57
58#endif
The base class for any generated DAL object.
Definition DalObject.hpp:51
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]
The DUNE-DAQ namespace.
msgpack::object obj