DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
ResourceSetDisableAND.hpp
Go to the documentation of this file.
1// *** this file is generated by oksdalgen, do not modify it ***
2
3#ifndef _ResourceSetDisableAND_0_dunedaq__confmodel_0_confmodel_H_
4#define _ResourceSetDisableAND_0_dunedaq__confmodel_0_confmodel_H_
5
6#include <stdint.h> // to define 64 bits types
7#include <iostream>
8#include <sstream>
9#include <string>
10#include <map>
11#include <vector>
12
14#include "conffwk/DalObject.hpp"
15
16 // include files for classes used in inheritance hierarchy
17
19
20namespace dunedaq {
21 namespace confmodel {
22
28
29 friend class conffwk::Configuration;
30 friend class conffwk::DalObject;
31 friend class conffwk::DalFactory;
32 friend class conffwk::DalRegistry;
33
34 protected:
35
37 virtual ~ResourceSetDisableAND() noexcept;
38 virtual void init(bool init_children);
39
40 public:
41
44 static const std::string& s_class_name;
45
46
56 virtual void print(unsigned int offset, bool print_header, std::ostream& s) const;
57
58
68 virtual std::vector<const dunedaq::conffwk::DalObject *> get(const std::string& name, bool upcast_unregistered = true) const;
69
70
71 protected:
72
73 bool get(const std::string& name, std::vector<const dunedaq::conffwk::DalObject *>& vec, bool upcast_unregistered, bool first_call) const;
74
75
76 private:
77
78
79
80 public:
81
82
83 public:
84
85 // user-defined algorithms
86
91 bool compute_disabled_state(const std::set<std::string>& disabled) const final;
92 };
93
94 // out stream operator
95
96 inline std::ostream& operator<<(std::ostream& s, const ResourceSetDisableAND& obj)
97 {
98 return obj.print_object(s);
99 }
100
101 typedef std::vector<const ResourceSetDisableAND*>::const_iterator ResourceSetDisableANDIterator;
102
103 }
104}
105
106#endif
The base class for any generated DAL object.
Definition DalObject.hpp:45
DalRegistry: A registry of DalObjects It provides a single interface to create, cache and manage DalO...
ResourceSetDisableAND(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
bool compute_disabled_state(const std::set< std::string > &disabled) const final
virtual std::vector< const dunedaq::conffwk::DalObject * > get(const std::string &name, bool upcast_unregistered=true) const
Get values of relationships and results of some algorithms as a vector of dunedaq::conffwk::DalObject...
conffwk entry point
double offset
std::vector< constResourceSetDisableAND * >::const_iterator ResourceSetDisableANDIterator
The DUNE-DAQ namespace.
Definition DataStore.hpp:57
msgpack::object obj
Monitoring thread not set