DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
dunedaq
sourcecode
datahandlinglibs
include
datahandlinglibs
models
BinarySearchQueueModel.hpp
Go to the documentation of this file.
1
8
#ifndef DATAHANDLINGLIBS_INCLUDE_DATAHANDLINGLIBS_MODELS_BINARYSEARCHQUEUEMODEL_HPP_
9
#define DATAHANDLINGLIBS_INCLUDE_DATAHANDLINGLIBS_MODELS_BINARYSEARCHQUEUEMODEL_HPP_
10
11
#include "
datahandlinglibs/DataHandlingIssues.hpp
"
12
#include "
datahandlinglibs/ReadoutLogging.hpp
"
13
14
#include "
logging/Logging.hpp
"
15
16
#include "
IterableQueueModel.hpp
"
17
18
namespace
dunedaq
{
19
namespace
datahandlinglibs {
20
21
template
<
class
T>
22
class
BinarySearchQueueModel
:
public
IterableQueueModel
<T>
23
{
24
public
:
25
BinarySearchQueueModel
()
26
:
IterableQueueModel
<T>()
27
{}
28
29
explicit
BinarySearchQueueModel
(uint32_t
size
)
// NOLINT(build/unsigned)
30
:
IterableQueueModel
<T>(
size
)
31
{}
32
33
typename
IterableQueueModel<T>::Iterator
lower_bound
(T& element,
bool
/*with_errors*/
=
false
);
34
35
};
36
37
}
// namespace datahandlinglibs
38
}
// namespace dunedaq
39
40
// Declarations
41
#include "
detail/BinarySearchQueueModel.hxx
"
42
43
#endif
// DATAHANDLINGLIBS_INCLUDE_DATAHANDLINGLIBS_MODELS_BINARYSEARCHQUEUEMODEL_HPP_
BinarySearchQueueModel.hxx
DataHandlingIssues.hpp
IterableQueueModel.hpp
ReadoutLogging.hpp
dunedaq::datahandlinglibs::BinarySearchQueueModel
Definition
BinarySearchQueueModel.hpp:23
dunedaq::datahandlinglibs::BinarySearchQueueModel::lower_bound
IterableQueueModel< T >::Iterator lower_bound(T &element, bool=false)
Definition
BinarySearchQueueModel.hxx:8
dunedaq::datahandlinglibs::BinarySearchQueueModel::BinarySearchQueueModel
BinarySearchQueueModel(uint32_t size)
Definition
BinarySearchQueueModel.hpp:29
dunedaq::datahandlinglibs::BinarySearchQueueModel::BinarySearchQueueModel
BinarySearchQueueModel()
Definition
BinarySearchQueueModel.hpp:25
Logging.hpp
dunedaq
Including Qt Headers.
Definition
TimingController.hxx:1
dunedaq::datahandlinglibs::IterableQueueModel::Iterator
Definition
IterableQueueModel.hpp:244
dunedaq::datahandlinglibs::IterableQueueModel
Definition
IterableQueueModel.hpp:72
dunedaq::datahandlinglibs::IterableQueueModel::size
std::size_t size() const
Definition
IterableQueueModel.hpp:213
Generated on Sat Jun 28 2025 for DUNE-DAQ by
1.12.0