DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
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
13
14#include "logging/Logging.hpp"
15
17
18namespace dunedaq {
19namespace datahandlinglibs {
20
21template<class T>
23{
24public:
29
30 explicit BinarySearchQueueModel(uint32_t size) // NOLINT(build/unsigned)
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
43
44#endif // DATAHANDLINGLIBS_INCLUDE_DATAHANDLINGLIBS_MODELS_BINARYSEARCHQUEUEMODEL_HPP_
IterableQueueModel< T >::Iterator lower_bound(T &element, bool=false)
The DUNE-DAQ namespace.
IterableQueueModel(const IterableQueueModel &)=delete