DUNE-DAQ
DUNE Trigger and Data Acquisition software
Toggle main menu visibility
Loading...
Searching...
No Matches
dunedaq
build
appmodel
codegen
src
CTBLLT.hpp
Go to the documentation of this file.
1
// *** this file is generated by oksdalgen, do not modify it ***
2
3
#ifndef _CTBLLT_0_dunedaq__appmodel_0_appmodel_H_
4
#define _CTBLLT_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
// include files for classes used in inheritance hierarchy
17
18
#include "
appmodel/CTBTrigger.hpp
"
19
20
namespace
dunedaq
{
21
namespace
appmodel
{
22
23
class
CTBLLT
:
public
dunedaq::appmodel::CTBTrigger {
24
25
friend
class
conffwk::Configuration
;
26
friend
class
conffwk::DalObject
;
27
friend
class
conffwk::DalFactory
;
28
friend
class
conffwk::DalRegistry
;
29
30
protected
:
31
32
CTBLLT
(
conffwk::DalRegistry
& db,
const
conffwk::ConfigObject
&
obj
)
noexcept
;
33
virtual
~CTBLLT
() noexcept;
34
virtual
void
init
(
bool
init_children);
35
36
public:
37
39
40
static const
std
::
string
&
s_class_name
;
41
42
51
52
virtual
void
print
(
unsigned
int
offset
,
bool
print_header,
std
::ostream& s) const;
53
54
63
64
virtual
std
::vector<const
dunedaq
::
conffwk
::
DalObject
*>
get
(const
std
::
string
& name,
bool
upcast_unregistered = true) const;
65
66
67
protected:
68
69
bool
get
(const
std
::
string
& name,
std
::vector<const
dunedaq
::
conffwk
::
DalObject
*>& vec,
bool
upcast_unregistered,
bool
first_call) const;
70
71
72
private:
73
74
std
::
string
m_mask
;
75
76
77
public:
78
79
// attribute names
80
81
inline static const
std
::
string
s_mask
=
"mask"
;
82
83
static const
std
::
string
&
__get_mask_str
() noexcept {
return
s_mask
; }
84
85
91
92
const
std::string&
93
get_mask
()
const
94
{
95
std::lock_guard scoped_lock(
m_mutex
);
96
check
();
97
check_init
();
98
return
m_mask
;
99
}
100
106
107
void
108
set_mask
(
const
std::string& value)
109
{
110
std::lock_guard scoped_lock(
m_mutex
);
111
check
();
112
clear
();
113
p_obj
.set_by_ref(
s_mask
, value);
114
}
115
116
117
};
118
119
// out stream operator
120
121
inline
std::ostream&
operator<<
(std::ostream& s,
const
CTBLLT&
obj
)
122
{
123
return
obj
.print_object(s);
124
}
125
126
typedef
std::vector<const CTBLLT*>::const_iterator
CTBLLTIterator
;
127
128
}
129
}
130
131
#endif
DalObject.hpp
dunedaq::appmodel::CTBLLT
Definition
CTBLLT.hpp:23
dunedaq::appmodel::CTBLLT::DalRegistry
friend class conffwk::DalRegistry
Definition
CTBLLT.hpp:28
dunedaq::appmodel::CTBLLT::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
CTBLLT.cpp:79
dunedaq::appmodel::CTBLLT::m_mask
std::string m_mask
Definition
CTBLLT.hpp:74
dunedaq::appmodel::CTBLLT::print
virtual void print(unsigned int offset, bool print_header, std::ostream &s) const
Print details of the CTBLLT object.
Definition
CTBLLT.cpp:35
dunedaq::appmodel::CTBLLT::__get_mask_str
static const std::string & __get_mask_str() noexcept
Definition
CTBLLT.hpp:83
dunedaq::appmodel::CTBLLT::DalFactory
friend class conffwk::DalFactory
Definition
CTBLLT.hpp:27
dunedaq::appmodel::CTBLLT::set_mask
void set_mask(const std::string &value)
Set "mask" attribute value.
Definition
CTBLLT.hpp:108
dunedaq::appmodel::CTBLLT::init
virtual void init(bool init_children)
Definition
CTBLLT.cpp:61
dunedaq::appmodel::CTBLLT::DalObject
friend class conffwk::DalObject
Definition
CTBLLT.hpp:26
dunedaq::appmodel::CTBLLT::get_mask
const std::string & get_mask() const
Get "mask" attribute value.
Definition
CTBLLT.hpp:93
dunedaq::appmodel::CTBLLT::~CTBLLT
virtual ~CTBLLT() noexcept
dunedaq::appmodel::CTBLLT::Configuration
friend class conffwk::Configuration
Definition
CTBLLT.hpp:25
dunedaq::appmodel::CTBLLT::s_class_name
static const std::string & s_class_name
Definition
CTBLLT.hpp:40
dunedaq::appmodel::CTBLLT::CTBLLT
CTBLLT(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
dunedaq::appmodel::CTBLLT::s_mask
static const std::string s_mask
Definition
CTBLLT.hpp:81
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
CTBTrigger.hpp
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::CTBLLTIterator
std::vector< constCTBLLT * >::const_iterator CTBLLTIterator
Definition
CTBLLT.hpp:126
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