DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
DetectorToDaqConnection.hpp
Go to the documentation of this file.
1// *** this file is generated by oksdalgen, do not modify it ***
2
3#ifndef _DetectorToDaqConnection_0_dunedaq__confmodel_0_confmodel_H_
4#define _DetectorToDaqConnection_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
20 // forward declaration for classes used in relationships and algorithms
21
22namespace dunedaq {
23 namespace confmodel {
24 class DetDataReceiver;
25 class DetDataSender;
26 class DetectorStream;
27 }
28}
29
30
31namespace dunedaq {
32 namespace confmodel {
33
34 class DetectorToDaqConnection : public dunedaq::confmodel::ResourceSetOR {
35
37 friend class conffwk::DalObject;
38 friend class conffwk::DalFactory;
40
41 protected:
42
44 virtual ~DetectorToDaqConnection() noexcept;
45 virtual void init(bool init_children);
46
47 public:
48
51 static const std::string& s_class_name;
52
53
63 virtual void print(unsigned int offset, bool print_header, std::ostream& s) const;
64
65
75 virtual std::vector<const dunedaq::conffwk::DalObject *> get(const std::string& name, bool upcast_unregistered = true) const;
76
77
78 protected:
79
80 bool get(const std::string& name, std::vector<const dunedaq::conffwk::DalObject *>& vec, bool upcast_unregistered, bool first_call) const;
81
82
83 private:
84
85
86
87 public:
88
89
90 public:
91
92 // user-defined algorithms
93
94 std::vector<const confmodel::DetDataSender*> get_senders() const;
95
96
98
99
100 std::vector<const confmodel::DetectorStream*> get_streams() const;
101 };
102
103 // out stream operator
104
105 inline std::ostream& operator<<(std::ostream& s, const DetectorToDaqConnection& obj)
106 {
107 return obj.print_object(s);
108 }
109
110 typedef std::vector<const DetectorToDaqConnection*>::const_iterator DetectorToDaqConnectionIterator;
111
112 }
113}
114
115#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...
DetectorToDaqConnection(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
std::vector< const confmodel::DetDataSender * > get_senders() const
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...
const confmodel::DetDataReceiver * get_receiver() const
std::vector< const confmodel::DetectorStream * > get_streams() const
conffwk entry point
double offset
std::vector< constDetectorToDaqConnection * >::const_iterator DetectorToDaqConnectionIterator
Including Qt Headers.