DUNE-DAQ
DUNE Trigger and Data Acquisition software
Toggle main menu visibility
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
30
explicit
BinarySearchQueueModel
(uint32_t
size
)
// NOLINT(build/unsigned)
31
:
IterableQueueModel
<T>(
size
)
32
{
33
}
34
35
typename
IterableQueueModel<T>::Iterator
lower_bound
(T& element,
bool
/*with_errors*/
=
false
);
36
};
37
38
}
// namespace datahandlinglibs
39
}
// namespace dunedaq
40
41
// Declarations
42
#include "
detail/BinarySearchQueueModel.hxx
"
43
44
#endif
// DATAHANDLINGLIBS_INCLUDE_DATAHANDLINGLIBS_MODELS_BINARYSEARCHQUEUEMODEL_HPP_
BinarySearchQueueModel.hxx
DataHandlingIssues.hpp
IterableQueueModel.hpp
ReadoutLogging.hpp
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:30
dunedaq::datahandlinglibs::BinarySearchQueueModel::BinarySearchQueueModel
BinarySearchQueueModel()
Definition
BinarySearchQueueModel.hpp:25
Logging.hpp
dunedaq::datahandlinglibs
Definition
DataHandlingConcept.hpp:16
dunedaq
The DUNE-DAQ namespace.
Definition
cib_utilities.cpp:5
dunedaq::datahandlinglibs::IterableQueueModel::Iterator
Definition
IterableQueueModel.hpp:214
dunedaq::datahandlinglibs::IterableQueueModel::IterableQueueModel
IterableQueueModel(const IterableQueueModel &)=delete
dunedaq::datahandlinglibs::IterableQueueModel::size
std::size_t size() const
Definition
IterableQueueModel.hpp:183
Generated on
for DUNE-DAQ by
1.18.0