DUNE-DAQ
DUNE Trigger and Data Acquisition software
Toggle main menu visibility
Loading...
Searching...
No Matches
dunedaq
build
appmodel
codegen
src
FragmentAggregatorConf.hpp
Go to the documentation of this file.
1
// *** this file is generated by oksdalgen, do not modify it ***
2
3
#ifndef _FragmentAggregatorConf_0_dunedaq__appmodel_0_appmodel_H_
4
#define _FragmentAggregatorConf_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
13
#include "
conffwk/Configuration.hpp
"
14
#include "
conffwk/DalObject.hpp
"
15
16
17
namespace
dunedaq
{
18
namespace
appmodel
{
19
20
class
FragmentAggregatorConf
:
public
virtual
dunedaq::conffwk::DalObject {
21
22
friend
class
conffwk::Configuration
;
23
friend
class
conffwk::DalObject
;
24
friend
class
conffwk::DalFactory
;
25
friend
class
conffwk::DalRegistry
;
26
27
protected
:
28
29
FragmentAggregatorConf
(
conffwk::DalRegistry
& db,
const
conffwk::ConfigObject
&
obj
)
noexcept
;
30
virtual
~FragmentAggregatorConf
() noexcept;
31
virtual
void
init
(
bool
init_children);
32
33
public:
34
36
37
static const
std
::
string
&
s_class_name
;
38
39
48
49
virtual
void
print
(
unsigned
int
offset
,
bool
print_header,
std
::ostream& s) const;
50
51
60
61
virtual
std
::vector<const
dunedaq
::
conffwk
::
DalObject
*>
get
(const
std
::
string
& name,
bool
upcast_unregistered = true) const;
62
63
64
protected:
65
66
bool
get
(const
std
::
string
& name,
std
::vector<const
dunedaq
::
conffwk
::
DalObject
*>& vec,
bool
upcast_unregistered,
bool
first_call) const;
67
68
69
private:
70
71
uint32_t
m_fragment_send_timeout_ms
;
72
73
74
public:
75
76
// attribute names
77
78
inline static const
std
::
string
s_fragment_send_timeout_ms
=
"fragment_send_timeout_ms"
;
79
80
static const
std
::
string
&
__get_fragment_send_timeout_ms_str
() noexcept {
return
s_fragment_send_timeout_ms
; }
81
82
88
89
uint32_t
90
get_fragment_send_timeout_ms
()
const
91
{
92
std::lock_guard scoped_lock(
m_mutex
);
93
check
();
94
check_init
();
95
return
m_fragment_send_timeout_ms
;
96
}
97
103
104
void
105
set_fragment_send_timeout_ms
(uint32_t value)
106
{
107
std::lock_guard scoped_lock(
m_mutex
);
108
check
();
109
clear
();
110
p_obj
.set_by_val(
s_fragment_send_timeout_ms
, value);
111
}
112
113
114
};
115
116
// out stream operator
117
118
inline
std::ostream&
operator<<
(std::ostream& s,
const
FragmentAggregatorConf&
obj
)
119
{
120
return
obj
.print_object(s);
121
}
122
123
typedef
std::vector<const FragmentAggregatorConf*>::const_iterator
FragmentAggregatorConfIterator
;
124
125
}
126
}
127
128
#endif
DalObject.hpp
dunedaq::appmodel::FragmentAggregatorConf
Definition
FragmentAggregatorConf.hpp:20
dunedaq::appmodel::FragmentAggregatorConf::print
virtual void print(unsigned int offset, bool print_header, std::ostream &s) const
Print details of the FragmentAggregatorConf object.
Definition
FragmentAggregatorConf.cpp:33
dunedaq::appmodel::FragmentAggregatorConf::DalRegistry
friend class conffwk::DalRegistry
Definition
FragmentAggregatorConf.hpp:25
dunedaq::appmodel::FragmentAggregatorConf::init
virtual void init(bool init_children)
Definition
FragmentAggregatorConf.cpp:54
dunedaq::appmodel::FragmentAggregatorConf::DalFactory
friend class conffwk::DalFactory
Definition
FragmentAggregatorConf.hpp:24
dunedaq::appmodel::FragmentAggregatorConf::m_fragment_send_timeout_ms
uint32_t m_fragment_send_timeout_ms
Definition
FragmentAggregatorConf.hpp:71
dunedaq::appmodel::FragmentAggregatorConf::s_class_name
static const std::string & s_class_name
Definition
FragmentAggregatorConf.hpp:37
dunedaq::appmodel::FragmentAggregatorConf::set_fragment_send_timeout_ms
void set_fragment_send_timeout_ms(uint32_t value)
Set "fragment_send_timeout_ms" attribute value.
Definition
FragmentAggregatorConf.hpp:105
dunedaq::appmodel::FragmentAggregatorConf::FragmentAggregatorConf
FragmentAggregatorConf(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
dunedaq::appmodel::FragmentAggregatorConf::DalObject
friend class conffwk::DalObject
Definition
FragmentAggregatorConf.hpp:23
dunedaq::appmodel::FragmentAggregatorConf::get_fragment_send_timeout_ms
uint32_t get_fragment_send_timeout_ms() const
Get "fragment_send_timeout_ms" attribute value.
Definition
FragmentAggregatorConf.hpp:90
dunedaq::appmodel::FragmentAggregatorConf::get
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...
Definition
FragmentAggregatorConf.cpp:72
dunedaq::appmodel::FragmentAggregatorConf::~FragmentAggregatorConf
virtual ~FragmentAggregatorConf() noexcept
dunedaq::appmodel::FragmentAggregatorConf::__get_fragment_send_timeout_ms_str
static const std::string & __get_fragment_send_timeout_ms_str() noexcept
Definition
FragmentAggregatorConf.hpp:80
dunedaq::appmodel::FragmentAggregatorConf::Configuration
friend class conffwk::Configuration
Definition
FragmentAggregatorConf.hpp:22
dunedaq::appmodel::FragmentAggregatorConf::s_fragment_send_timeout_ms
static const std::string s_fragment_send_timeout_ms
Definition
FragmentAggregatorConf.hpp:78
dunedaq::conffwk::DalObject::clear
void clear() noexcept
Definition
DalObject.hpp:83
dunedaq::conffwk::DalObject::m_mutex
std::mutex m_mutex
Used to protect changes of DAL object.
Definition
DalObject.hpp:115
dunedaq::conffwk::DalObject::check
void check() const
Definition
DalObject.hpp:94
dunedaq::conffwk::DalObject::p_obj
ConfigObject p_obj
Config object used by given template object.
Definition
DalObject.hpp:124
dunedaq::conffwk::DalObject::check_init
void check_init() const
Check and initialize object if necessary.
Definition
DalObject.hpp:412
dunedaq::conffwk::DalRegistry
DalRegistry: A registry of DalObjects It provides a single interface to create, cache and manage DalO...
Definition
DalRegistry.hpp:19
Configuration.hpp
conffwk entry point
offset
double offset
Definition
conversions-impl.hh:28
conffwk.ConfigObject
Definition
ConfigObject.py:1
conffwk
Definition
__init__.py:1
dunedaq::appmodel
Definition
CardControllerWrapper.hpp:21
dunedaq::appmodel::operator<<
std::ostream & operator<<(std::ostream &s, const AVXAbsRunSumProcessor &obj)
Definition
AVXAbsRunSumProcessor.hpp:80
dunedaq::appmodel::FragmentAggregatorConfIterator
std::vector< constFragmentAggregatorConf * >::const_iterator FragmentAggregatorConfIterator
Definition
FragmentAggregatorConf.hpp:123
dunedaq
Including Qt Headers.
Definition
module.cpp:16
dunedaq::obj
msgpack::object obj
Definition
Serialization.hpp:257
std
Definition
SchemaUtils.hpp:118
Generated on
for DUNE-DAQ by
1.17.0