5#include "nr-mac-harq-vector.h"
17 for (
const auto& v : *
this)
19 if (v.second.m_active)
24 NS_ASSERT(count == m_usedSize);
31 if (m_usedSize >= m_maxSize)
36 NS_ABORT_IF(element.
m_active ==
false);
44 NS_ABORT_IF(at(*id).m_active ==
true);
47 NS_ABORT_IF(at(*id).m_active ==
false);
57 for (
const auto& p : item)
59 os <<
"Process ID " <<
static_cast<uint32_t
>(p.first) <<
": " << p.second << std::endl;
Data structure to save all the HARQ process of an UE.
bool Insert(uint8_t *id, const HarqProcess &element)
Insert a process.
uint8_t FirstAvailableId() const
Find the first (INACTIVE) ID.
bool Erase(uint8_t id)
Erase the selected process.
bool m_active
False indicate that the process is not active.