DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
NP02ReadoutApplication.hpp
Go to the documentation of this file.
1// *** this file is generated by oksdalgen, do not modify it ***
2
3#ifndef _NP02ReadoutApplication_0_dunedaq__appmodel_0_appmodel_H_
4#define _NP02ReadoutApplication_0_dunedaq__appmodel_0_appmodel_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 Session;
25 }
26}
27
28
29namespace dunedaq {
30 namespace appmodel {
31
32 class NP02ReadoutApplication : public dunedaq::appmodel::ReadoutApplication {
33
35 friend class conffwk::DalObject;
36 friend class conffwk::DalFactory;
38
39 protected:
40
42 virtual ~NP02ReadoutApplication() noexcept;
43 virtual void init(bool init_children);
44
45 public:
46
49 static const std::string& s_class_name;
50
51
61 virtual void print(unsigned int offset, bool print_header, std::ostream& s) const;
62
63
73 virtual std::vector<const dunedaq::conffwk::DalObject *> get(const std::string& name, bool upcast_unregistered = true) const;
74
75
76 protected:
77
78 bool get(const std::string& name, std::vector<const dunedaq::conffwk::DalObject *>& vec, bool upcast_unregistered, bool first_call) const;
79
80
81 private:
82
83
84
85 public:
86
87
88 public:
89
90 // user-defined algorithms
91
96 void generate_modules(const confmodel::Session*) const override;
97 };
98
99 // out stream operator
100
101 inline std::ostream& operator<<(std::ostream& s, const NP02ReadoutApplication& obj)
102 {
103 return obj.print_object(s);
104 }
105
106 typedef std::vector<const NP02ReadoutApplication*>::const_iterator NP02ReadoutApplicationIterator;
107
108 }
109}
110
111#endif
NP02ReadoutApplication(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
void generate_modules(const confmodel::Session *) const override
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...
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...
conffwk entry point
double offset
std::vector< constNP02ReadoutApplication * >::const_iterator NP02ReadoutApplicationIterator
The DUNE-DAQ namespace.
msgpack::object obj