DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
DummyModule.hpp
Go to the documentation of this file.
1// *** this file is generated by oksdalgen, do not modify it ***
2
3#ifndef _DummyModule_0_dunedaq__appfwk__dal_0_appfwk_dal_H_
4#define _DummyModule_0_dunedaq__appfwk__dal_0_appfwk_dal_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 appfwk {
22 namespace dal {
23
29
31 friend class conffwk::DalObject;
32 friend class conffwk::DalFactory;
34
35 protected:
36
38 virtual ~DummyModule() noexcept;
39 virtual void init(bool init_children);
40
41 public:
42
45 static const std::string& s_class_name;
46
47
57 virtual void print(unsigned int offset, bool print_header, std::ostream& s) const;
58
59
69 virtual std::vector<const dunedaq::conffwk::DalObject *> get(const std::string& name, bool upcast_unregistered = true) const;
70
71
72 protected:
73
74 bool get(const std::string& name, std::vector<const dunedaq::conffwk::DalObject *>& vec, bool upcast_unregistered, bool first_call) const;
75
76
77 };
78
79 // out stream operator
80
81 inline std::ostream& operator<<(std::ostream& s, const DummyModule& obj)
82 {
83 return obj.print_object(s);
84 }
85
86 typedef std::vector<const DummyModule*>::const_iterator DummyModuleIterator;
87
88 }
89 }
90}
91
92#endif
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...
friend class conffwk::DalFactory
friend class conffwk::DalObject
static const std::string & s_class_name
virtual void init(bool init_children)
DummyModule(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
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< constDummyModule * >::const_iterator DummyModuleIterator
The DUNE-DAQ namespace.
Definition DataStore.hpp:57
msgpack::object obj