4#ifndef PHASEII_RAWDATACONTAINERMT_H
5#define PHASEII_RAWDATACONTAINERMT_H
19template <
class T_RawDataContainer>
27 IndexedRangesMT(
unsigned int n_ranges,
unsigned int container_list_size) :
BASE(n_ranges,container_list_size) {}
44template <
typename T_RawDataContainerCollection,
typename T_RawDataContainerPtr,
typename T_RangeType,
typename T_Coordinates>
47 T_Coordinates &&coordinates,
48 std::uint32_t data_word);
Helper class to keep track of a range of elements added to the end of a container.
DynamicContainerListHelper< PhaseII::PixelRawDataContainer > m_containerListHelper
IndexedRangesMT(unsigned int n_ranges, unsigned int container_list_size)
ContainerPtr getNewContainerPtr()
get an unused container to add new RDOs.
PhaseII::IndexedRanges< T_RawDataContainer, std::atomic< PhaseII::DataRange > > BASE
typename DynamicContainerListHelper< T_RawDataContainer >::ContainerPtr ContainerPtr
std::true_type thread_safe
Helper class to associate ranges of elements in multiple containers to a contiguous index.
ContainerList< PhaseII::PixelRawDataContainer > m_containers
void addDataForModule(T_RawDataContainerCollection &rdo_container_collection, ContainerRangeGuard< T_RawDataContainerPtr, T_RangeType > &range_guard, T_Coordinates &&coordinates, std::uint32_t data_word)
convenience method to add data to an RDO container, add a new RDO container, copy the data added for ...
Helper which provides a pointer to a container and the index of the container in the container list.
Helper class which allows to dynamically grow the container list.