#include <ListStorage.hpp>
Definition at line 22 of file ListStorage.hpp.
◆ ListStorage()
dunedaq::listrev::ListStorage::ListStorage |
( |
| ) |
|
|
inline |
◆ add_list()
void dunedaq::listrev::ListStorage::add_list |
( |
IntList | list, |
|
|
bool | ignoreDuplicates = false ) |
Definition at line 31 of file ListStorage.cpp.
32{
34 if (
m_lists.count(list.list_id) && !ignoreDuplicates) {
35 throw ListExists(
ERS_HERE, list.list_id);
36 }
38
41 }
42}
std::map< int, IntList > m_lists
◆ capacity()
size_t dunedaq::listrev::ListStorage::capacity |
( |
| ) |
const |
|
inline |
◆ flush()
void dunedaq::listrev::ListStorage::flush |
( |
| ) |
|
◆ get_list()
◆ has_list()
bool dunedaq::listrev::ListStorage::has_list |
( |
const int & | id | ) |
const |
◆ set_capacity()
void dunedaq::listrev::ListStorage::set_capacity |
( |
const size_t & | capacity | ) |
|
|
inline |
◆ size()
size_t dunedaq::listrev::ListStorage::size |
( |
| ) |
const |
◆ m_capacity
size_t dunedaq::listrev::ListStorage::m_capacity { 1000 } |
|
private |
◆ m_lists
std::map<int, IntList> dunedaq::listrev::ListStorage::m_lists |
|
private |
◆ m_lists_mutex
std::mutex dunedaq::listrev::ListStorage::m_lists_mutex |
|
mutableprivate |
The documentation for this class was generated from the following files: