struct
SlotAllocInfoThe SlotAllocInfo struct.
Public types
- enum AllocationType { NONE = 0, DL = 1, UL = 2, BOTH = 3 }
- Enum which indicates the allocations that are inside the allocation info.
Public functions
- auto ContainsDataAllocation() const -> bool
- Check if we have data allocations.
- auto ContainsDlCtrlAllocation() const -> bool
- auto ContainsUlCtrlAllocation() const -> bool
- void Merge(const SlotAllocInfo& other)
- Merge the input parameter to this SlotAllocInfo.
- auto operator<(const SlotAllocInfo& rhs) const -> bool
- operator < (less than)
Public variables
- uint32_t m_numSymAlloc
- Number of allocated symbols.
- SfnSf m_sfnSf
- SfnSf of this allocation.
- AllocationType m_type
- Allocations type.
- std::deque<VarTtiAllocInfo> m_varTtiAllocInfo
- queue of allocations
Enum documentation
enum ns3:: SlotAllocInfo:: AllocationType
Enum which indicates the allocations that are inside the allocation info.
Enumerators | |
---|---|
NONE |
No allocations. |
DL |
DL Allocations. |
UL |
UL Allocations. |
BOTH |
DL and UL allocations. |
Function documentation
bool ns3:: SlotAllocInfo:: ContainsDataAllocation() const
Check if we have data allocations.
Returns | true if m_varTtiAllocInfo contains data allocations |
---|
bool ns3:: SlotAllocInfo:: ContainsDlCtrlAllocation() const
Returns | true if m_varTtiAllocInfo contains a DL ctrl allocation |
---|
bool ns3:: SlotAllocInfo:: ContainsUlCtrlAllocation() const
Returns | true if m_varTtiAllocInfo contains a scheduled UL ctrl allocation (e.g., SRS) |
---|
void ns3:: SlotAllocInfo:: Merge(const SlotAllocInfo& other)
Merge the input parameter to this SlotAllocInfo.
Parameters | |
---|---|
other | SlotAllocInfo to merge in this allocation |
After the merge, order the allocation by symStart in DCI
bool ns3:: SlotAllocInfo:: operator<(const SlotAllocInfo& rhs) const
operator < (less than)
Parameters | |
---|---|
rhs | other SlotAllocInfo to compare |
Returns | true if this SlotAllocInfo is less than rhs |
The comparison is done on sfnSf