DUNE-DAQ
DUNE Trigger and Data Acquisition software
Toggle main menu visibility
Loading...
Searching...
No Matches
dunedaq
build
appmodel
codegen
include
appmodel
CTBCountLLT.hpp
Go to the documentation of this file.
1
// *** this file is generated by oksdalgen, do not modify it ***
2
3
#ifndef _CTBCountLLT_0_dunedaq__appmodel_0_appmodel_H_
4
#define _CTBCountLLT_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/CTBLLT.hpp
"
19
20
namespace
dunedaq
{
21
namespace
appmodel
{
22
23
class
CTBCountLLT
:
public
dunedaq::appmodel::CTBLLT
{
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
CTBCountLLT
(
conffwk::DalRegistry
& db,
const
conffwk::ConfigObject
&
obj
)
noexcept
;
33
virtual
~CTBCountLLT
() 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_count
;
75
std
::
string
m_type
;
76
77
78
public:
79
80
// attribute names
81
82
inline static const
std
::
string
s_count
=
"count"
;
83
inline static const
std
::
string
s_type
=
"type"
;
84
85
static const
std
::
string
&
__get_count_str
() noexcept {
return
s_count
; }
86
static
const
std::string&
__get_type_str
() noexcept {
return
s_type
; }
87
88
94
95
const
std::string&
96
get_count
()
const
97
{
98
std::lock_guard scoped_lock(
m_mutex
);
99
check
();
100
check_init
();
101
return
m_count
;
102
}
103
109
110
void
111
set_count
(
const
std::string& value)
112
{
113
std::lock_guard scoped_lock(
m_mutex
);
114
check
();
115
clear
();
116
p_obj
.set_by_ref(
s_count
, value);
117
}
118
119
125
126
const
std::string&
127
get_type
()
const
128
{
129
std::lock_guard scoped_lock(
m_mutex
);
130
check
();
131
check_init
();
132
return
m_type
;
133
}
134
140
141
void
142
set_type
(
const
std::string& value)
143
{
144
std::lock_guard scoped_lock(
m_mutex
);
145
check
();
146
clear
();
147
p_obj
.set_by_ref(
s_type
, value);
148
}
149
150
151
};
152
153
// out stream operator
154
155
inline
std::ostream&
operator<<
(std::ostream& s,
const
CTBCountLLT
&
obj
)
156
{
157
return
obj
.print_object(s);
158
}
159
160
typedef
std::vector<const CTBCountLLT*>::const_iterator
CTBCountLLTIterator
;
161
162
}
163
}
164
165
#endif
DalObject.hpp
dunedaq::appmodel::CTBCountLLT
Definition
CTBCountLLT.hpp:23
dunedaq::appmodel::CTBCountLLT::get_count
const std::string & get_count() const
Get "count" attribute value.
Definition
CTBCountLLT.hpp:96
dunedaq::appmodel::CTBCountLLT::m_type
std::string m_type
Definition
CTBCountLLT.hpp:75
dunedaq::appmodel::CTBCountLLT::s_class_name
static const std::string & s_class_name
Definition
CTBCountLLT.hpp:40
dunedaq::appmodel::CTBCountLLT::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
CTBCountLLT.cpp:81
dunedaq::appmodel::CTBCountLLT::s_type
static const std::string s_type
Definition
CTBCountLLT.hpp:83
dunedaq::appmodel::CTBCountLLT::set_count
void set_count(const std::string &value)
Set "count" attribute value.
Definition
CTBCountLLT.hpp:111
dunedaq::appmodel::CTBCountLLT::CTBCountLLT
CTBCountLLT(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
Definition
CTBCountLLT.cpp:26
dunedaq::appmodel::CTBCountLLT::DalFactory
friend class conffwk::DalFactory
Definition
CTBCountLLT.hpp:27
dunedaq::appmodel::CTBCountLLT::~CTBCountLLT
virtual ~CTBCountLLT() noexcept
Definition
CTBCountLLT.cpp:77
dunedaq::appmodel::CTBCountLLT::get_type
const std::string & get_type() const
Get "type" attribute value.
Definition
CTBCountLLT.hpp:127
dunedaq::appmodel::CTBCountLLT::DalObject
friend class conffwk::DalObject
Definition
CTBCountLLT.hpp:26
dunedaq::appmodel::CTBCountLLT::__get_count_str
static const std::string & __get_count_str() noexcept
Definition
CTBCountLLT.hpp:85
dunedaq::appmodel::CTBCountLLT::__get_type_str
static const std::string & __get_type_str() noexcept
Definition
CTBCountLLT.hpp:86
dunedaq::appmodel::CTBCountLLT::print
virtual void print(unsigned int offset, bool print_header, std::ostream &s) const
Print details of the CTBCountLLT object.
Definition
CTBCountLLT.cpp:35
dunedaq::appmodel::CTBCountLLT::set_type
void set_type(const std::string &value)
Set "type" attribute value.
Definition
CTBCountLLT.hpp:142
dunedaq::appmodel::CTBCountLLT::m_count
std::string m_count
Definition
CTBCountLLT.hpp:74
dunedaq::appmodel::CTBCountLLT::s_count
static const std::string s_count
Definition
CTBCountLLT.hpp:82
dunedaq::appmodel::CTBCountLLT::init
virtual void init(bool init_children)
Definition
CTBCountLLT.cpp:62
dunedaq::appmodel::CTBLLT
Definition
CTBLLT.hpp:23
dunedaq::conffwk::DalObject
The base class for any generated DAL object.
Definition
DalObject.hpp:52
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
CTBLLT.hpp
conffwk.ConfigObject
Definition
ConfigObject.py:1
conffwk.Configuration
Definition
Configuration.py:1
conffwk
Definition
__init__.py:1
dunedaq::appmodel
Definition
CardControllerWrapper.hpp:21
dunedaq::appmodel::CTBCountLLTIterator
std::vector< constCTBCountLLT * >::const_iterator CTBCountLLTIterator
Definition
CTBCountLLT.hpp:160
dunedaq::appmodel::operator<<
std::ostream & operator<<(std::ostream &s, const AVXAbsRunSumProcessor &obj)
Definition
AVXAbsRunSumProcessor.hpp:80
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